stanhebben / MineTweaker3

Tweak your minecraft experience
65 stars 32 forks source link

Block hardness is not working again (1.7.10) #467

Open Preta-Crowz opened 5 years ago

Preta-Crowz commented 5 years ago

Same error as closed issue on 2016(#239) forge version is 10.13.4.1614 <Thaumcraft:blockMagicalLog:0>.hardness = 50;

and log says

ERROR: Error executing log_hardness.zs: cpw.mods.fml.relauncher.ReflectionHelper$UnableToFindFieldException: java.lang.NoSuchFieldException: blockHardness
cpw.mods.fml.relauncher.ReflectionHelper$UnableToAccessFieldException: cpw.mods.fml.relauncher.ReflectionHelper$UnableToFindFieldException: java.lang.NoSuchFieldException: blockHardness
    at cpw.mods.fml.relauncher.ReflectionHelper.getPrivateValue(ReflectionHelper.java:121)
    at minetweaker.mc1710.actions.SetBlockHardnessAction.<init>(SetBlockHardnessAction.java:28)
    at minetweaker.mc1710.item.MCItemStack.setBlockHardness(MCItemStack.java:130)
    at Log_hardness.__script__(log_hardness.zs:1)
    at __ZenMain__.run(log_hardness.zs)
    at minetweaker.runtime.MTTweaker.load(MTTweaker.java:163)
    at minetweaker.MineTweakerImplementationAPI.reload(MineTweakerImplementationAPI.java:656)
    at minetweaker.MineTweakerImplementationAPI$1.execute(MineTweakerImplementationAPI.java:83)
    at minetweaker.MineTweakerImplementationAPI$19.execute(MineTweakerImplementationAPI.java:642)
    at minetweaker.mc1710.server.MCServer$MCCommand.func_71515_b(MCServer.java:124)
    at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:94)
    at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:739)
    at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:718)
    at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:37)
    at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9)
    at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
    at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
    at fastcraft.u.a(F:289)
    at fastcraft.H.aq(F:36)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: cpw.mods.fml.relauncher.ReflectionHelper$UnableToFindFieldException: java.lang.NoSuchFieldException: blockHardness
    at cpw.mods.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:94)
    at cpw.mods.fml.relauncher.ReflectionHelper.getPrivateValue(ReflectionHelper.java:117)
    ... 23 more
Caused by: java.lang.NoSuchFieldException: blockHardness
    at java.lang.Class.getDeclaredField(Class.java:2070)
    at cpw.mods.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:85)
    ... 24 more