[1.7.10] Some hardcodded localization
KorDum opened this issue ยท 6 comments
Yes, you use this method:
forestry.api.genetics.IClimateHelper#toDisplay(forestry.api.core.EnumTemperature)
Hmm. Can I get localized strings from Forestry?
ex. forestry.api.core.EnumTemperature.HELLISH.getName()
returns non-localized string.
How can I get IAllele object (or Allele GUID) from EnumAllele.* enums?
ex.
EnumAllele.Fertility fertility = EnumAllele.Fertility.NORMAL;
// I think it's not right
String guid = "forestry.fertility" + WordUtils.capitalize(fertility.toString().toLowerCase());
IAllele allele = alleleRegistry.getAllele(guid);
forestry.api.genetics.IClimateHelper#toDisplay(forestry.api.core.EnumTemperature)
And for EnumTolerance?