File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
leaf-server/minecraft-patches/features Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ index 5c1f99a8fd9920b30e6a80769bc306591510012a..7151c2a53687b4abef65c0a3da363ccd
24
24
BlockState blockState = this.getBlockState(pos);
25
25
FluidState fluidState = blockState.getFluidState();
26
26
diff --git a/net/minecraft/world/level/material/FlowingFluid.java b/net/minecraft/world/level/material/FlowingFluid.java
27
- index 4c2c2efd5380ff1fa5ad7553b51babae20f516ae..01ba0756789fcc61905bbaf1be88b526b76f2490 100644
27
+ index 4c2c2efd5380ff1fa5ad7553b51babae20f516ae..5069006c609f43559cf241fd5267a1f52f7d9680 100644
28
28
--- a/net/minecraft/world/level/material/FlowingFluid.java
29
29
+++ b/net/minecraft/world/level/material/FlowingFluid.java
30
30
@@ -341,32 +341,123 @@ public abstract class FlowingFluid extends Fluid {
@@ -110,7 +110,7 @@ index 4c2c2efd5380ff1fa5ad7553b51babae20f516ae..01ba0756789fcc61905bbaf1be88b526
110
110
+ }
111
111
+
112
112
+ private static long encodeSlopeNode(BlockPos pos, Direction excludedDir) {
113
- + return ((long) pos.getX() & 0xFFFFFFFFL ) << 32 | ((long) pos.getZ() & 0xFFFFFFFFL ) << 4 | (excludedDir.ordinal() & 0x0F);
113
+ + return ((pos.getX() & 67108863L ) << 38) | ((pos.getZ() & 67108863L ) << 12) | (excludedDir.ordinal() & 0x0F);
114
114
+ }
115
115
+
116
116
+ public static class SlopeDistanceNodeDeque {
You can’t perform that action at this time.
0 commit comments