mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 23:45:44 +00:00
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
--- ../src-base/minecraft/net/minecraft/entity/item/EntityBoat.java
|
|
+++ ../src-work/minecraft/net/minecraft/entity/item/EntityBoat.java
|
|
@@ -508,7 +508,7 @@
|
|
|
|
if (!list.isEmpty())
|
|
{
|
|
- f += iblockstate.func_177230_c().field_149765_K;
|
|
+ f += iblockstate.func_177230_c().getSlipperiness(iblockstate, this.field_70170_p, blockpos$pooledmutableblockpos, this);
|
|
++k1;
|
|
}
|
|
|
|
@@ -980,4 +980,20 @@
|
|
return values()[0];
|
|
}
|
|
}
|
|
+
|
|
+ // Forge: Fix MC-119811 by instantly completing lerp on board
|
|
+ @Override
|
|
+ protected void func_184200_o(Entity passenger)
|
|
+ {
|
|
+ super.func_184200_o(passenger);
|
|
+ if(this.func_184186_bw() && this.field_184476_at > 0)
|
|
+ {
|
|
+ this.field_184476_at = 0;
|
|
+ this.field_70165_t = this.field_70281_h;
|
|
+ this.field_70163_u = this.field_184477_av;
|
|
+ this.field_70161_v = this.field_184478_aw;
|
|
+ this.field_70177_z = (float)this.field_70273_g;
|
|
+ this.field_70125_A = (float)this.field_184479_ay;
|
|
+ }
|
|
+ }
|
|
}
|