How Do I make Specific Existing Mobs Drop Modded Items

Started by Hollowplayz on

Topic category: Help with modding (Java Edition)

Last seen on 01:34, 13. Apr 2024
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?

Last seen on 19:36, 13. Nov 2022
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.

Last seen on 04:19, 17. Apr 2024
Joined May 2018
Points:

User statistics:

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