diff options
author | Jake Potrebic <[email protected]> | 2024-05-23 11:44:07 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-23 11:44:07 -0700 |
commit | 6de7a1f0522fd74d907185fa86696996acca9cbe (patch) | |
tree | 8e8554823bd271422cd2d502a36c8e7db32c6745 /patches/server/0608-Add-Raw-Byte-Entity-Serialization.patch | |
parent | d408381c77967194b62bd7ed4035c83e33b852c4 (diff) | |
download | Paper-6de7a1f0522fd74d907185fa86696996acca9cbe.tar.gz Paper-6de7a1f0522fd74d907185fa86696996acca9cbe.zip |
Improve default item attributes API (#10765)
Diffstat (limited to 'patches/server/0608-Add-Raw-Byte-Entity-Serialization.patch')
-rw-r--r-- | patches/server/0608-Add-Raw-Byte-Entity-Serialization.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0608-Add-Raw-Byte-Entity-Serialization.patch b/patches/server/0608-Add-Raw-Byte-Entity-Serialization.patch index b35e62fbc2..d13d024902 100644 --- a/patches/server/0608-Add-Raw-Byte-Entity-Serialization.patch +++ b/patches/server/0608-Add-Raw-Byte-Entity-Serialization.patch @@ -7,7 +7,7 @@ Subject: [PATCH] Add Raw Byte Entity Serialization public net.minecraft.world.entity.Entity setLevel(Lnet/minecraft/world/level/Level;)V diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 541789139e9ccb0371a93da989b1f9701fceb034..6b66a9732f8e8b23b8d00beb9822fbb46ac76cab 100644 +index 74c5f418ea6b5861d8e5d4ced17b5a8772d6dcde..4abb1661e04278bf27a844cd0a957d4537aece37 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -2106,6 +2106,15 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess @@ -50,10 +50,10 @@ index 9edcdc71b28cf08e42fbe44723ba540e8d4f7808..a61638bc8200f6aa25d9c3254aea6c0c @Override public boolean isInvisible() { // Paper - moved up from LivingEntity diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index 3824a02431e3b1d82576937248f2a57f1a0414b0..a2961166695e5fe4c607c82a490ce67c2e1b5fde 100644 +index 6a1f645595a579036b64ec05f24c967892d14376..0bf7e2b73bbde4ac23a2f52a145de464f0851396 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -@@ -513,7 +513,33 @@ public final class CraftMagicNumbers implements UnsafeValues { +@@ -504,7 +504,33 @@ public final class CraftMagicNumbers implements UnsafeValues { return CraftItemStack.asCraftMirror(net.minecraft.world.item.ItemStack.parse(MinecraftServer.getServer().registryAccess(), compound).orElseThrow()); } |