Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

nonoalfr

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About nonoalfr

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!
  1. Sorry, but i don't know how to use LivingsDropsEvent i do, package mod.nonoalfr.main; import net.minecraft.entity.passive.EntityPig; import net.minecraft.item.Item; import net.minecraftforge.event.entity.living.LivingDeathEvent; import net.minecraftforge.event.entity.living.LivingDropsEvent; public class EventDropitembacon { public void playerKilledSheep(LivingDeathEvent event) { if(event.entityLiving instanceof EntityPig) { event.entityLiving.dropItem(MainMod.itemBacon, 1); } } } but this didn't work can you help me, please? Thanks
  2. Hello can you help me to do pig drops my custom item ? Thanks.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.