how to make water bottles stackable without creating another item?

Started by Rodokxis271 on

Topic category: Help with modding (Java Edition)

Last seen on 22:11, 22. Mar 2023
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?

Last seen on 00:55, 28. Mar 2024
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.