@@ -117,7 +117,7 @@
|
||||
ItemStack itemstack1 = this.a(entityitem);
|
||||
|
||||
if (flag1) {
|
||||
@@ -655,6 +704,13 @@
|
||||
@@ -652,6 +701,13 @@
|
||||
this.a(true, true, false);
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
if (nbttagcompound.hasKeyOfType("SpawnX", 99) && nbttagcompound.hasKeyOfType("SpawnY", 99) && nbttagcompound.hasKeyOfType("SpawnZ", 99)) {
|
||||
this.e = new BlockPosition(nbttagcompound.getInt("SpawnX"), nbttagcompound.getInt("SpawnY"), nbttagcompound.getInt("SpawnZ"));
|
||||
this.f = nbttagcompound.getBoolean("SpawnForced");
|
||||
@@ -705,6 +761,7 @@
|
||||
@@ -702,6 +758,7 @@
|
||||
if (!this.getShoulderEntityRight().isEmpty()) {
|
||||
nbttagcompound.set("ShoulderEntityRight", this.getShoulderEntityRight());
|
||||
}
|
||||
@@ -139,7 +139,7 @@
|
||||
|
||||
}
|
||||
|
||||
@@ -722,10 +779,10 @@
|
||||
@@ -719,10 +776,10 @@
|
||||
this.a(true, true, false);
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
}
|
||||
|
||||
if (this.world.getDifficulty() == EnumDifficulty.EASY) {
|
||||
@@ -737,7 +794,13 @@
|
||||
@@ -734,7 +791,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -751,10 +814,29 @@
|
||||
@@ -748,10 +811,29 @@
|
||||
}
|
||||
|
||||
public boolean a(EntityHuman entityhuman) {
|
||||
@@ -200,7 +200,7 @@
|
||||
}
|
||||
|
||||
protected void damageArmor(float f) {
|
||||
@@ -797,7 +879,12 @@
|
||||
@@ -794,7 +876,12 @@
|
||||
return (float) i / (float) this.inventory.armor.size();
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@
|
||||
if (!this.isInvulnerable(damagesource)) {
|
||||
f = this.applyArmorModifier(damagesource, f);
|
||||
f = this.applyMagicModifier(damagesource, f);
|
||||
@@ -823,6 +910,7 @@
|
||||
@@ -820,6 +907,7 @@
|
||||
|
||||
}
|
||||
}
|
||||
@@ -222,7 +222,7 @@
|
||||
}
|
||||
|
||||
public void openSign(TileEntitySign tileentitysign) {}
|
||||
@@ -944,8 +1032,15 @@
|
||||
@@ -941,8 +1029,15 @@
|
||||
if (entity instanceof EntityLiving) {
|
||||
f3 = ((EntityLiving) entity).getHealth();
|
||||
if (j > 0 && !entity.isBurning()) {
|
||||
@@ -240,7 +240,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -976,8 +1071,11 @@
|
||||
@@ -973,8 +1068,11 @@
|
||||
EntityLiving entityliving = (EntityLiving) iterator.next();
|
||||
|
||||
if (entityliving != this && entityliving != entity && !this.r(entityliving) && (!(entityliving instanceof EntityArmorStand) || !((EntityArmorStand) entityliving).isMarker()) && this.h(entityliving) < 9.0D) {
|
||||
@@ -253,7 +253,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -986,11 +1084,28 @@
|
||||
@@ -983,11 +1081,28 @@
|
||||
}
|
||||
|
||||
if (entity instanceof EntityPlayer && entity.velocityChanged) {
|
||||
@@ -282,7 +282,7 @@
|
||||
}
|
||||
|
||||
if (flag2) {
|
||||
@@ -1039,7 +1154,14 @@
|
||||
@@ -1036,7 +1151,14 @@
|
||||
|
||||
this.a(StatisticList.DAMAGE_DEALT, Math.round(f5 * 10.0F));
|
||||
if (j > 0) {
|
||||
@@ -298,7 +298,7 @@
|
||||
}
|
||||
|
||||
if (this.world instanceof WorldServer && f5 > 2.0F) {
|
||||
@@ -1055,6 +1177,11 @@
|
||||
@@ -1052,6 +1174,11 @@
|
||||
if (flag4) {
|
||||
entity.extinguish();
|
||||
}
|
||||
@@ -310,7 +310,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1116,15 +1243,15 @@
|
||||
@@ -1113,15 +1240,15 @@
|
||||
return this.h;
|
||||
}
|
||||
|
||||
@@ -330,7 +330,7 @@
|
||||
return EntityHuman.EnumBedResult.NOT_POSSIBLE_HERE;
|
||||
}
|
||||
|
||||
@@ -1146,6 +1273,26 @@
|
||||
@@ -1143,6 +1270,26 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -357,7 +357,7 @@
|
||||
|
||||
if (this.isPassenger()) {
|
||||
this.stopRiding();
|
||||
@@ -1212,6 +1359,24 @@
|
||||
@@ -1209,6 +1356,24 @@
|
||||
this.world.everyoneSleeping();
|
||||
}
|
||||
|
||||
@@ -382,7 +382,7 @@
|
||||
this.sleepTicks = flag ? 0 : 100;
|
||||
if (flag2) {
|
||||
this.setRespawnPosition(this.bedPosition, false);
|
||||
@@ -1263,9 +1428,11 @@
|
||||
@@ -1260,9 +1425,11 @@
|
||||
if (blockposition != null) {
|
||||
this.e = blockposition;
|
||||
this.f = flag;
|
||||
@@ -394,7 +394,7 @@
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1331,7 +1498,11 @@
|
||||
@@ -1328,7 +1495,11 @@
|
||||
this.motY = d3 * 0.6D;
|
||||
this.aU = f3;
|
||||
this.fallDistance = 0.0F;
|
||||
@@ -407,7 +407,7 @@
|
||||
} else {
|
||||
super.a(f, f1, f2);
|
||||
}
|
||||
@@ -1631,13 +1802,17 @@
|
||||
@@ -1628,13 +1799,17 @@
|
||||
}
|
||||
|
||||
protected void releaseShoulderEntities() {
|
||||
@@ -430,7 +430,7 @@
|
||||
if (!this.world.isClientSide && !nbttagcompound.isEmpty()) {
|
||||
Entity entity = EntityTypes.a(nbttagcompound, this.world);
|
||||
|
||||
@@ -1646,9 +1821,10 @@
|
||||
@@ -1643,9 +1818,10 @@
|
||||
}
|
||||
|
||||
entity.setPosition(this.locX, this.locY + 0.699999988079071D, this.locZ);
|
||||
@@ -442,7 +442,7 @@
|
||||
}
|
||||
|
||||
public abstract boolean isSpectator();
|
||||
@@ -1859,7 +2035,7 @@
|
||||
@@ -1856,7 +2032,7 @@
|
||||
return entitymonster.c(this.a);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user