Skip to content

Commit d06a408

Browse files
committed
Update and make linear work before
1 parent befffe0 commit d06a408

9 files changed

+61
-33
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ version=1.21-R0.1-SNAPSHOT
33

44
mcVersion=1.21
55
org.gradle.jvmargs=-Xmx2G
6-
paperRef=76c2f16f577d2e5515482a8dcd3d97aeeec20e1e
6+
paperRef=dd49fba8c534d48c3693a751075ecb5836a9d458
77
preVersion=true
88
updatingMinecraft=true

patches/server/0004-Leaves-Server-Utils.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ index 46954db7ecd35ac4018fdf476df7c8020d7ce6c8..044c51ebb058fc36074fd178929e3279
3131
public PlayerAreaMap() {
3232
super();
3333
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
34-
index 1a40128b06e70e39a82f170fc16dcae1e22c745c..c050b6f432c875cb417ee67727560843f6ff3871 100644
34+
index 2519c08a45ce3febcf51ac308ad98ac0e2657cf3..bbfe8457119b76abb60653360fc272aa4580b349 100644
3535
--- a/src/main/java/net/minecraft/world/entity/Entity.java
3636
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
3737
@@ -429,6 +429,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
@@ -62,7 +62,7 @@ index 1a40128b06e70e39a82f170fc16dcae1e22c745c..c050b6f432c875cb417ee67727560843
6262

6363
} catch (Throwable throwable) {
6464
CrashReport crashreport = CrashReport.forThrowable(throwable, "Loading entity NBT");
65-
@@ -4819,4 +4826,10 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
65+
@@ -4820,4 +4827,10 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
6666
return ((net.minecraft.server.level.ServerChunkCache) level.getChunkSource()).isPositionTicking(this);
6767
}
6868
// Paper end - Expose entity id counter

patches/server/0032-Reduce-entity-fluid-lookups-if-no-fluids.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Subject: [PATCH] Reduce entity fluid lookups if no fluids
66
This patch is Powered by Pufferfish(https://github.com/pufferfish-gg/Pufferfish)
77

88
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
9-
index e383b9e97396a2b469a963ef3c246ae31462a537..a753c4817cb50aa4026b7961da93f440c7d11d72 100644
9+
index 215cb9765bc1f0c5c520757db3e3224ce207b7e1..e65970fbd915cecad1a8820055dbe90a9b5c2199 100644
1010
--- a/src/main/java/net/minecraft/world/entity/Entity.java
1111
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
12-
@@ -4290,16 +4290,18 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
12+
@@ -4291,16 +4291,18 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
1313
}
1414

1515
public boolean updateFluidHeightAndDoFluidPushing(TagKey<Fluid> tag, double speed) {
@@ -35,7 +35,7 @@ index e383b9e97396a2b469a963ef3c246ae31462a537..a753c4817cb50aa4026b7961da93f440
3535
double d1 = 0.0D;
3636
boolean flag = this.isPushedByFluid();
3737
boolean flag1 = false;
38-
@@ -4307,38 +4309,123 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
38+
@@ -4308,38 +4310,123 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
3939
int k1 = 0;
4040
BlockPos.MutableBlockPos blockposition_mutableblockposition = new BlockPos.MutableBlockPos();
4141

patches/server/0045-Return-nether-portal-fix.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ index 4c38bfe300fb7da9d2080784b64101f94d77f20c..4f2ce8295977bfb8e9b6e98ca5405ecb
8383
@Nullable
8484
private DamageSource lastDamageSource;
8585
diff --git a/src/main/java/net/minecraft/world/level/block/NetherPortalBlock.java b/src/main/java/net/minecraft/world/level/block/NetherPortalBlock.java
86-
index a530276b0123dee5680d7e09ad3d2f0414909c91..e9b17c57c7bb8ad70f0e747d43aa0a2999c0c3f5 100644
86+
index ddab7de1d376e9e486e2f920174397ea8804aa29..73b6e6f24852370268bdcb0b06027daa119b5091 100644
8787
--- a/src/main/java/net/minecraft/world/level/block/NetherPortalBlock.java
8888
+++ b/src/main/java/net/minecraft/world/level/block/NetherPortalBlock.java
89-
@@ -171,7 +171,18 @@ public class NetherPortalBlock extends Block implements Portal {
89+
@@ -172,7 +172,18 @@ public class NetherPortalBlock extends Block implements Portal {
9090

9191
@Nullable
9292
private DimensionTransition getExitPortal(ServerLevel worldserver, Entity entity, BlockPos blockposition, BlockPos blockposition1, boolean flag, WorldBorder worldborder, int searchRadius, boolean canCreatePortal, int createRadius) {

patches/server/0061-Creative-fly-no-clip.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Subject: [PATCH] Creative fly no clip
55

66

77
diff --git a/src/main/java/net/minecraft/world/entity/player/Player.java b/src/main/java/net/minecraft/world/entity/player/Player.java
8-
index 3f397423f023deaf4d8545201088b23ee3cc1cdd..2912f6c787882dece02edc0c2c480c7ff81659ae 100644
8+
index 54ba25632c2a9e1c93a5b3a0b92e5280864c49d6..eff9284b853f6771b6d44c851643621897e18a17 100644
99
--- a/src/main/java/net/minecraft/world/entity/player/Player.java
1010
+++ b/src/main/java/net/minecraft/world/entity/player/Player.java
1111
@@ -251,8 +251,8 @@ public abstract class Player extends LivingEntity {
@@ -37,7 +37,7 @@ index 3f397423f023deaf4d8545201088b23ee3cc1cdd..2912f6c787882dece02edc0c2c480c7f
3737
AABB axisalignedbb;
3838

3939
if (this.isPassenger() && !this.getVehicle().isRemoved()) {
40-
@@ -2113,6 +2113,21 @@ public abstract class Player extends LivingEntity {
40+
@@ -2110,6 +2110,21 @@ public abstract class Player extends LivingEntity {
4141
@Override
4242
public abstract boolean isSpectator();
4343

patches/server/0090-Skip-entity-move-if-movement-is-zero.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Subject: [PATCH] Skip entity move if movement is zero
66
This patch is Powered by Gale(https://github.com/GaleMC/Gale)
77

88
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
9-
index 89303a5c20b48993290665669518e67dbd8eef8f..22fab19ae305f0eb67fb588db68f4ed4839888f8 100644
9+
index a2316b7e9426a50f01d11b329a365ce9cd56b329..8c99cd9ab1d41c3f1a26d168b58409456e4b5732 100644
1010
--- a/src/main/java/net/minecraft/world/entity/Entity.java
1111
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
1212
@@ -323,6 +323,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
@@ -31,7 +31,7 @@ index 89303a5c20b48993290665669518e67dbd8eef8f..22fab19ae305f0eb67fb588db68f4ed4
3131
final Vec3 originalMovement = movement; // Paper - Expose pre-collision velocity
3232
if (this.noPhysics) {
3333
this.setPos(this.getX() + movement.x, this.getY() + movement.y, this.getZ() + movement.z);
34-
@@ -4000,6 +4008,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
34+
@@ -4001,6 +4009,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
3535
}
3636

3737
public final void setBoundingBox(AABB boundingBox) {

patches/server/0107-Force-Void-Trade.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ index 0efc8d997b34302c3e0a5d7ec73a11a940dbeefe..d246c9932f3f98972124089306d6ed74
178178

179179
public void setToOutOfStock() {
180180
diff --git a/src/main/java/net/minecraft/world/level/block/EndGatewayBlock.java b/src/main/java/net/minecraft/world/level/block/EndGatewayBlock.java
181-
index 11486419dd98a013c7387d3d73f322a95a18c574..811e7d619900e86acb6f1bce33046a9d69e96e8a 100644
181+
index 3f5bb5c9ceb5b31fcc9ef0a7a6157e1e1cb2a09f..3087c60589de8fc38e12d322e58886ba76749507 100644
182182
--- a/src/main/java/net/minecraft/world/level/block/EndGatewayBlock.java
183183
+++ b/src/main/java/net/minecraft/world/level/block/EndGatewayBlock.java
184-
@@ -114,6 +114,16 @@ public class EndGatewayBlock extends BaseEntityBlock implements Portal {
184+
@@ -118,6 +118,16 @@ public class EndGatewayBlock extends BaseEntityBlock implements Portal {
185185
if (tileentity instanceof TheEndGatewayBlockEntity tileentityendgateway) {
186186
Vec3 vec3d = tileentityendgateway.getPortalPosition(world, pos);
187187

patches/server/0117-Linear-region-file-format.patch

Lines changed: 45 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Subject: [PATCH] Linear region file format
66
This patch is Powered by LinearPurpur(https://github.com/StupidCraft/LinearPurpur)
77

88
diff --git a/build.gradle.kts b/build.gradle.kts
9-
index 369d3cf80e4f86a7d30c45befd0e10a594236dd5..9a6ed88e2c117dee378dfe8b20c8548a6b56c22c 100644
9+
index b35bc56ca35e7ada015e011ab4c3136b4803e48c..ce53dd3066bf8cf8812dbdcb660397ba7e9764d0 100644
1010
--- a/build.gradle.kts
1111
+++ b/build.gradle.kts
1212
@@ -30,6 +30,10 @@ dependencies {
@@ -148,7 +148,7 @@ index e761b63eebc1e76b2bb1cb887d83d0b63ad6ec90..2fefc69cc1df01a5ede2e5f2642adec6
148148
try (DataInputStream out = new DataInputStream(new java.io.BufferedInputStream(new InflaterInputStream(Files.newInputStream(file))))) {
149149
return NbtIo.read((java.io.DataInput) out);
150150
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java
151-
index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f94f29f994 100644
151+
index 0615fd82b71efb9a397de01615050e6d906c2844..f400a188b70ea74f986f05861c35671d82e59b32 100644
152152
--- a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java
153153
+++ b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java
154154
@@ -21,7 +21,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
@@ -160,16 +160,24 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
160160
private final RegionStorageInfo info;
161161
private final Path folder;
162162
private final boolean sync;
163-
@@ -31,7 +31,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
163+
@@ -31,9 +31,15 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
164164
private static final int MAX_NON_EXISTING_CACHE = 1024 * 64;
165165
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet nonExistingRegionFiles = new it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet(MAX_NON_EXISTING_CACHE+1);
166166
private static String getRegionFileName(final int chunkX, final int chunkZ) {
167167
- return "r." + (chunkX >> REGION_SHIFT) + "." + (chunkZ >> REGION_SHIFT) + ".mca";
168168
+ return "r." + (chunkX >> REGION_SHIFT) + "." + (chunkZ >> REGION_SHIFT) + (org.leavesmc.leaves.LeavesConfig.regionFormatName != org.leavesmc.leaves.region.RegionFileFormat.LINEAR ? ".mca" : ".linear"); // Leaves
169169
}
170170

171+
+ // Leaves start
172+
+ private static String getOtherRegionFileName(final int chunkX, final int chunkZ) {
173+
+ return "r." + (chunkX >> REGION_SHIFT) + "." + (chunkZ >> REGION_SHIFT) + (org.leavesmc.leaves.LeavesConfig.regionFormatName == org.leavesmc.leaves.region.RegionFileFormat.LINEAR ? ".mca" : ".linear");
174+
+ }
175+
+ // Leaves end
176+
+
171177
private boolean doesRegionFilePossiblyExist(final long position) {
172-
@@ -66,15 +66,15 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
178+
synchronized (this.nonExistingRegionFiles) {
179+
if (this.nonExistingRegionFiles.contains(position)) {
180+
@@ -66,15 +72,15 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
173181
}
174182

175183
@Override
@@ -188,7 +196,27 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
188196
if (ret != null) {
189197
return ret;
190198
}
191-
@@ -98,7 +98,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
199+
@@ -86,19 +92,23 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
200+
if (this.regionCache.size() >= io.papermc.paper.configuration.GlobalConfiguration.get().misc.regionFileCacheSize) { // Paper
201+
this.regionCache.removeLast().close();
202+
}
203+
-
204+
- final Path regionPath = this.folder.resolve(getRegionFileName(chunkX, chunkZ));
205+
+ // Leaves start
206+
+ Path regionPath = this.folder.resolve(getRegionFileName(chunkX, chunkZ));
207+
208+
if (!java.nio.file.Files.exists(regionPath)) {
209+
- this.markNonExisting(key);
210+
- return null;
211+
+ regionPath = this.folder.resolve(getOtherRegionFileName(chunkX, chunkZ));
212+
+ if (!java.nio.file.Files.exists(regionPath)) {
213+
+ this.markNonExisting(key);
214+
+ return null;
215+
+ }
216+
}
217+
+ // Leaves end
218+
219+
this.createRegionFile(key);
192220

193221
FileUtil.createDirectoriesSafe(this.folder);
194222

@@ -197,7 +225,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
197225

198226
this.regionCache.putAndMoveToFirst(key, ret);
199227

200-
@@ -112,7 +112,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
228+
@@ -112,7 +122,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
201229
this.info = storageKey;
202230
}
203231

@@ -206,7 +234,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
206234
// Paper start - rewrite chunk system
207235
if (existingOnly) {
208236
return this.moonrise$getRegionFileIfExists(chunkcoordintpair.x, chunkcoordintpair.z);
209-
@@ -120,7 +120,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
237+
@@ -120,7 +130,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
210238
synchronized (this) {
211239
final long key = ChunkPos.asLong(chunkcoordintpair.x >> REGION_SHIFT, chunkcoordintpair.z >> REGION_SHIFT);
212240

@@ -215,7 +243,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
215243
if (ret != null) {
216244
return ret;
217245
}
218-
@@ -135,7 +135,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
246+
@@ -135,7 +145,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
219247

220248
FileUtil.createDirectoriesSafe(this.folder);
221249

@@ -224,7 +252,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
224252

225253
this.regionCache.putAndMoveToFirst(key, ret);
226254

227-
@@ -149,7 +149,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
255+
@@ -149,7 +159,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
228256
org.apache.logging.log4j.LogManager.getLogger().fatal(msg + " (" + file.toString().replaceAll(".+[\\\\/]", "") + " - " + x + "," + z + ") Go clean it up to remove this message. /minecraft:tp " + (x<<4)+" 128 "+(z<<4) + " - DO NOT REPORT THIS TO PAPER - You may ask for help on Discord, but do not file an issue. These error messages can not be removed.");
229257
}
230258

@@ -233,7 +261,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
233261
synchronized (regionfile) {
234262
try (DataInputStream datainputstream = regionfile.getChunkDataInputStream(chunkCoordinate)) {
235263
CompoundTag oversizedData = regionfile.getOversizedData(chunkCoordinate.x, chunkCoordinate.z);
236-
@@ -184,7 +184,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
264+
@@ -184,7 +194,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
237265
@Nullable
238266
public CompoundTag read(ChunkPos pos) throws IOException {
239267
// CraftBukkit start - SPIGOT-5680: There's no good reason to preemptively create files on read, save that for writing
@@ -242,7 +270,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
242270
if (regionfile == null) {
243271
return null;
244272
}
245-
@@ -235,7 +235,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
273+
@@ -235,7 +245,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
246274

247275
public void scanChunk(ChunkPos chunkPos, StreamTagVisitor scanner) throws IOException {
248276
// CraftBukkit start - SPIGOT-5680: There's no good reason to preemptively create files on read, save that for writing
@@ -251,7 +279,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
251279
if (regionfile == null) {
252280
return;
253281
}
254-
@@ -265,7 +265,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
282+
@@ -265,7 +275,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
255283
}
256284

257285
public void write(ChunkPos pos, @Nullable CompoundTag nbt) throws IOException { // Paper - public
@@ -260,7 +288,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
260288
// Paper start - rewrite chunk system
261289
if (regionfile == null) {
262290
// if the RegionFile doesn't exist, no point in deleting from it
263-
@@ -281,8 +281,33 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
291+
@@ -281,8 +291,33 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
264292
if (nbt == null) {
265293
regionfile.clear(pos);
266294
} else {
@@ -275,12 +303,12 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
275303
+ if (regionDataInputStream == null) {
276304
+ continue;
277305
+ }
278-
+
306+
279307
+ CompoundTag compoundTag = NbtIo.read(regionDataInputStream);
280308
+ try (DataOutputStream linearDataOutputStream = linearRegionFile.getChunkDataOutputStream(pos)) {
281309
+ NbtIo.write(compoundTag, linearDataOutputStream);
282310
+ }
283-
311+
+
284312
+ linearRegionFile.flush();
285313
+ if(java.nio.file.Files.isRegularFile(regionfile.getPath())) {
286314
+ java.nio.file.Files.delete(regionfile.getPath());
@@ -295,7 +323,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
295323
try {
296324
NbtIo.write(nbt, (DataOutput) dataoutputstream);
297325
regionfile.setOversized(pos.x, pos.z, false); // Paper - We don't do this anymore, mojang stores differently, but clear old meta flag if it exists to get rid of our own meta file once last oversized is gone
298-
@@ -324,7 +349,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
326+
@@ -324,7 +359,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
299327
// Paper start - rewrite chunk system
300328
synchronized (this) {
301329
final ExceptionCollector<IOException> exceptionCollector = new ExceptionCollector<>();
@@ -304,7 +332,7 @@ index 0615fd82b71efb9a397de01615050e6d906c2844..1c83375beea629ebd78d7027fbba81f9
304332
try {
305333
regionFile.close();
306334
} catch (final IOException ex) {
307-
@@ -341,7 +366,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
335+
@@ -341,7 +376,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise
308336
// Paper start - rewrite chunk system
309337
synchronized (this) {
310338
final ExceptionCollector<IOException> exceptionCollector = new ExceptionCollector<>();

patches/server/0127-Fix-falling-block-s-block-location.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Subject: [PATCH] Fix falling block's block location
55

66

77
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
8-
index e4767aaf0001ed7892a2d1132a051ec8c19a383d..d033a45e1ebe173d13011f5db6c89b4733bc1abe 100644
8+
index 0b42dc7526e2119cc921d9ed478c6c66c3a13a41..b450c19fbb6cc7266db4ddc4bc86546ca2054d5a 100644
99
--- a/src/main/java/net/minecraft/world/entity/Entity.java
1010
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
11-
@@ -4669,6 +4669,14 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
11+
@@ -4670,6 +4670,14 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
1212
int j = Mth.floor(y);
1313
int k = Mth.floor(z);
1414

0 commit comments

Comments
 (0)