diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
| commit | dc3df3edd5843bde0c1335d6a8e460b2c832aa48 (patch) | |
| tree | af13bfeee567f2351e35e1ef176d168fe37c8aac /ihl/utils/EntityDropEventHandler.java | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'ihl/utils/EntityDropEventHandler.java')
| -rw-r--r-- | ihl/utils/EntityDropEventHandler.java | 16 |
1 files changed, 0 insertions, 16 deletions
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);
- }
- }
-}
|
