Addons need their own translations for trait types
KreloX opened this issue ยท 4 comments
in WeaponTrait.initTooltipTypes the trait type component should always use Spartan Weaponry's modid, not the addon's one.
Currently, all addons wishing to add a new trait using the api need to either have their own translations for "melee", "throwing", etc. or use a workaround.
Also, in ModelGenerator.createMeleeWeaponModels the coating textures should always use the spartanweaponry id too.
texture("coating", coatingTexture.getPath())
should be texture("coating", coatingTexture)
Noted and fixed! I just need to review what else needs to be fixed and if the API changes break anything before I push the next 1.20.1 update.