Update to 1.10

This commit is contained in:
cpw committed 2016-06-23 02:39:55 -04:00
1 parent 3fbf8c9960
commit 260be68723
162 files changed
+1930 -1016

No files matched your search

@@ -7,7 +7,7 @@ import net.minecraft.entity.player.EntityPlayer.SleepResult;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTBase.NBTPrimitive;
import net.minecraft.nbt.NBTPrimitive;
import net.minecraft.nbt.NBTTagByte;
import net.minecraft.util.ActionResult;
import net.minecraft.util.EnumActionResult;
@@ -3,6 +3,7 @@ package net.minecraftforge.test;
import net.minecraft.entity.item.EntityArmorStand;
import net.minecraft.entity.monster.EntityCreeper;
import net.minecraft.entity.monster.EntitySkeleton;
import net.minecraft.entity.monster.SkeletonType;
import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.init.Items;
import net.minecraft.tileentity.TileEntity;
@@ -135,7 +136,7 @@ public class PlayerInteractEventTest
&& evt.getLocalPos().yCoord > evt.getTarget().height / 2.0)
{
// If we right click the upper half of a skeleton it becomes wither skeleton. Otherwise nothing happens.
((EntitySkeleton) evt.getTarget()).setSkeletonType(1);
((EntitySkeleton) evt.getTarget()).func_189768_a(SkeletonType.WITHER);
evt.setCanceled(true);
}
}