How do I make Vanilla Mobs Drop Custom Items

Started by OffsetPaladin89 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make Vanilla Mobs Drop Custom Items

What I want to do is make it possible for pigs to drop pig chunks. Pig chunks are custom items that I want to have a set drop chance and amount from pigs. Is there a way for me to implement this?

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure select the…
Wed, 06/05/2019 - 15:54

Make a procedure select the event "on entity dies"

add a check if entity is a subtype of pig{

spawn gem(pig chunk)

}

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make it so a…
Tue, 10/13/2020 - 16:30

How would I make it so a vanilla block drops a modded item?