Updated to the latest Forge

This commit is contained in:
Adubbz 2016-04-05 17:02:39 +10:00
parent 3b27a8be73
commit 285a747073
3 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
minecraft_version=1.9
forge_version=12.16.0.1831-1.9
forge_version=12.16.0.1842-1.9
mod_version=4.0.0
mappings_version=snapshot_nodoc_20160324

View File

@ -26,7 +26,6 @@ import biomesoplenty.common.enums.BOPTrees;
import biomesoplenty.common.item.ItemJarFilled;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Blocks;
@ -40,7 +39,6 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.event.entity.living.LivingEntityUseItemEvent;
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import net.minecraftforge.event.entity.player.PlayerInteractEvent.Action;
import net.minecraftforge.event.world.BlockEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.PlayerEvent;

View File

@ -15,14 +15,14 @@ import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.item.EnumDyeColor;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.event.entity.player.EntityInteractEvent;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import net.minecraftforge.fml.common.eventhandler.Event.Result;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
public class DyeEventHandler
{
@SubscribeEvent
public void entityInteract(EntityInteractEvent event)
public void entityInteract(PlayerInteractEvent.EntityInteract event)
{
ItemStack stack = event.getEntityPlayer().getHeldItem(event.getHand());
if (stack == null) {return;}