@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/level/IBlockAccess.java
|
||||
+++ b/net/minecraft/world/level/IBlockAccess.java
|
||||
@@ -26,7 +26,7 @@
|
||||
@@ -31,7 +31,7 @@
|
||||
default <T extends TileEntity> Optional<T> getBlockEntity(BlockPosition blockposition, TileEntityTypes<T> tileentitytypes) {
|
||||
TileEntity tileentity = this.getBlockEntity(blockposition);
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
IBlockData getBlockState(BlockPosition blockposition);
|
||||
@@ -58,8 +58,8 @@
|
||||
@@ -59,8 +59,8 @@
|
||||
});
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
IBlockData iblockdata = this.getBlockState(blockposition);
|
||||
Fluid fluid = this.getFluidState(blockposition);
|
||||
Vec3D vec3d = raytrace1.getFrom();
|
||||
@@ -72,6 +72,12 @@
|
||||
@@ -73,6 +73,12 @@
|
||||
double d1 = movingobjectpositionblock1 == null ? Double.MAX_VALUE : raytrace1.getFrom().distanceToSqr(movingobjectpositionblock1.getLocation());
|
||||
|
||||
return d0 <= d1 ? movingobjectpositionblock : movingobjectpositionblock1;
|
||||
@@ -33,7 +33,7 @@
|
||||
}, (raytrace1) -> {
|
||||
Vec3D vec3d = raytrace1.getFrom().subtract(raytrace1.getTo());
|
||||
|
||||
@@ -144,7 +150,7 @@
|
||||
@@ -145,7 +151,7 @@
|
||||
double d13 = d10 * (i1 > 0 ? 1.0D - MathHelper.frac(d4) : MathHelper.frac(d4));
|
||||
double d14 = d11 * (j1 > 0 ? 1.0D - MathHelper.frac(d5) : MathHelper.frac(d5));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user