ModTweaker

ModTweaker

88M Downloads

Command to update localizationName for materials in Tinkers' Construct.

Psithief opened this issue · 5 comments

commented

Tinkers' Construct provides its own N.E.I. GUI for materials, but it only uses the material's localised name, it never falls back to the display name.

As the developers of TC have said that they won't be fixing anything except major bugs for 1.7.10, will you allow tool localisation names to be changed, not just the display names?

https://github.com/jaredlll08/ModTweaker2/blob/master/src/main/java/modtweaker2/mods/tconstruct/handlers/ToolStats.java

commented

If you don't mind I'll leave instructions for the next person that has this issue


I added the following to a file assests/tinker/en_US.lang file in a resource pack:

material.unstableingot=Unstable Ingot
material.bedrockium=Bedrockium
material.magicwood=Magical Wood
material.pinkslime=Pink Slime
material.certusquartz=Certus Quartz
material.netherquartz=Nether Quartz
material.plastic=Plastic
material.lead=Lead
material.nickel=Nickel
material.invar=Invar
commented

Why should you want to change the localisation key of a material? For me the NEI Page works as it should.

commented

Some mods are adding their own materials to tinkers' construct, but they're not adding localised names, e.g. Extra Utilities with material.bedrockium, material.magicwood, material.unstableIngot, of anything from ExtraTiC

From Extra Utilities' code:

ToolMaterial mat = new ToolMaterial("unstableIngot", "material.extrautils.unstableIngot", 4, 100, 700, 2, 0.6F, 4, 0.0F, EnumChatFormatting.WHITE.toString(), 16777215);

but apparently material.extrautils.unstableIngot doesn't point anywhere.

A screenshot may help:
2016-01-26_22 06 10 - copy

commented

Well now we have a problem, first of all, if it is an issue with other
mods as well, then we can't fix it, also we are also kinda on the only
major bug fixes for 1.7
On 26 Jan 2016 4:08 pm, "Psithief" [email protected] wrote:

Some mods are adding their own materials to tinkers' construct, but
they're not adding localised names, e.g. Extra Utilities with
material.bedrockium, material.magicwood, material.unstableIngot, of
anything from ExtraTiC

e.g. from EU code:

ToolMaterial mat = new ToolMaterial("unstableIngot", "material.extrautils.unstableIngot", 4, 100, 700, 2, 0.6F, 4, 0.0F, EnumChatFormatting.WHITE.toString(), 16777215);

A screenshot may help:
[image: 2016-01-26_22 06 10 - copy]
https://cloud.githubusercontent.com/assets/1124846/12582602/25579b2c-c479-11e5-997a-fa2844cb472e.png


Reply to this email directly or view it on GitHub
#300 (comment)
.

commented

So I've just realised that this is something that can be fixed in a resource pack, I think. Thanks anyway!