ZengineeringTeam / ResearchTable

https://www.curseforge.com/minecraft/mc-mods/research-table
Other
11 stars 8 forks source link

[Suggestion] unlocalized name support for descriptions and titles. #38

Closed Trinsdar closed 4 years ago

Trinsdar commented 4 years ago

It would basically be 2 new methods like this:


@ZenMethod
    public ResearchBuilder setUnlocalizedTitle(@Nonnull String unlocTitle)
    {
        this.title = I18n.format(unlocTitle);
        return this;
    }

    @ZenMethod
    public ResearchBuilder setUnlocalizedDescription(@Nonnull String unlocDescription)
    {
        this.description = I18n.format(unlocDescription);
        return this;
    }
Snownee commented 4 years ago

iirc it has localization support, just use translation key