mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-19 05:51:58 +01:00
[ci skip] Add identifying line to some larger/optimization patches
This commit is contained in:
parent
4d8a84c459
commit
468c86ed14
@ -3,6 +3,7 @@ From: Bjarne Koll <git@lynxplay.dev>
|
|||||||
Date: Thu, 13 Jun 2024 23:45:32 +0200
|
Date: Thu, 13 Jun 2024 23:45:32 +0200
|
||||||
Subject: [PATCH] Add registry entry and builders
|
Subject: [PATCH] Add registry entry and builders
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/io/papermc/paper/registry/PaperRegistries.java b/src/main/java/io/papermc/paper/registry/PaperRegistries.java
|
diff --git a/src/main/java/io/papermc/paper/registry/PaperRegistries.java b/src/main/java/io/papermc/paper/registry/PaperRegistries.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
@ -32,6 +32,8 @@ This fix also maintains compatability if someone switches server jars to one wit
|
|||||||
this fix, as the data will remain in the oversized file. Once the server returns
|
this fix, as the data will remain in the oversized file. Once the server returns
|
||||||
to a jar with this fix, the data will be restored.
|
to a jar with this fix, the data will be restored.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java
|
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java
|
--- a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java
|
||||||
|
@ -3,6 +3,7 @@ From: stonar96 <minecraft.stonar96@gmail.com>
|
|||||||
Date: Thu, 25 Nov 2021 13:27:51 +0100
|
Date: Thu, 25 Nov 2021 13:27:51 +0100
|
||||||
Subject: [PATCH] Anti-Xray
|
Subject: [PATCH] Anti-Xray
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/antixray/BitStorageReader.java b/src/main/java/com/destroystokyo/paper/antixray/BitStorageReader.java
|
diff --git a/src/main/java/com/destroystokyo/paper/antixray/BitStorageReader.java b/src/main/java/com/destroystokyo/paper/antixray/BitStorageReader.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
|
@ -9,6 +9,8 @@ we instead drop the current regionfile header and recalculate -
|
|||||||
hoping that at least then we don't swap chunks, and maybe recover
|
hoping that at least then we don't swap chunks, and maybe recover
|
||||||
them all.
|
them all.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/RegionBitmap.java b/src/main/java/net/minecraft/world/level/chunk/storage/RegionBitmap.java
|
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/RegionBitmap.java b/src/main/java/net/minecraft/world/level/chunk/storage/RegionBitmap.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/level/chunk/storage/RegionBitmap.java
|
--- a/src/main/java/net/minecraft/world/level/chunk/storage/RegionBitmap.java
|
||||||
|
@ -3,6 +3,7 @@ From: Spottedleaf <Spottedleaf@users.noreply.github.com>
|
|||||||
Date: Mon, 2 Aug 2021 10:10:40 +0200
|
Date: Mon, 2 Aug 2021 10:10:40 +0200
|
||||||
Subject: [PATCH] Check distance in entity interactions
|
Subject: [PATCH] Check distance in entity interactions
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/Util.java b/src/main/java/net/minecraft/Util.java
|
diff --git a/src/main/java/net/minecraft/Util.java b/src/main/java/net/minecraft/Util.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
@ -6,6 +6,8 @@ Subject: [PATCH] Detail more information in watchdog dumps
|
|||||||
- Dump position, world, velocity, and uuid for currently ticking entities
|
- Dump position, world, velocity, and uuid for currently ticking entities
|
||||||
- Dump player name, player uuid, position, and world for packet handling
|
- Dump player name, player uuid, position, and world for packet handling
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/network/Connection.java b/src/main/java/net/minecraft/network/Connection.java
|
diff --git a/src/main/java/net/minecraft/network/Connection.java b/src/main/java/net/minecraft/network/Connection.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/network/Connection.java
|
--- a/src/main/java/net/minecraft/network/Connection.java
|
||||||
|
@ -13,6 +13,8 @@ Adds water Mobs to activation range config and nerfs fish
|
|||||||
Adds flying monsters to control ghast and phantoms
|
Adds flying monsters to control ghast and phantoms
|
||||||
Adds villagers as separate config
|
Adds villagers as separate config
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
== AT ==
|
== AT ==
|
||||||
public net.minecraft.world.entity.Entity isInsidePortal
|
public net.minecraft.world.entity.Entity isInsidePortal
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ which is most likely in an unloaded chunk - which means that the
|
|||||||
client will not tick the entity and thus not lerp the entity
|
client will not tick the entity and thus not lerp the entity
|
||||||
from its old position to its new position.
|
from its old position to its new position.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java b/src/main/java/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java
|
diff --git a/src/main/java/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java b/src/main/java/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java
|
--- a/src/main/java/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.java
|
||||||
|
@ -9,6 +9,8 @@ when if this was fixed on the client, that wouldn't be needed.
|
|||||||
|
|
||||||
Mojira Issue: https://bugs.mojang.com/browse/MC-235045
|
Mojira Issue: https://bugs.mojang.com/browse/MC-235045
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/commands/CommandSourceStack.java b/src/main/java/net/minecraft/commands/CommandSourceStack.java
|
diff --git a/src/main/java/net/minecraft/commands/CommandSourceStack.java b/src/main/java/net/minecraft/commands/CommandSourceStack.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/commands/CommandSourceStack.java
|
--- a/src/main/java/net/minecraft/commands/CommandSourceStack.java
|
||||||
|
@ -18,6 +18,8 @@ public net.minecraft.world.level.levelgen.SurfaceRules$SurfaceRule
|
|||||||
|
|
||||||
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
|
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/io/papermc/paper/world/worldgen/OptionallyFlatBedrockConditionSource.java b/src/main/java/io/papermc/paper/world/worldgen/OptionallyFlatBedrockConditionSource.java
|
diff --git a/src/main/java/io/papermc/paper/world/worldgen/OptionallyFlatBedrockConditionSource.java b/src/main/java/io/papermc/paper/world/worldgen/OptionallyFlatBedrockConditionSource.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
||||||
|
@ -6,6 +6,8 @@ Subject: [PATCH] Handle Oversized block entities in chunks
|
|||||||
Splits out Extra Packets if too many TE's are encountered to prevent
|
Splits out Extra Packets if too many TE's are encountered to prevent
|
||||||
creating too large of a packet to sed.
|
creating too large of a packet to sed.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
|
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData.java b/src/main/java/net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData.java
|
diff --git a/src/main/java/net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData.java b/src/main/java/net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData.java
|
||||||
|
@ -84,15 +84,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -0,0 +0,0 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
@@ -0,0 +0,0 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean canSee(org.bukkit.entity.Entity entity) {
|
|
||||||
- return this.equals(entity) || entity.isVisibleByDefault() ^ this.invertedVisibilityEntities.containsKey(entity.getUniqueId()); // SPIGOT-7312: Can always see self
|
|
||||||
+ return this.getUniqueId().equals(entity.getUniqueId()) || entity.isVisibleByDefault() ^ this.invertedVisibilityEntities.containsKey(entity.getUniqueId()); // SPIGOT-7312: Can always see self
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean canSeePlayer(UUID uuid) {
|
|
||||||
@@ -0,0 +0,0 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
if (this.hash == 0 || this.hash == 485) {
|
if (this.hash == 0 || this.hash == 485) {
|
||||||
|
@ -12,6 +12,8 @@ custom renderers are in use, defaulting to the much simpler Vanilla system.
|
|||||||
|
|
||||||
Additionally, numerous issues to player position tracking on maps has been fixed.
|
Additionally, numerous issues to player position tracking on maps has been fixed.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
|
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
|
||||||
|
@ -19,6 +19,8 @@ for each craft, that logic is run 9 times (hence the 64 * 9). The + 64 is from t
|
|||||||
After this patch, the full iteration over all recipes checking for a match should run once for a full craft to find the
|
After this patch, the full iteration over all recipes checking for a match should run once for a full craft to find the
|
||||||
initial recipe match. Then that recipe will be checked first for all future recipe match checks.
|
initial recipe match. Then that recipe will be checked first for all future recipe match checks.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/inventory/CraftingContainer.java b/src/main/java/net/minecraft/world/inventory/CraftingContainer.java
|
diff --git a/src/main/java/net/minecraft/world/inventory/CraftingContainer.java b/src/main/java/net/minecraft/world/inventory/CraftingContainer.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/inventory/CraftingContainer.java
|
--- a/src/main/java/net/minecraft/world/inventory/CraftingContainer.java
|
||||||
|
@ -40,6 +40,8 @@ This is to ensure that if main isn't truely stuck, it's not manipulating state w
|
|||||||
This also moves all plugins who register "delayed init" tasks to occur just before "Done" so they
|
This also moves all plugins who register "delayed init" tasks to occur just before "Done" so they
|
||||||
are properly accounted for and wont trip watchdog on init.
|
are properly accounted for and wont trip watchdog on init.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/Metrics.java b/src/main/java/com/destroystokyo/paper/Metrics.java
|
diff --git a/src/main/java/com/destroystokyo/paper/Metrics.java b/src/main/java/com/destroystokyo/paper/Metrics.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/com/destroystokyo/paper/Metrics.java
|
--- a/src/main/java/com/destroystokyo/paper/Metrics.java
|
||||||
|
@ -3,6 +3,7 @@ From: Shane Freeder <theboyetronic@gmail.com>
|
|||||||
Date: Sun, 9 Jun 2019 03:53:22 +0100
|
Date: Sun, 9 Jun 2019 03:53:22 +0100
|
||||||
Subject: [PATCH] Incremental chunk and player saving
|
Subject: [PATCH] Incremental chunk and player saving
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
@ -7,6 +7,8 @@ Areas affected by lag comepnsation:
|
|||||||
- Block breaking and destroying
|
- Block breaking and destroying
|
||||||
- Eating food items
|
- Eating food items
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
|
@ -5,6 +5,8 @@ Subject: [PATCH] Optimise collision checking in player move packet handling
|
|||||||
|
|
||||||
Move collision logic to just the hasNewCollision call instead of getCubes + hasNewCollision
|
Move collision logic to just the hasNewCollision call instead of getCubes + hasNewCollision
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||||
|
@ -30,6 +30,8 @@ This patch also specifically optimises other areas of code to
|
|||||||
use PoiAccess. For example, some villager AI and portaling code
|
use PoiAccess. For example, some villager AI and portaling code
|
||||||
had to be specifically modified.
|
had to be specifically modified.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/io/papermc/paper/util/PoiAccess.java b/src/main/java/io/papermc/paper/util/PoiAccess.java
|
diff --git a/src/main/java/io/papermc/paper/util/PoiAccess.java b/src/main/java/io/papermc/paper/util/PoiAccess.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
||||||
|
@ -6,6 +6,8 @@ Subject: [PATCH] Optimize Bit Operations by inlining
|
|||||||
Inline bit operations and reduce instruction count to make these hot
|
Inline bit operations and reduce instruction count to make these hot
|
||||||
operations faster
|
operations faster
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/core/BlockPos.java b/src/main/java/net/minecraft/core/BlockPos.java
|
diff --git a/src/main/java/net/minecraft/core/BlockPos.java b/src/main/java/net/minecraft/core/BlockPos.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/core/BlockPos.java
|
--- a/src/main/java/net/minecraft/core/BlockPos.java
|
||||||
|
@ -13,6 +13,8 @@ If that serting is not enabled, collisions will be ignored for players, since
|
|||||||
movement will load only the chunk the player enters anyways and avoids loading
|
movement will load only the chunk the player enters anyways and avoids loading
|
||||||
massive amounts of surrounding chunks due to large AABB lookups.
|
massive amounts of surrounding chunks due to large AABB lookups.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
|
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
|
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||||
|
@ -6,6 +6,8 @@ Subject: [PATCH] Optimize GoalSelector Goal.Flag Set operations
|
|||||||
Optimise the stream.anyMatch statement to move to a bitset
|
Optimise the stream.anyMatch statement to move to a bitset
|
||||||
where we can replace the call with a single bitwise operation.
|
where we can replace the call with a single bitwise operation.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/entity/ai/goal/Goal.java b/src/main/java/net/minecraft/world/entity/ai/goal/Goal.java
|
diff --git a/src/main/java/net/minecraft/world/entity/ai/goal/Goal.java b/src/main/java/net/minecraft/world/entity/ai/goal/Goal.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/entity/ai/goal/Goal.java
|
--- a/src/main/java/net/minecraft/world/entity/ai/goal/Goal.java
|
||||||
|
@ -12,6 +12,8 @@ Subject: [PATCH] Optimize Hoppers
|
|||||||
* Don't check for Entities with Inventories if the block above us is also occluding (not just Inventoried)
|
* Don't check for Entities with Inventories if the block above us is also occluding (not just Inventoried)
|
||||||
* Remove Streams from Item Suck In and restore restore 1.12 AABB checks which is simpler and no voxel allocations (was doing TWO Item Suck ins)
|
* Remove Streams from Item Suck In and restore restore 1.12 AABB checks which is simpler and no voxel allocations (was doing TWO Item Suck ins)
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/io/papermc/paper/event/inventory/PaperInventoryMoveItemEvent.java b/src/main/java/io/papermc/paper/event/inventory/PaperInventoryMoveItemEvent.java
|
diff --git a/src/main/java/io/papermc/paper/event/inventory/PaperInventoryMoveItemEvent.java b/src/main/java/io/papermc/paper/event/inventory/PaperInventoryMoveItemEvent.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
||||||
|
@ -27,6 +27,8 @@ and then catch exceptions and close if they fire.
|
|||||||
|
|
||||||
Part of this commit was authored by: Spottedleaf, sandtechnology
|
Part of this commit was authored by: Spottedleaf, sandtechnology
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/network/Connection.java b/src/main/java/net/minecraft/network/Connection.java
|
diff --git a/src/main/java/net/minecraft/network/Connection.java b/src/main/java/net/minecraft/network/Connection.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/network/Connection.java
|
--- a/src/main/java/net/minecraft/network/Connection.java
|
||||||
|
@ -15,6 +15,8 @@ Optimize collection by creating a list instead of a set of the key and value.
|
|||||||
This lets us get faster foreach iteration, as well as avoids map lookups on
|
This lets us get faster foreach iteration, as well as avoids map lookups on
|
||||||
the values when needed.
|
the values when needed.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/pathfinder/PathFinder.java b/src/main/java/net/minecraft/world/level/pathfinder/PathFinder.java
|
diff --git a/src/main/java/net/minecraft/world/level/pathfinder/PathFinder.java b/src/main/java/net/minecraft/world/level/pathfinder/PathFinder.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/level/pathfinder/PathFinder.java
|
--- a/src/main/java/net/minecraft/world/level/pathfinder/PathFinder.java
|
||||||
|
@ -29,6 +29,8 @@ and compute a deterministic result for the MergerList values.
|
|||||||
Additionally, this lets us avoid even allocating new objects for this too, further
|
Additionally, this lets us avoid even allocating new objects for this too, further
|
||||||
reducing memory usage.
|
reducing memory usage.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/phys/shapes/IndirectMerger.java b/src/main/java/net/minecraft/world/phys/shapes/IndirectMerger.java
|
diff --git a/src/main/java/net/minecraft/world/phys/shapes/IndirectMerger.java b/src/main/java/net/minecraft/world/phys/shapes/IndirectMerger.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/phys/shapes/IndirectMerger.java
|
--- a/src/main/java/net/minecraft/world/phys/shapes/IndirectMerger.java
|
||||||
|
@ -11,6 +11,8 @@ Replace all calls to the new place to the unnecessary forward.
|
|||||||
|
|
||||||
Optimize getType and getBlockData to manually inline and optimize the calls
|
Optimize getType and getBlockData to manually inline and optimize the calls
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/core/Vec3i.java b/src/main/java/net/minecraft/core/Vec3i.java
|
diff --git a/src/main/java/net/minecraft/core/Vec3i.java b/src/main/java/net/minecraft/core/Vec3i.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/core/Vec3i.java
|
--- a/src/main/java/net/minecraft/core/Vec3i.java
|
||||||
|
@ -3,6 +3,7 @@ From: kickash32 <kickash32@gmail.com>
|
|||||||
Date: Mon, 19 Aug 2019 01:27:58 +0500
|
Date: Mon, 19 Aug 2019 01:27:58 +0500
|
||||||
Subject: [PATCH] Optional per player mob spawns
|
Subject: [PATCH] Optional per player mob spawns
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/level/ChunkMap.java b/src/main/java/net/minecraft/server/level/ChunkMap.java
|
diff --git a/src/main/java/net/minecraft/server/level/ChunkMap.java b/src/main/java/net/minecraft/server/level/ChunkMap.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
@ -19,6 +19,8 @@ and so we have to (forcibly) resend them in order for the client to reset their
|
|||||||
|
|
||||||
See: https://github.com/PaperMC/Paper/pull/1896
|
See: https://github.com/PaperMC/Paper/pull/1896
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
== AT ==
|
== AT ==
|
||||||
public net.minecraft.server.level.ChunkMap$TrackedEntity serverEntity
|
public net.minecraft.server.level.ChunkMap$TrackedEntity serverEntity
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
|||||||
Date: Mon, 27 Feb 2023 18:28:39 -0800
|
Date: Mon, 27 Feb 2023 18:28:39 -0800
|
||||||
Subject: [PATCH] Registry Modification API
|
Subject: [PATCH] Registry Modification API
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
== AT ==
|
== AT ==
|
||||||
public net.minecraft.core.MappedRegistry validateWrite(Lnet/minecraft/resources/ResourceKey;)V
|
public net.minecraft.core.MappedRegistry validateWrite(Lnet/minecraft/resources/ResourceKey;)V
|
||||||
public net.minecraft.resources.RegistryOps lookupProvider
|
public net.minecraft.resources.RegistryOps lookupProvider
|
||||||
|
@ -3,6 +3,8 @@ From: Josh Roy <10731363+JRoy@users.noreply.github.com>
|
|||||||
Date: Wed, 1 Jul 2020 18:01:49 -0400
|
Date: Wed, 1 Jul 2020 18:01:49 -0400
|
||||||
Subject: [PATCH] Remove streams from hot code
|
Subject: [PATCH] Remove streams from hot code
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
|
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
|
||||||
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
|
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ From: Andrew Steinborn <git@steinborn.me>
|
|||||||
Date: Mon, 26 Jul 2021 02:15:17 -0400
|
Date: Mon, 26 Jul 2021 02:15:17 -0400
|
||||||
Subject: [PATCH] Use Velocity compression and cipher natives
|
Subject: [PATCH] Use Velocity compression and cipher natives
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
== AT ==
|
== AT ==
|
||||||
private-f net.minecraft.network.CompressionDecoder inflater
|
private-f net.minecraft.network.CompressionDecoder inflater
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ From: lukas81298 <lukas81298@gommehd.net>
|
|||||||
Date: Fri, 22 Jan 2021 21:50:18 +0100
|
Date: Fri, 22 Jan 2021 21:50:18 +0100
|
||||||
Subject: [PATCH] optimize dirt and snow spreading
|
Subject: [PATCH] optimize dirt and snow spreading
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/block/SpreadingSnowyDirtBlock.java b/src/main/java/net/minecraft/world/level/block/SpreadingSnowyDirtBlock.java
|
diff --git a/src/main/java/net/minecraft/world/level/block/SpreadingSnowyDirtBlock.java b/src/main/java/net/minecraft/world/level/block/SpreadingSnowyDirtBlock.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
@ -25,6 +25,8 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Feature patch
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||||
|
Loading…
Reference in New Issue
Block a user