|
|
|
@ -5,7 +5,7 @@ Subject: [PATCH] Use EntityTypes for living entities
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockMonsterEggs.java b/src/main/java/net/minecraft/server/BlockMonsterEggs.java
|
|
|
|
|
index 5a0cc6d058..d385f647e7 100644
|
|
|
|
|
index 5a0cc6d05..d385f647e 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/BlockMonsterEggs.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockMonsterEggs.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class BlockMonsterEggs extends Block {
|
|
|
|
@ -18,7 +18,7 @@ index 5a0cc6d058..d385f647e7 100644
|
|
|
|
|
entitysilverfish.setPositionRotation((double) blockposition.getX() + 0.5D, (double) blockposition.getY(), (double) blockposition.getZ() + 0.5D, 0.0F, 0.0F);
|
|
|
|
|
world.addEntity(entitysilverfish, SpawnReason.SILVERFISH_BLOCK); // CraftBukkit - add SpawnReason
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockPumpkinCarved.java b/src/main/java/net/minecraft/server/BlockPumpkinCarved.java
|
|
|
|
|
index 75622fbdf8..2653699840 100644
|
|
|
|
|
index 75622fbdf..265369984 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/BlockPumpkinCarved.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockPumpkinCarved.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class BlockPumpkinCarved extends BlockFacingHorizontal {
|
|
|
|
@ -40,7 +40,7 @@ index 75622fbdf8..2653699840 100644
|
|
|
|
|
entityirongolem.setPlayerCreated(true);
|
|
|
|
|
entityirongolem.setPositionRotation((double) blockposition2.getX() + 0.5D, (double) blockposition2.getY() + 0.05D, (double) blockposition2.getZ() + 0.5D, 0.0F, 0.0F);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockTurtleEgg.java b/src/main/java/net/minecraft/server/BlockTurtleEgg.java
|
|
|
|
|
index d2cc6bbe25..b180772ae8 100644
|
|
|
|
|
index d2cc6bbe2..b180772ae 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/BlockTurtleEgg.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockTurtleEgg.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class BlockTurtleEgg extends Block {
|
|
|
|
@ -53,7 +53,7 @@ index d2cc6bbe25..b180772ae8 100644
|
|
|
|
|
entityturtle.setAgeRaw(-24000);
|
|
|
|
|
entityturtle.g(blockposition);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockWitherSkull.java b/src/main/java/net/minecraft/server/BlockWitherSkull.java
|
|
|
|
|
index 93bf32dc1a..e6063bb462 100644
|
|
|
|
|
index 93bf32dc1..e6063bb46 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/BlockWitherSkull.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockWitherSkull.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class BlockWitherSkull extends BlockSkull {
|
|
|
|
@ -66,7 +66,7 @@ index 93bf32dc1a..e6063bb462 100644
|
|
|
|
|
|
|
|
|
|
entitywither.setPositionRotation((double) blockposition2.getX() + 0.5D, (double) blockposition2.getY() + 0.55D, (double) blockposition2.getZ() + 0.5D, shapedetector_shapedetectorcollection.getFacing().k() == EnumDirection.EnumAxis.X ? 0.0F : 90.0F, 0.0F);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EnderDragonBattle.java b/src/main/java/net/minecraft/server/EnderDragonBattle.java
|
|
|
|
|
index aad7ce93f6..09eabf1235 100644
|
|
|
|
|
index aad7ce93f..09eabf123 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EnderDragonBattle.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EnderDragonBattle.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EnderDragonBattle {
|
|
|
|
@ -79,7 +79,7 @@ index aad7ce93f6..09eabf1235 100644
|
|
|
|
|
entityenderdragon.getDragonControllerManager().setControllerPhase(DragonControllerPhase.HOLDING_PATTERN);
|
|
|
|
|
entityenderdragon.setPositionRotation(0.0D, 128.0D, 0.0D, this.d.random.nextFloat() * 360.0F, 0.0F);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityChicken.java b/src/main/java/net/minecraft/server/EntityChicken.java
|
|
|
|
|
index ee159e0a81..070a9e7b14 100644
|
|
|
|
|
index ee159e0a8..070a9e7b1 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityChicken.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityChicken.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityChicken extends EntityAnimal {
|
|
|
|
@ -92,7 +92,7 @@ index ee159e0a81..070a9e7b14 100644
|
|
|
|
|
|
|
|
|
|
public boolean f(ItemStack itemstack) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityCow.java b/src/main/java/net/minecraft/server/EntityCow.java
|
|
|
|
|
index 5874d2993c..cc53e915d7 100644
|
|
|
|
|
index 5874d2993..cc53e915d 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityCow.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityCow.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityCow extends EntityAnimal {
|
|
|
|
@ -105,7 +105,7 @@ index 5874d2993c..cc53e915d7 100644
|
|
|
|
|
|
|
|
|
|
public float getHeadHeight() {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityEnderPearl.java b/src/main/java/net/minecraft/server/EntityEnderPearl.java
|
|
|
|
|
index 961afa5c42..a372f6508f 100644
|
|
|
|
|
index 961afa5c4..a372f6508 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityEnderPearl.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityEnderPearl.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityEnderPearl extends EntityProjectile {
|
|
|
|
@ -118,7 +118,7 @@ index 961afa5c42..a372f6508f 100644
|
|
|
|
|
entityendermite.setPlayerSpawned(true);
|
|
|
|
|
entityendermite.setPositionRotation(entityliving.locX, entityliving.locY, entityliving.locZ, entityliving.yaw, entityliving.pitch);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityEvoker.java b/src/main/java/net/minecraft/server/EntityEvoker.java
|
|
|
|
|
index 963b6fbb9c..fc20bbe272 100644
|
|
|
|
|
index 963b6fbb9..fc20bbe27 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityEvoker.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityEvoker.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityEvoker extends EntityIllagerWizard {
|
|
|
|
@ -132,7 +132,7 @@ index 963b6fbb9c..fc20bbe272 100644
|
|
|
|
|
entityvex.prepare(EntityEvoker.this.world.getDamageScaler(blockposition), (GroupDataEntity) null, (NBTTagCompound) null);
|
|
|
|
|
entityvex.a((EntityInsentient) EntityEvoker.this);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityHorse.java b/src/main/java/net/minecraft/server/EntityHorse.java
|
|
|
|
|
index 4e8a97c557..1b9425f3e6 100644
|
|
|
|
|
index 4e8a97c55..1b9425f3e 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityHorse.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityHorse.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityHorse extends EntityHorseAbstract {
|
|
|
|
@ -150,7 +150,7 @@ index 4e8a97c557..1b9425f3e6 100644
|
|
|
|
|
int j;
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityHorseDonkey.java b/src/main/java/net/minecraft/server/EntityHorseDonkey.java
|
|
|
|
|
index 72eed22eb9..65c40e72bf 100644
|
|
|
|
|
index 72eed22eb..65c40e72b 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityHorseDonkey.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityHorseDonkey.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityHorseDonkey extends EntityHorseChestedAbstract {
|
|
|
|
@ -163,7 +163,7 @@ index 72eed22eb9..65c40e72bf 100644
|
|
|
|
|
this.a(entityageable, (EntityHorseAbstract) object);
|
|
|
|
|
return (EntityAgeable) object;
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityHorseSkeleton.java b/src/main/java/net/minecraft/server/EntityHorseSkeleton.java
|
|
|
|
|
index eae2b26655..0a092acdfe 100644
|
|
|
|
|
index eae2b2665..0a092acdf 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityHorseSkeleton.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityHorseSkeleton.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityHorseSkeleton extends EntityHorseAbstract {
|
|
|
|
@ -176,7 +176,7 @@ index eae2b26655..0a092acdfe 100644
|
|
|
|
|
|
|
|
|
|
public boolean a(EntityHuman entityhuman, EnumHand enumhand) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityHorseZombie.java b/src/main/java/net/minecraft/server/EntityHorseZombie.java
|
|
|
|
|
index c23bc72fc8..a1873f557c 100644
|
|
|
|
|
index c23bc72fc..a1873f557 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityHorseZombie.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityHorseZombie.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityHorseZombie extends EntityHorseAbstract {
|
|
|
|
@ -189,7 +189,7 @@ index c23bc72fc8..a1873f557c 100644
|
|
|
|
|
|
|
|
|
|
public boolean a(EntityHuman entityhuman, EnumHand enumhand) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityLlama.java b/src/main/java/net/minecraft/server/EntityLlama.java
|
|
|
|
|
index 5e19768710..82a32c61ed 100644
|
|
|
|
|
index 5e1976871..82a32c61e 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityLlama.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityLlama.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityLlama extends EntityHorseChestedAbstract implements IRangedEn
|
|
|
|
@ -202,7 +202,7 @@ index 5e19768710..82a32c61ed 100644
|
|
|
|
|
this.a(entityageable, (EntityHorseAbstract) entityllama);
|
|
|
|
|
EntityLlama entityllama1 = (EntityLlama) entityageable;
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityMushroomCow.java b/src/main/java/net/minecraft/server/EntityMushroomCow.java
|
|
|
|
|
index dde9f1e61e..638dbe978d 100644
|
|
|
|
|
index dde9f1e61..638dbe978 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityMushroomCow.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityMushroomCow.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityMushroomCow extends EntityCow {
|
|
|
|
@ -224,7 +224,7 @@ index dde9f1e61e..638dbe978d 100644
|
|
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityOcelot.java b/src/main/java/net/minecraft/server/EntityOcelot.java
|
|
|
|
|
index ba074c10c6..13c84bda84 100644
|
|
|
|
|
index ba074c10c..13c84bda8 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityOcelot.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityOcelot.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityOcelot extends EntityTameableAnimal {
|
|
|
|
@ -246,7 +246,7 @@ index ba074c10c6..13c84bda84 100644
|
|
|
|
|
entityocelot.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
|
|
|
|
|
entityocelot.setAgeRaw(-24000);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityPig.java b/src/main/java/net/minecraft/server/EntityPig.java
|
|
|
|
|
index 9dc2d8be27..d1689dc33a 100644
|
|
|
|
|
index 9dc2d8be2..d1689dc33 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityPig.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityPig.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityPig extends EntityAnimal {
|
|
|
|
@ -268,7 +268,7 @@ index 9dc2d8be27..d1689dc33a 100644
|
|
|
|
|
|
|
|
|
|
public boolean f(ItemStack itemstack) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityPolarBear.java b/src/main/java/net/minecraft/server/EntityPolarBear.java
|
|
|
|
|
index a02020d5fc..dbb534c9cd 100644
|
|
|
|
|
index a02020d5f..dbb534c9c 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityPolarBear.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityPolarBear.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityPolarBear extends EntityAnimal {
|
|
|
|
@ -281,7 +281,7 @@ index a02020d5fc..dbb534c9cd 100644
|
|
|
|
|
|
|
|
|
|
public boolean f(ItemStack itemstack) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityRabbit.java b/src/main/java/net/minecraft/server/EntityRabbit.java
|
|
|
|
|
index e545b1c9b3..d6bac06a7a 100644
|
|
|
|
|
index e545b1c9b..d6bac06a7 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityRabbit.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityRabbit.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityRabbit extends EntityAnimal {
|
|
|
|
@ -294,7 +294,7 @@ index e545b1c9b3..d6bac06a7a 100644
|
|
|
|
|
|
|
|
|
|
if (this.random.nextInt(20) != 0) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntitySheep.java b/src/main/java/net/minecraft/server/EntitySheep.java
|
|
|
|
|
index f7a25c1483..c35d1eef43 100644
|
|
|
|
|
index f7a25c148..c35d1eef4 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntitySheep.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntitySheep.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntitySheep extends EntityAnimal {
|
|
|
|
@ -307,7 +307,7 @@ index f7a25c1483..c35d1eef43 100644
|
|
|
|
|
entitysheep1.setColor(this.a((EntityAnimal) this, (EntityAnimal) entitysheep));
|
|
|
|
|
return entitysheep1;
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntitySpider.java b/src/main/java/net/minecraft/server/EntitySpider.java
|
|
|
|
|
index a42b8d554f..9ef1c9baf2 100644
|
|
|
|
|
index a42b8d554..9ef1c9baf 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntitySpider.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntitySpider.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntitySpider extends EntityMonster {
|
|
|
|
@ -320,7 +320,7 @@ index a42b8d554f..9ef1c9baf2 100644
|
|
|
|
|
entityskeleton.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
|
|
|
|
|
entityskeleton.prepare(difficultydamagescaler, (GroupDataEntity) null, (NBTTagCompound) null);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityTurtle.java b/src/main/java/net/minecraft/server/EntityTurtle.java
|
|
|
|
|
index a533e0eb5b..270b950820 100644
|
|
|
|
|
index a533e0eb5..270b95082 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityTurtle.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityTurtle.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityTurtle extends EntityAnimal {
|
|
|
|
@ -333,7 +333,7 @@ index a533e0eb5b..270b950820 100644
|
|
|
|
|
|
|
|
|
|
public boolean f(ItemStack itemstack) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityTypes.java b/src/main/java/net/minecraft/server/EntityTypes.java
|
|
|
|
|
index d74bfa1201..24ca351194 100644
|
|
|
|
|
index d74bfa120..24ca35119 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityTypes.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityTypes.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityTypes<T extends Entity> {
|
|
|
|
@ -345,7 +345,7 @@ index d74bfa1201..24ca351194 100644
|
|
|
|
|
public T a(World world) {
|
|
|
|
|
return this.aT.apply(world); // CraftBukkit - decompile error
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityVillager.java b/src/main/java/net/minecraft/server/EntityVillager.java
|
|
|
|
|
index f01e776fe5..40b3ffd8ca 100644
|
|
|
|
|
index f01e776fe..40b3ffd8c 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityVillager.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityVillager.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityVillager extends EntityAgeable implements NPC, IMerchant {
|
|
|
|
@ -367,7 +367,7 @@ index f01e776fe5..40b3ffd8ca 100644
|
|
|
|
|
// Paper start
|
|
|
|
|
if (org.bukkit.craftbukkit.event.CraftEventFactory.callEntityZapEvent(this, entitylightning, entitywitch).isCancelled()) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityWolf.java b/src/main/java/net/minecraft/server/EntityWolf.java
|
|
|
|
|
index 4f1696d018..46d8e0a1f4 100644
|
|
|
|
|
index 4f1696d01..46d8e0a1f 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityWolf.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityWolf.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityWolf extends EntityTameableAnimal {
|
|
|
|
@ -380,7 +380,7 @@ index 4f1696d018..46d8e0a1f4 100644
|
|
|
|
|
|
|
|
|
|
if (uuid != null) {
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityZombie.java b/src/main/java/net/minecraft/server/EntityZombie.java
|
|
|
|
|
index 7998b80c17..81cc0c3b33 100644
|
|
|
|
|
index 7998b80c1..81cc0c3b3 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityZombie.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityZombie.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityZombie extends EntityMonster {
|
|
|
|
@ -420,7 +420,7 @@ index 7998b80c17..81cc0c3b33 100644
|
|
|
|
|
entitychicken1.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
|
|
|
|
|
entitychicken1.prepare(difficultydamagescaler, (GroupDataEntity) null, (NBTTagCompound) null);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityZombieHusk.java b/src/main/java/net/minecraft/server/EntityZombieHusk.java
|
|
|
|
|
index 85d402965b..0cca7b6d51 100644
|
|
|
|
|
index 85d402965..0cca7b6d5 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityZombieHusk.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityZombieHusk.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityZombieHusk extends EntityZombie {
|
|
|
|
@ -433,7 +433,7 @@ index 85d402965b..0cca7b6d51 100644
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityZombieVillager.java b/src/main/java/net/minecraft/server/EntityZombieVillager.java
|
|
|
|
|
index 86e5fbcdab..fb96743af2 100644
|
|
|
|
|
index 86e5fbcda..fb96743af 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityZombieVillager.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityZombieVillager.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class EntityZombieVillager extends EntityZombie {
|
|
|
|
@ -446,7 +446,7 @@ index 86e5fbcdab..fb96743af2 100644
|
|
|
|
|
entityvillager.u(this);
|
|
|
|
|
entityvillager.setProfession(this.getProfession());
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/ItemArmorStand.java b/src/main/java/net/minecraft/server/ItemArmorStand.java
|
|
|
|
|
index 576b3c5650..4dd0e39ec3 100644
|
|
|
|
|
index 576b3c565..4dd0e39ec 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/ItemArmorStand.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/ItemArmorStand.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class ItemArmorStand extends Item {
|
|
|
|
@ -459,7 +459,7 @@ index 576b3c5650..4dd0e39ec3 100644
|
|
|
|
|
|
|
|
|
|
entityarmorstand.setPositionRotation(d0 + 0.5D, d1, d2 + 0.5D, f, 0.0F);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/MobSpawnerPhantom.java b/src/main/java/net/minecraft/server/MobSpawnerPhantom.java
|
|
|
|
|
index 5ddf66eef5..bb7e072ee1 100644
|
|
|
|
|
index 5ddf66eef..bb7e072ee 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/MobSpawnerPhantom.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/MobSpawnerPhantom.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class MobSpawnerPhantom {
|
|
|
|
@ -472,7 +472,7 @@ index 5ddf66eef5..bb7e072ee1 100644
|
|
|
|
|
entityphantom.setPositionRotation(blockposition1, 0.0F, 0.0F);
|
|
|
|
|
groupdataentity = entityphantom.prepare(difficultydamagescaler, groupdataentity, (NBTTagCompound) null);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalHorseTrap.java b/src/main/java/net/minecraft/server/PathfinderGoalHorseTrap.java
|
|
|
|
|
index d4fdcbdfd6..887e4461f3 100644
|
|
|
|
|
index d4fdcbdfd..887e4461f 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/PathfinderGoalHorseTrap.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/PathfinderGoalHorseTrap.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class PathfinderGoalHorseTrap extends PathfinderGoal {
|
|
|
|
@ -494,7 +494,7 @@ index d4fdcbdfd6..887e4461f3 100644
|
|
|
|
|
entityskeleton.prepare(difficultydamagescaler, (GroupDataEntity) null, (NBTTagCompound) null);
|
|
|
|
|
entityskeleton.setPosition(entityhorseabstract.locX, entityhorseabstract.locY, entityhorseabstract.locZ);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/VillageSiege.java b/src/main/java/net/minecraft/server/VillageSiege.java
|
|
|
|
|
index 0ac1fb53a4..509d62f6b6 100644
|
|
|
|
|
index 0ac1fb53a..509d62f6b 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/VillageSiege.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/VillageSiege.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class VillageSiege {
|
|
|
|
@ -507,7 +507,7 @@ index 0ac1fb53a4..509d62f6b6 100644
|
|
|
|
|
} catch (Exception exception) {
|
|
|
|
|
exception.printStackTrace();
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldGenEndCityPieces.java b/src/main/java/net/minecraft/server/WorldGenEndCityPieces.java
|
|
|
|
|
index 94b21693e2..0a223cfe5a 100644
|
|
|
|
|
index 94b21693e..0a223cfe5 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/WorldGenEndCityPieces.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldGenEndCityPieces.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class WorldGenEndCityPieces {
|
|
|
|
@ -520,7 +520,7 @@ index 94b21693e2..0a223cfe5a 100644
|
|
|
|
|
entityshulker.setPosition((double) blockposition.getX() + 0.5D, (double) blockposition.getY() + 0.5D, (double) blockposition.getZ() + 0.5D);
|
|
|
|
|
entityshulker.g(blockposition);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldGenFeatureOceanRuinPieces.java b/src/main/java/net/minecraft/server/WorldGenFeatureOceanRuinPieces.java
|
|
|
|
|
index 2def56b067..abeb4aa025 100644
|
|
|
|
|
index 2def56b06..abeb4aa02 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/WorldGenFeatureOceanRuinPieces.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldGenFeatureOceanRuinPieces.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class WorldGenFeatureOceanRuinPieces {
|
|
|
|
@ -534,7 +534,7 @@ index 2def56b067..abeb4aa025 100644
|
|
|
|
|
entitydrowned.setPositionRotation(blockposition, 0.0F, 0.0F);
|
|
|
|
|
entitydrowned.prepare(generatoraccess.getDamageScaler(blockposition), (GroupDataEntity) null, (NBTTagCompound) null);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldGenMonumentPieces.java b/src/main/java/net/minecraft/server/WorldGenMonumentPieces.java
|
|
|
|
|
index 0e7aed09d1..493a86e1bf 100644
|
|
|
|
|
index 0e7aed09d..493a86e1b 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/WorldGenMonumentPieces.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldGenMonumentPieces.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class WorldGenMonumentPieces {
|
|
|
|
@ -556,7 +556,7 @@ index 0e7aed09d1..493a86e1bf 100644
|
|
|
|
|
entityguardianelder.heal(entityguardianelder.getMaxHealth());
|
|
|
|
|
entityguardianelder.setPositionRotation((double) l + 0.5D, (double) i1, (double) j1 + 0.5D, 0.0F, 0.0F);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldGenVillagePieces.java b/src/main/java/net/minecraft/server/WorldGenVillagePieces.java
|
|
|
|
|
index 5fa2987d2a..967e33b3d7 100644
|
|
|
|
|
index 5fa2987d2..967e33b3d 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/WorldGenVillagePieces.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldGenVillagePieces.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class WorldGenVillagePieces {
|
|
|
|
@ -578,7 +578,7 @@ index 5fa2987d2a..967e33b3d7 100644
|
|
|
|
|
entityvillager.setPositionRotation((double) j1 + 0.5D, (double) k1, (double) l1 + 0.5D, 0.0F, 0.0F);
|
|
|
|
|
entityvillager.setProfession(this.c(i1, generatoraccess.m().nextInt(6)));
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldGenWitchHut.java b/src/main/java/net/minecraft/server/WorldGenWitchHut.java
|
|
|
|
|
index efb0379ce3..3d8193c477 100644
|
|
|
|
|
index efb0379ce..3d8193c47 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/WorldGenWitchHut.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldGenWitchHut.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class WorldGenWitchHut extends WorldGenScatteredPiece {
|
|
|
|
@ -591,7 +591,7 @@ index efb0379ce3..3d8193c477 100644
|
|
|
|
|
entitywitch.di();
|
|
|
|
|
entitywitch.setPositionRotation((double) j + 0.5D, (double) i, (double) k + 0.5D, 0.0F, 0.0F);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldGenWoodlandMansionPieces.java b/src/main/java/net/minecraft/server/WorldGenWoodlandMansionPieces.java
|
|
|
|
|
index 11010d8e12..4eb746ebb0 100644
|
|
|
|
|
index 11010d8e1..4eb746ebb 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/WorldGenWoodlandMansionPieces.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldGenWoodlandMansionPieces.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class WorldGenWoodlandMansionPieces {
|
|
|
|
@ -639,7 +639,7 @@ index 11010d8e12..4eb746ebb0 100644
|
|
|
|
|
entityvindicator.setPositionRotation(blockposition, 0.0F, 0.0F);
|
|
|
|
|
entityvindicator.prepare(generatoraccess.getDamageScaler(new BlockPosition(entityvindicator)), (GroupDataEntity) null, (NBTTagCompound) null);
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
|
|
|
|
index 8e23d060d0..6671d71802 100644
|
|
|
|
|
index 8e23d060d..6671d7180 100644
|
|
|
|
|
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class WorldServer extends World implements IAsyncTaskHandler {
|
|
|
|
@ -652,7 +652,7 @@ index 8e23d060d0..6671d71802 100644
|
|
|
|
|
entityhorseskeleton.s(true);
|
|
|
|
|
entityhorseskeleton.setAgeRaw(0);
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
|
index e33135adaa..6ed7c93550 100644
|
|
|
|
|
index e33135ada..6ed7c9355 100644
|
|
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
|
@@ -0,0 +0,0 @@ public class CraftWorld implements World {
|
|
|
|
|