1.19.4-pre1
This commit is contained in:
1 parent
4d842ae382
commit
4c8e477f4b
15 files changed
+37
-30
No files matched your search
@@ -17,7 +17,7 @@ public class EntityTools
|
||||
return;
|
||||
}
|
||||
float m = e.level.getBlockState(e.blockPosition()).getBlock().getJumpFactor();
|
||||
float g = e.level.getBlockState(new BlockPos(e.getX(), e.getBoundingBox().minY - 0.5000001D, e.getZ())).getBlock().getJumpFactor();
|
||||
float g = e.level.getBlockState(BlockPos.containing(e.getX(), e.getBoundingBox().minY - 0.5000001D, e.getZ())).getBlock().getJumpFactor();
|
||||
float jumpVelocityMultiplier = m == 1.0D ? g : m;
|
||||
float jumpStrength = (0.42F * jumpVelocityMultiplier);
|
||||
Vec3 vec3d = e.getDeltaMovement();
|
||||
|
||||
@@ -381,7 +381,7 @@ public class ShapesRenderer
|
||||
RenderSystem.enableCull();
|
||||
RenderSystem.enableDepthTest();
|
||||
|
||||
blockPos = new BlockPos(v1);
|
||||
blockPos = BlockPos.containing(v1);
|
||||
int light = 0;
|
||||
if (client.level != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user