regenerate entitylivingbase patch

This commit is contained in:
cpw 2016-11-12 10:16:10 -05:00
parent 9ab96fbda6
commit c177219ff3

View file

@ -108,7 +108,7 @@
}
this.field_70170_p.func_72960_a(this, (byte)3);
@@ -1151,7 +1171,7 @@
@@ -1151,7 +1165,7 @@
BlockPos blockpos = new BlockPos(i, j, k);
IBlockState iblockstate = this.field_70170_p.func_180495_p(blockpos);
Block block = iblockstate.func_177230_c();
@ -117,7 +117,7 @@
}
}
@@ -1177,6 +1197,9 @@
@@ -1177,6 +1191,9 @@
public void func_180430_e(float p_180430_1_, float p_180430_2_)
{
@ -127,7 +127,7 @@
super.func_180430_e(p_180430_1_, p_180430_2_);
PotionEffect potioneffect = this.func_70660_b(MobEffects.field_76430_j);
float f = potioneffect == null ? 0.0F : (float)(potioneffect.func_76458_c() + 1);
@@ -1193,7 +1216,7 @@
@@ -1193,7 +1210,7 @@
if (iblockstate.func_185904_a() != Material.field_151579_a)
{
@ -136,7 +136,7 @@
this.func_184185_a(soundtype.func_185842_g(), soundtype.func_185843_a() * 0.5F, soundtype.func_185847_b() * 0.75F);
}
}
@@ -1270,6 +1293,8 @@
@@ -1270,6 +1287,8 @@
{
if (!this.func_180431_b(p_70665_1_))
{
@ -145,7 +145,7 @@
p_70665_2_ = this.func_70655_b(p_70665_1_, p_70665_2_);
p_70665_2_ = this.func_70672_c(p_70665_1_, p_70665_2_);
float f = p_70665_2_;
@@ -1319,6 +1344,11 @@
@@ -1319,6 +1338,11 @@
public void func_184609_a(EnumHand p_184609_1_)
{
@ -157,7 +157,7 @@
if (!this.field_82175_bq || this.field_110158_av >= this.func_82166_i() / 2 || this.field_110158_av < 0)
{
this.field_110158_av = -1;
@@ -1545,7 +1575,7 @@
@@ -1545,7 +1569,7 @@
if (!this.field_70170_p.func_184143_b(axisalignedbb1))
{
@ -166,7 +166,7 @@
{
this.func_70634_a(d11, this.field_70163_u + 1.0D, d12);
return;
@@ -1553,14 +1583,14 @@
@@ -1553,14 +1577,14 @@
BlockPos blockpos = new BlockPos(d11, this.field_70163_u - 1.0D, d12);
@ -183,7 +183,7 @@
{
d1 = d11;
d13 = this.field_70163_u + 2.0D;
@@ -1631,6 +1661,7 @@
@@ -1631,6 +1655,7 @@
}
this.field_70160_al = true;
@ -191,7 +191,7 @@
}
protected void func_70629_bd()
@@ -1903,6 +1934,7 @@
@@ -1903,6 +1928,7 @@
public void func_70071_h_()
{
@ -199,7 +199,7 @@
super.func_70071_h_();
this.func_184608_ct();
@@ -2409,6 +2441,40 @@
@@ -2409,6 +2435,40 @@
this.field_70752_e = true;
}
@ -240,7 +240,7 @@
public abstract EnumHandSide func_184591_cq();
public boolean func_184587_cr()
@@ -2429,12 +2495,19 @@
@@ -2429,12 +2489,19 @@
if (itemstack == this.field_184627_bm)
{
@ -261,7 +261,7 @@
{
this.func_71036_o();
}
@@ -2452,8 +2525,10 @@
@@ -2452,8 +2519,10 @@
if (itemstack != null && !this.func_184587_cr())
{
@ -273,7 +273,7 @@
if (!this.field_70170_p.field_72995_K)
{
@@ -2536,6 +2611,8 @@
@@ -2536,6 +2605,8 @@
this.func_184584_a(this.field_184627_bm, 16);
ItemStack itemstack = this.field_184627_bm.func_77950_b(this.field_70170_p, this);
@ -282,7 +282,7 @@
if (itemstack != null && itemstack.field_77994_a == 0)
{
itemstack = null;
@@ -2566,7 +2643,8 @@
@@ -2566,7 +2637,8 @@
{
if (this.field_184627_bm != null)
{
@ -292,7 +292,7 @@
}
this.func_184602_cy();
@@ -2685,4 +2763,28 @@
@@ -2685,4 +2757,28 @@
{
return true;
}