Closed Krutoy242 closed 7 months ago
The implementation within the IAction
ofchangeMaterialItem
method only checks for the existence of a key
related to the material in the HashMap
.
If no duplicates are found, it logs a success message
.
But it doesn't verify the legitimacy of the material itself. So, I think you need to manually ensure that the string you input is a valid material.
I checked - Shard of this material have xu_magical_wood
in its NBT tag. Also, xu_magical_wood
key is used in my other tweak mods like TweakerConstruct.
Also, i tried this tweak with another material fusewood
and its not working too.
There is debug.log file and its have this line:
[Client thread/INFO] [toolprogression]: TiC Material registered: xu_magical_wood
hmmm, it works in my tests, I believe it could be an issue related to compatibility with other expansion mods for TC.
It's quite challenging to debug. Using the latest built mod, after the game has started, you can search for the ASMDebug.class
file in the .minecraft
directory and then upload it. Additionally, I would need thelatest.log
file to help me understand what's happening.
Thank you! I will try this later.
All of these are expected result, sorry I couldn't offer any more help.
I will try to find other mod that incompatible then.
Fixed, #1397ec6
I used
mods.randomtweaker.tconstruct.IBook.changeMaterialItem('xu_magical_wood', <extrautils2:decorativesolidwood:1>);
to change item representation in book. This what i see in logs:This what i see in book. Its didn't changed =(