Give item to player when entity is right clicked

Started by Coolkc456 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Give item to player when entity is right clicked

I'm trying to make a procedure that gives an item to a player when they right click a pig with a bottle but right now it doesn't do anything when I right click a pig. This is what I currently have:

I've also tried changing "source entity" to event/target entity. Can anyone help? Thanks in advance.

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you need to replace the …
Mon, 07/10/2023 - 20:06

you need to replace the "source entity" with "Event/target entity

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bruh they already said they…
Thu, 05/30/2024 - 23:26

bruh they already said they did that