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

Started by makxspa on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Jan 2021
Points:
620

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

Yes, check if source entity…
Tue, 01/19/2021 - 08:07

Yes, check if source entity has specific item in hand and if so, spawn an egg