replace item with different item when hitting a mob

Started by matjkk on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
replace item with different item when hitting a mob

im trying to make a procedure with a bottle item, and i want to make the bottle break (so it becomes a different item named broken bottle) when i hit a mob using it. i tried to put my procedure on "when entity is hit with item" but nothing happens :/

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
remember sourceentity is the…
Tue, 11/04/2025 - 14:31

remember sourceentity is the entity doing the hitting

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
tysm
Tue, 11/04/2025 - 15:41

tysm