Started by
Clarmon25
on
Topic category: Help with Minecraft modding (Java Edition)
Let me clarify what I mean: I added potato and carrot seeds. The problem is that I didn't change the item itself, and you can still create a sprout using these same items. Is there a way to fix this?
Check when a block is right clicked, then check for item in main hand is a carrot or potato, return action result type of FAIL: this stops the hand swing, then you cancel event if possible, check bottom right in the procedure. Potentially the crop will place anyway, if so you replace block at x y+1 z with air.
Thanks, Fr6_17!