How do I make Vanilla Mobs Drop Custom Items

Started by OffsetPaladin89 on

Topic category: Help with modding (Java Edition)

Last seen on 17:17, 23. Nov 2019
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?

Last seen on 14:43, 2. Aug 2022
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)

}

Last seen on 16:18, 30. Nov 2020
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?