From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- ihl/utils/EntityDropEventHandler.java | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 ihl/utils/EntityDropEventHandler.java (limited to 'ihl/utils/EntityDropEventHandler.java') diff --git a/ihl/utils/EntityDropEventHandler.java b/ihl/utils/EntityDropEventHandler.java deleted file mode 100644 index c8edf47..0000000 --- a/ihl/utils/EntityDropEventHandler.java +++ /dev/null @@ -1,16 +0,0 @@ -package ihl.utils; - -import cpw.mods.fml.common.eventhandler.SubscribeEvent; -import net.minecraft.entity.passive.EntitySheep; - -public class EntityDropEventHandler -{ - @SubscribeEvent - public void onEntityDropEvent(net.minecraftforge.event.entity.living.LivingDropsEvent event) - { - if(event.entityLiving instanceof EntitySheep && !event.entityLiving.isChild()) - { - event.entityLiving.entityDropItem(IHLUtils.getThisModItemStackWithSize("muttonLard", event.entityLiving.worldObj.rand.nextInt(1)+1), 1f); - } - } -} -- cgit v1.2.3