mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 04:13:51 -07:00
Update to Minecraft 1.16.1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
--- a/net/minecraft/server/IBlockAccess.java
|
||||
+++ b/net/minecraft/server/IBlockAccess.java
|
||||
@@ -25,8 +25,8 @@
|
||||
return 256;
|
||||
@@ -30,8 +30,8 @@
|
||||
return BlockPosition.a(axisalignedbb).map(this::getType);
|
||||
}
|
||||
|
||||
- default MovingObjectPositionBlock rayTrace(RayTrace raytrace) {
|
||||
@@ -11,7 +11,7 @@
|
||||
IBlockData iblockdata = this.getType(blockposition);
|
||||
Fluid fluid = this.getFluid(blockposition);
|
||||
Vec3D vec3d = raytrace1.b();
|
||||
@@ -39,6 +39,12 @@
|
||||
@@ -44,6 +44,12 @@
|
||||
double d1 = movingobjectpositionblock1 == null ? Double.MAX_VALUE : raytrace1.b().distanceSquared(movingobjectpositionblock1.getPos());
|
||||
|
||||
return d0 <= d1 ? movingobjectpositionblock : movingobjectpositionblock1;
|
||||
@@ -24,7 +24,7 @@
|
||||
}, (raytrace1) -> {
|
||||
Vec3D vec3d = raytrace1.b().d(raytrace1.a());
|
||||
|
||||
@@ -96,7 +102,7 @@
|
||||
@@ -101,7 +107,7 @@
|
||||
double d13 = d10 * (i1 > 0 ? 1.0D - MathHelper.h(d4) : MathHelper.h(d4));
|
||||
double d14 = d11 * (j1 > 0 ? 1.0D - MathHelper.h(d5) : MathHelper.h(d5));
|
||||
|
||||
|
Reference in New Issue
Block a user