Update to Minecraft 1.9

This commit is contained in:
md_5
2016-03-01 08:32:46 +11:00
parent e1ebe524a7
commit aa008dff0f
305 changed files with 6684 additions and 6105 deletions

View File

@@ -1,14 +1,15 @@
--- a/net/minecraft/server/EntityPig.java
+++ b/net/minecraft/server/EntityPig.java
@@ -1,5 +1,7 @@
package net.minecraft.server;
@@ -4,6 +4,8 @@
import java.util.Iterator;
import java.util.Set;
+import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
+
public class EntityPig extends EntityAnimal {
private final PathfinderGoalPassengerCarrotStick bm;
@@ -112,6 +114,12 @@
private static final DataWatcherObject<Boolean> bv = DataWatcher.a(EntityPig.class, DataWatcherRegistry.h);
@@ -130,6 +132,12 @@
if (!this.world.isClientSide && !this.dead) {
EntityPigZombie entitypigzombie = new EntityPigZombie(this.world);
@@ -18,10 +19,10 @@
+ }
+ // CraftBukkit end
+
entitypigzombie.setEquipment(0, new ItemStack(Items.GOLDEN_SWORD));
entitypigzombie.setSlot(EnumItemSlot.MAINHAND, new ItemStack(Items.GOLDEN_SWORD));
entitypigzombie.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, this.pitch);
entitypigzombie.k(this.ce());
@@ -120,7 +128,8 @@
entitypigzombie.m(this.cR());
@@ -138,7 +146,8 @@
entitypigzombie.setCustomNameVisible(this.getCustomNameVisible());
}