How to change the property of an item?

Started by Clarmon25 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change the property of an item?

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?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check when a block is right…
Tue, 05/12/2026 - 14:03

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.

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, Fr6_17!
Thu, 05/14/2026 - 13:05

Thanks, Fr6_17!