Started by
milkycashews
on
Topic category: Help with Minecraft modding (Java Edition)
i'm creating an enchantment for boots that prevents the user from trampling farmland (doesn't turn into dirt and leaves crops as they are) but it won't work. I've tried everything. Please help because i feel like i made a stupid mistake and just can't see it. I've attached an image of my code.
Instead of replacing the block couldn't you cancel the event
How can i do that? I'm trying to make the enchantment in such a way that farmland can't be trampled when you jump or land on it.
In the advanced section for procedures theres a block called Cancel event that triggered global trigger
oh i found it thank you so much!