Consumable item with durability.

Started by Crimuretta on

Topic category: Help with modding (Java Edition)

Last seen on 09:01, 30. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Consumable item with durability.

Made a custom healing injector that supposed to have bow animation and lose durability each time it's used. (1.16.5)
When it's a no-food option, there's nothing happening when RMB is pressed at all — no animation, no effect and no consumption.
If it's food option turned on, it just get's consumed without taking durability and disappears like eh.

So how do i make it intended way if it's possible at all?