CraftTweaker

CraftTweaker

151M Downloads

blockHardness fieldException

WesTroy opened this issue ยท 1 comments

commented

Issue Description:

Just playing with hardness settings - setting it works fine, no errors, and in-game the hardness is changed. Retrieval of hardness errors out (please see links below). This did seem to occur way back in 2016, where a fix was made, but no later issues noted.

What happens:

Simple print() test of *.hardness returns UnableToFindFieldException on blockHardness.

What you expected to happen:

Block should be successfully queried and hardness # returned (unless my expectation is erroneous).

Script used:

https://pastebin.com/exV5dhtr

Minetweaker.log file:

https://pastebin.com/VxJvPK8F


Affected Versions:

  • Minecraft: 1.12.2
  • Forge: 14.23.1.2555
  • Crafttweaker: 1.12-4.1.0

Your most recent log file where the issue was present:

https://pastebin.com/wQsV8njS