diff options
author | Spottedleaf <[email protected]> | 2024-07-11 12:09:15 -0700 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2024-07-11 12:09:15 -0700 |
commit | 90ae1dc573bc9f2f0a60bbdcf497aa096e966c9d (patch) | |
tree | de2f1e3619c5d7fb8cabb13bc261850a8c2c3298 /patches/server/1000-Entity-Activation-Range-2.0.patch | |
parent | 7bd22b1835af2611c5ad597aef6470b1ece9b547 (diff) | |
download | Paper-90ae1dc573bc9f2f0a60bbdcf497aa096e966c9d.tar.gz Paper-90ae1dc573bc9f2f0a60bbdcf497aa096e966c9d.zip |
Port collision optimisation patch from Moonrise
Drop random ticking optimisation for now
Diffstat (limited to 'patches/server/1000-Entity-Activation-Range-2.0.patch')
-rw-r--r-- | patches/server/1000-Entity-Activation-Range-2.0.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/1000-Entity-Activation-Range-2.0.patch b/patches/server/1000-Entity-Activation-Range-2.0.patch index ddcaef5bad..019c1073c5 100644 --- a/patches/server/1000-Entity-Activation-Range-2.0.patch +++ b/patches/server/1000-Entity-Activation-Range-2.0.patch @@ -111,7 +111,7 @@ index eee9aa0d82c7446f3d32a9655abceb5279ea5226..a12864921a35a1fb3b6081d72e650582 } else { passenger.stopRiding(); diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 690d3f669092f0a0a39a93a401c2e8a1626650b4..ffee1fd60e863d1453796ee498fc5a3b13d26de8 100644 +index 4f4b7e738fe604808d837a38d23bf437bc1d5329..abc217e9166bce12590f37aa0e21d6202596e786 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -419,6 +419,8 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess @@ -340,10 +340,10 @@ index 0b7f52021441d633c37543e8ae485e81c292b747..d7f8464bf3eed0e42a5fc7f14a5b243d + } diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java -index d8adcbb64040cbd24df884f1ef79d4dff7f93a43..0a03a735ccdfa81c0607d5516b93a15eec43f3aa 100644 +index 0eeae82b1357c339dc0ea69a74ebbd6896c0c3b2..6048b243205a7f856fe5169303a4482723e208f9 100644 --- a/src/main/java/net/minecraft/world/level/Level.java +++ b/src/main/java/net/minecraft/world/level/Level.java -@@ -156,6 +156,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable, ca.spottedl +@@ -157,6 +157,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable, ca.spottedl public Map<BlockPos, BlockEntity> capturedTileEntities = new java.util.LinkedHashMap<>(); // Paper - Retain block place order when capturing blockstates public List<ItemEntity> captureDrops; public final it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap<SpawnCategory> ticksPerSpawnCategory = new it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap<>(); |