Topic category: Help with 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.