Started by
ivanwafles67
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to run a procedure that gives you a bonus when you break a fully grown wheat crop. There is no way to use all blocks for this (correct me if I'm wrong) so I used some code. However, the code does not work, and the error message states that getValue() is not a method from net.minecraft.blocks.BlockState. I tried this code in Eclipse and the error doesn't occur and it works fine there. How can I make this work in MCreator?
Code
Blocks
Error Message
Eclipse (it works here without an error)
getValue does not exist in blockstate to my knowledge