Giving a player a spawning egg after hitting him with a specific object.

Started by makxspa on

Topic category: Help with modding (Java Edition)

Last seen on 14:06, 15. Aug 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Giving a player a spawning egg after hitting him with a specific object.

I make mod on Java Edition and i have question. Is it possible to do so that after hitting a mob, for example: minecraft: chicken got his spawning egg? I did a trigger for an item that despawnje it after hitting a chicken but won't help you?