How Do I make Specific Existing Mobs Drop Modded Items

Started by Hollowplayz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do I make Specific Existing Mobs Drop Modded Items

Im trying to make certain mobs that already exist in Minecraft drop special items in my mod. Im having trouble figuring this out. Can I get some help?

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could do this with a…
Tue, 01/26/2021 - 01:07

You could do this with a loot table. You may have to look up the loot table name for the mob you are affecting, but as long as you get the name right it will change the vanilla loot table.

Create a new procedure. Set…
Thu, 01/28/2021 - 19:21
  1. Create a new procedure.
  2. Set the global trigger to "When entity dies".
  3. If [event/target entity] is (sub)type: (desired vanilla entity)
    • Spawn gem at [x, y, z].