Topic category: Help with Minecraft modding (Java Edition)
Good Day.
I am hopiing to get some help.
So i am trying to use the MCreator Platform to simplify most of the coding i need to be done for modding minecraft, and it seems powerful enough to do it, But When i try to modify the code, or more specifically try to add a MoveToBlockGoal command in the goal section, The mod fails to compile.
Now i don't know if this is an error from the Tools side, or if the goal command is just obsolete, but i was hoping to get some help otherwise if help can be spared, Here is my code:
import net.minecraft.world.entity.ai.goal.MoveToBlockGoal;
this.goalSelector.addGoal(4, new MoveToBlockGoal(TestainestModBlocks.NEST_BLOCK.get(),(double) 1,(int) 10,(int) 3));
Both those are present in my code, but refuse to fire.