Update CraftBukkit to Minecraft 1.4.6

This commit is contained in:
feildmaster
2012-12-19 22:03:52 -06:00
parent 9f1bf124ee
commit 23b6764374
115 changed files with 1930 additions and 1426 deletions

View File

@@ -13,7 +13,7 @@ public class ItemBow extends Item {
boolean flag = entityhuman.abilities.canInstantlyBuild || EnchantmentManager.getEnchantmentLevel(Enchantment.ARROW_INFINITE.id, itemstack) > 0;
if (flag || entityhuman.inventory.e(Item.ARROW.id)) {
int j = this.a(itemstack) - i;
int j = this.c_(itemstack) - i;
float f = (float) j / 20.0F;
f = (f * f + f * 2.0F) / 3.0F;
@@ -74,17 +74,17 @@ public class ItemBow extends Item {
return itemstack;
}
public int a(ItemStack itemstack) {
public int c_(ItemStack itemstack) {
return 72000;
}
public EnumAnimation d_(ItemStack itemstack) {
public EnumAnimation b_(ItemStack itemstack) {
return EnumAnimation.e;
}
public ItemStack a(ItemStack itemstack, World world, EntityHuman entityhuman) {
if (entityhuman.abilities.canInstantlyBuild || entityhuman.inventory.e(Item.ARROW.id)) {
entityhuman.a(itemstack, this.a(itemstack));
entityhuman.a(itemstack, this.c_(itemstack));
}
return itemstack;