how to make water bottles stackable without creating another item?

Started by Rodokxis271 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make water bottles stackable without creating another item?

Help please ,how to make water bottles stackable without creating another item?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, modifying existing…
Sun, 03/12/2023 - 00:47

Sorry, modifying existing vanilla items and whatnot is really difficult. I can't think of a good way to do this without creating another item- though it's not nessisarily the worst option. If you just make a procedure that triggers on entity spawn, checks if the entity is an item entity, and then checks if the item entity is a waterbottle and replaces it with a modded water bottle, you'd be set. Might cause conflicts with brewing though.