How Do I make Specific Existing Mobs Drop Modded Items

Started by Hollowplayz on Sun, 01/24/2021 - 16:11

Topic category: Help with modding (Java Edition)

Last seen on 20:30, 27. Feb 2021
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How Do I make Specific Existing Mobs Drop Modded Items
Sun, 01/24/2021 - 16:11

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?

Last seen on 00:20, 2. Mar 2021
Joined Nov 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 16:02, 2. Mar 2021
Joined May 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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].