Impossible to retrieve hardness of a block
Guinaro opened this issue ยท 0 comments
Issue Description:
Impossible to retrieve hardness of a block.
What happens:
Crafttweaker errors out with
Error executing {[0:crafttweaker]: Contenttweaking.zs}: tried to access field net.minecraft.block.Block.field_149782_v from class crafttweaker.mc1120.item.MCItemStack
java.lang.IllegalAccessError: tried to access field net.minecraft.block.Block.field_149782_v from class crafttweaker.mc1120.item.MCItemStack
What you expected to happen:
Printing 1.0 to the log
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
val grass = minecraft:grass;
//prints 1.0
print(grass.hardness);
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.2
- Forge: 14.23.1.2603 (Also tried with 14.23.1.2594 and 14.23.2.2612)
- Crafttweaker: 1.12-4.1.2
Only loaded mod is crafttweaker itself!