From c1d14dc076d107a70e4a9810dd2102d48d47b5b2 Mon Sep 17 00:00:00 2001 From: Josh Roy Date: Wed, 24 Nov 2021 20:24:51 -0500 Subject: [PATCH] all api patches done* *still waiting for leaf to port datafixer to 1.18 so i can do entity serialization --- .../0325-Add-BlockBreakBlockEvent.patch} | 0 ...lpers-for-left-right-click-to-Action.patch} | 2 +- ...prevent-NBT-copy-in-smithing-recipes.patch} | 0 .../0328-More-CommandBlock-API.patch} | 0 .../0329-Fix-plugin-provides-load-order.patch} | 0 ...d-missing-team-sidebar-display-slots.patch} | 0 .../0331-add-back-EntityPortalExitEvent.patch} | 0 ...o-find-targets-for-lightning-strikes.patch} | 2 +- .../0333-Get-entity-default-attributes.patch} | 0 .../0334-Left-handed-API.patch} | 0 .../0335-Add-advancement-display-API.patch} | 0 ...36-Add-ItemFactory-getMonsterEgg-API.patch} | 0 .../0337-Add-critical-damage-API.patch} | 0 .../0338-Fix-issues-with-mob-conversion.patch} | 0 ...Collidable-methods-to-various-places.patch} | 2 +- .../0340-Goat-ram-API.patch} | 0 ...Add-API-for-resetting-a-single-score.patch} | 0 .../0712-Add-BlockBreakBlockEvent.patch} | 14 +++++++------- ...prevent-NBT-copy-in-smithing-recipes.patch} | 8 ++++---- .../0714-More-CommandBlock-API.patch} | 2 +- ...d-missing-team-sidebar-display-slots.patch} | 0 .../0716-Add-back-EntityPortalExitEvent.patch} | 8 ++++---- ...o-find-targets-for-lightning-strikes.patch} | 10 +++++----- .../0718-Get-entity-default-attributes.patch} | 2 +- .../0719-Left-handed-API.patch} | 2 +- .../0720-Add-advancement-display-API.patch} | 4 ++-- ...21-Add-ItemFactory-getMonsterEgg-API.patch} | 0 .../0722-Add-critical-damage-API.patch} | 18 +++++++++--------- .../0723-Fix-issues-with-mob-conversion.patch} | 15 +-------------- ...Collidable-methods-to-various-places.patch} | 6 +++--- .../0725-Goat-ram-API.patch} | 8 ++++---- ...Add-API-for-resetting-a-single-score.patch} | 0 ...41-Add-Raw-Byte-Entity-Serialization.patch} | 2 +- ...26-Add-Raw-Byte-Entity-Serialization.patch} | 6 +++--- 34 files changed, 49 insertions(+), 62 deletions(-) rename patches/{unapplied/api/0330-Add-BlockBreakBlockEvent.patch => api/0325-Add-BlockBreakBlockEvent.patch} (100%) rename patches/{unapplied/api/0331-Add-helpers-for-left-right-hand-to-Action.patch => api/0326-Add-helpers-for-left-right-click-to-Action.patch} (94%) rename patches/{unapplied/api/0332-Option-to-prevent-NBT-copy-in-smithing-recipes.patch => api/0327-Option-to-prevent-NBT-copy-in-smithing-recipes.patch} (100%) rename patches/{unapplied/api/0333-More-CommandBlock-API.patch => api/0328-More-CommandBlock-API.patch} (100%) rename patches/{unapplied/api/0334-Fix-plugin-provides-load-order.patch => api/0329-Fix-plugin-provides-load-order.patch} (100%) rename patches/{unapplied/api/0335-Add-missing-team-sidebar-display-slots.patch => api/0330-Add-missing-team-sidebar-display-slots.patch} (100%) rename patches/{unapplied/api/0336-add-back-EntityPortalExitEvent.patch => api/0331-add-back-EntityPortalExitEvent.patch} (100%) rename patches/{unapplied/api/0337-Add-methods-to-find-targets-for-lightning-strikes.patch => api/0332-Add-methods-to-find-targets-for-lightning-strikes.patch} (95%) rename patches/{unapplied/api/0338-Get-entity-default-attributes.patch => api/0333-Get-entity-default-attributes.patch} (100%) rename patches/{unapplied/api/0339-Left-handed-API.patch => api/0334-Left-handed-API.patch} (100%) rename patches/{unapplied/api/0340-Add-advancement-display-API.patch => api/0335-Add-advancement-display-API.patch} (100%) rename patches/{unapplied/api/0341-Add-ItemFactory-getMonsterEgg-API.patch => api/0336-Add-ItemFactory-getMonsterEgg-API.patch} (100%) rename patches/{unapplied/api/0342-Add-critical-damage-API.patch => api/0337-Add-critical-damage-API.patch} (100%) rename patches/{unapplied/api/0343-Fix-issues-with-mob-conversion.patch => api/0338-Fix-issues-with-mob-conversion.patch} (100%) rename patches/{unapplied/api/0344-Add-isCollidable-methods-to-various-places.patch => api/0339-Add-isCollidable-methods-to-various-places.patch} (97%) rename patches/{unapplied/api/0345-Goat-ram-API.patch => api/0340-Goat-ram-API.patch} (100%) rename patches/{unapplied/api/0347-Add-API-for-resetting-a-single-score.patch => api/0341-Add-API-for-resetting-a-single-score.patch} (100%) rename patches/{unapplied/server/0744-Add-BlockBreakBlockEvent.patch => server/0712-Add-BlockBreakBlockEvent.patch} (88%) rename patches/{unapplied/server/0809-Option-to-prevent-NBT-copy-in-smithing-recipes.patch => server/0713-Option-to-prevent-NBT-copy-in-smithing-recipes.patch} (93%) rename patches/{unapplied/server/0810-More-CommmandBlock-API.patch => server/0714-More-CommandBlock-API.patch} (99%) rename patches/{unapplied/server/0814-Add-missing-team-sidebar-display-slots.patch => server/0715-Add-missing-team-sidebar-display-slots.patch} (100%) rename patches/{unapplied/server/0817-Add-back-EntityPortalExitEvent.patch => server/0716-Add-back-EntityPortalExitEvent.patch} (86%) rename patches/{unapplied/server/0820-Add-methods-to-find-targets-for-lightning-strikes.patch => server/0717-Add-methods-to-find-targets-for-lightning-strikes.patch} (86%) rename patches/{unapplied/server/0827-Get-entity-default-attributes.patch => server/0718-Get-entity-default-attributes.patch} (98%) rename patches/{unapplied/server/0828-Left-handed-API.patch => server/0719-Left-handed-API.patch} (90%) rename patches/{unapplied/server/0829-Add-advancement-display-API.patch => server/0720-Add-advancement-display-API.patch} (97%) rename patches/{unapplied/server/0830-Add-ItemFactory-getMonsterEgg-API.patch => server/0721-Add-ItemFactory-getMonsterEgg-API.patch} (100%) rename patches/{unapplied/server/0831-Add-critical-damage-API.patch => server/0722-Add-critical-damage-API.patch} (92%) rename patches/{unapplied/server/0838-Fix-issues-with-mob-conversion.patch => server/0723-Fix-issues-with-mob-conversion.patch} (69%) rename patches/{unapplied/server/0839-Add-isCollidable-methods-to-various-places.patch => server/0724-Add-isCollidable-methods-to-various-places.patch} (90%) rename patches/{unapplied/server/0841-Goat-ram-API.patch => server/0725-Goat-ram-API.patch} (84%) rename patches/{unapplied/server/0844-Add-API-for-resetting-a-single-score.patch => server/0726-Add-API-for-resetting-a-single-score.patch} (100%) rename patches/unapplied/api/{0346-Add-Raw-Byte-Entity-Serialization.patch => 0341-Add-Raw-Byte-Entity-Serialization.patch} (96%) rename patches/unapplied/server/{0842-Add-Raw-Byte-Entity-Serialization.patch => 0726-Add-Raw-Byte-Entity-Serialization.patch} (93%) diff --git a/patches/unapplied/api/0330-Add-BlockBreakBlockEvent.patch b/patches/api/0325-Add-BlockBreakBlockEvent.patch similarity index 100% rename from patches/unapplied/api/0330-Add-BlockBreakBlockEvent.patch rename to patches/api/0325-Add-BlockBreakBlockEvent.patch diff --git a/patches/unapplied/api/0331-Add-helpers-for-left-right-hand-to-Action.patch b/patches/api/0326-Add-helpers-for-left-right-click-to-Action.patch similarity index 94% rename from patches/unapplied/api/0331-Add-helpers-for-left-right-hand-to-Action.patch rename to patches/api/0326-Add-helpers-for-left-right-click-to-Action.patch index 075287e318..9dac2fe612 100644 --- a/patches/unapplied/api/0331-Add-helpers-for-left-right-hand-to-Action.patch +++ b/patches/api/0326-Add-helpers-for-left-right-click-to-Action.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Madeline Miller Date: Sun, 29 Aug 2021 17:00:56 +1000 -Subject: [PATCH] Add helpers for left/right hand to Action +Subject: [PATCH] Add helpers for left/right click to Action diff --git a/src/main/java/org/bukkit/event/block/Action.java b/src/main/java/org/bukkit/event/block/Action.java diff --git a/patches/unapplied/api/0332-Option-to-prevent-NBT-copy-in-smithing-recipes.patch b/patches/api/0327-Option-to-prevent-NBT-copy-in-smithing-recipes.patch similarity index 100% rename from patches/unapplied/api/0332-Option-to-prevent-NBT-copy-in-smithing-recipes.patch rename to patches/api/0327-Option-to-prevent-NBT-copy-in-smithing-recipes.patch diff --git a/patches/unapplied/api/0333-More-CommandBlock-API.patch b/patches/api/0328-More-CommandBlock-API.patch similarity index 100% rename from patches/unapplied/api/0333-More-CommandBlock-API.patch rename to patches/api/0328-More-CommandBlock-API.patch diff --git a/patches/unapplied/api/0334-Fix-plugin-provides-load-order.patch b/patches/api/0329-Fix-plugin-provides-load-order.patch similarity index 100% rename from patches/unapplied/api/0334-Fix-plugin-provides-load-order.patch rename to patches/api/0329-Fix-plugin-provides-load-order.patch diff --git a/patches/unapplied/api/0335-Add-missing-team-sidebar-display-slots.patch b/patches/api/0330-Add-missing-team-sidebar-display-slots.patch similarity index 100% rename from patches/unapplied/api/0335-Add-missing-team-sidebar-display-slots.patch rename to patches/api/0330-Add-missing-team-sidebar-display-slots.patch diff --git a/patches/unapplied/api/0336-add-back-EntityPortalExitEvent.patch b/patches/api/0331-add-back-EntityPortalExitEvent.patch similarity index 100% rename from patches/unapplied/api/0336-add-back-EntityPortalExitEvent.patch rename to patches/api/0331-add-back-EntityPortalExitEvent.patch diff --git a/patches/unapplied/api/0337-Add-methods-to-find-targets-for-lightning-strikes.patch b/patches/api/0332-Add-methods-to-find-targets-for-lightning-strikes.patch similarity index 95% rename from patches/unapplied/api/0337-Add-methods-to-find-targets-for-lightning-strikes.patch rename to patches/api/0332-Add-methods-to-find-targets-for-lightning-strikes.patch index c8e5b8b6c9..7c7c9187bb 100644 --- a/patches/unapplied/api/0337-Add-methods-to-find-targets-for-lightning-strikes.patch +++ b/patches/api/0332-Add-methods-to-find-targets-for-lightning-strikes.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Add methods to find targets for lightning strikes diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java -index 77577de113b1413ed1474850b4ef8e7fd0c07dd6..4f673e9123145dc78564dc3eef0edf75795dafc2 100644 +index 5810bcf92ddff080511dd07326769c8fef53d7b9..1f8a51897d9de00f0004ab1de479198390483f7d 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -757,6 +757,37 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient diff --git a/patches/unapplied/api/0338-Get-entity-default-attributes.patch b/patches/api/0333-Get-entity-default-attributes.patch similarity index 100% rename from patches/unapplied/api/0338-Get-entity-default-attributes.patch rename to patches/api/0333-Get-entity-default-attributes.patch diff --git a/patches/unapplied/api/0339-Left-handed-API.patch b/patches/api/0334-Left-handed-API.patch similarity index 100% rename from patches/unapplied/api/0339-Left-handed-API.patch rename to patches/api/0334-Left-handed-API.patch diff --git a/patches/unapplied/api/0340-Add-advancement-display-API.patch b/patches/api/0335-Add-advancement-display-API.patch similarity index 100% rename from patches/unapplied/api/0340-Add-advancement-display-API.patch rename to patches/api/0335-Add-advancement-display-API.patch diff --git a/patches/unapplied/api/0341-Add-ItemFactory-getMonsterEgg-API.patch b/patches/api/0336-Add-ItemFactory-getMonsterEgg-API.patch similarity index 100% rename from patches/unapplied/api/0341-Add-ItemFactory-getMonsterEgg-API.patch rename to patches/api/0336-Add-ItemFactory-getMonsterEgg-API.patch diff --git a/patches/unapplied/api/0342-Add-critical-damage-API.patch b/patches/api/0337-Add-critical-damage-API.patch similarity index 100% rename from patches/unapplied/api/0342-Add-critical-damage-API.patch rename to patches/api/0337-Add-critical-damage-API.patch diff --git a/patches/unapplied/api/0343-Fix-issues-with-mob-conversion.patch b/patches/api/0338-Fix-issues-with-mob-conversion.patch similarity index 100% rename from patches/unapplied/api/0343-Fix-issues-with-mob-conversion.patch rename to patches/api/0338-Fix-issues-with-mob-conversion.patch diff --git a/patches/unapplied/api/0344-Add-isCollidable-methods-to-various-places.patch b/patches/api/0339-Add-isCollidable-methods-to-various-places.patch similarity index 97% rename from patches/unapplied/api/0344-Add-isCollidable-methods-to-various-places.patch rename to patches/api/0339-Add-isCollidable-methods-to-various-places.patch index 05cb37047e..39c2d6eec6 100644 --- a/patches/unapplied/api/0344-Add-isCollidable-methods-to-various-places.patch +++ b/patches/api/0339-Add-isCollidable-methods-to-various-places.patch @@ -45,7 +45,7 @@ index 0b15fe8b5da29bf691c394098f0203a49504242e..c8c2e5bc2ec1d8d7ea445a1203c9d5a9 // Paper end } diff --git a/src/main/java/org/bukkit/block/Block.java b/src/main/java/org/bukkit/block/Block.java -index 0006a5a53dfa9fc81c608423e8740a9c820659a3..70caaf05be813ba390412714ba0a39981edc2475 100644 +index e959f844581eaa88f581a4fabcb39148624bbe9b..0dd0beee6800fb34520dfa2d05e5bdda76624d64 100644 --- a/src/main/java/org/bukkit/block/Block.java +++ b/src/main/java/org/bukkit/block/Block.java @@ -471,6 +471,13 @@ public interface Block extends Metadatable, net.kyori.adventure.translation.Tran diff --git a/patches/unapplied/api/0345-Goat-ram-API.patch b/patches/api/0340-Goat-ram-API.patch similarity index 100% rename from patches/unapplied/api/0345-Goat-ram-API.patch rename to patches/api/0340-Goat-ram-API.patch diff --git a/patches/unapplied/api/0347-Add-API-for-resetting-a-single-score.patch b/patches/api/0341-Add-API-for-resetting-a-single-score.patch similarity index 100% rename from patches/unapplied/api/0347-Add-API-for-resetting-a-single-score.patch rename to patches/api/0341-Add-API-for-resetting-a-single-score.patch diff --git a/patches/unapplied/server/0744-Add-BlockBreakBlockEvent.patch b/patches/server/0712-Add-BlockBreakBlockEvent.patch similarity index 88% rename from patches/unapplied/server/0744-Add-BlockBreakBlockEvent.patch rename to patches/server/0712-Add-BlockBreakBlockEvent.patch index 5360c87687..73d2960284 100644 --- a/patches/unapplied/server/0744-Add-BlockBreakBlockEvent.patch +++ b/patches/server/0712-Add-BlockBreakBlockEvent.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add BlockBreakBlockEvent diff --git a/src/main/java/net/minecraft/world/level/block/Block.java b/src/main/java/net/minecraft/world/level/block/Block.java -index 1a5605b11170dfe1bd37165de886bad0f2e38ecd..8c30e28b97ac7e8b54322c903e0b75ee8135620b 100644 +index 76b3d78f4c866a11bd7798af6b330340d898d7d9..ab5b9f00123e2ede2931ffc520684e482aac49b4 100644 --- a/src/main/java/net/minecraft/world/level/block/Block.java +++ b/src/main/java/net/minecraft/world/level/block/Block.java -@@ -331,6 +331,23 @@ public class Block extends BlockBehaviour implements ItemLike { +@@ -329,6 +329,23 @@ public class Block extends BlockBehaviour implements ItemLike { } } @@ -33,20 +33,20 @@ index 1a5605b11170dfe1bd37165de886bad0f2e38ecd..8c30e28b97ac7e8b54322c903e0b75ee public static void dropResources(BlockState state, Level world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack) { if (world instanceof ServerLevel) { diff --git a/src/main/java/net/minecraft/world/level/block/piston/PistonBaseBlock.java b/src/main/java/net/minecraft/world/level/block/piston/PistonBaseBlock.java -index 3678f75822b55c3c4c77565893269af4b7f9d8c9..d770649a9e9e9bb28b52d00cd082b87de5814593 100644 +index c7d23fcaa5702f0e8bbf616c86b16ab1b3400dbb..28256f1f0aeb7718a5866add4ec40ce0198c36b9 100644 --- a/src/main/java/net/minecraft/world/level/block/piston/PistonBaseBlock.java +++ b/src/main/java/net/minecraft/world/level/block/piston/PistonBaseBlock.java -@@ -410,7 +410,7 @@ public class PistonBaseBlock extends DirectionalBlock { +@@ -409,7 +409,7 @@ public class PistonBaseBlock extends DirectionalBlock { iblockdata1 = world.getBlockState(blockposition3); BlockEntity tileentity = iblockdata1.hasBlockEntity() ? world.getBlockEntity(blockposition3) : null; -- dropResources(iblockdata1, (LevelAccessor) world, blockposition3, tileentity); -+ dropResources(iblockdata1, (LevelAccessor) world, blockposition3, tileentity, pos); // Paper +- dropResources(iblockdata1, world, blockposition3, tileentity); ++ dropResources(iblockdata1, world, blockposition3, tileentity, pos); // Paper world.setBlock(blockposition3, Blocks.AIR.defaultBlockState(), 18); if (!iblockdata1.is((Tag) BlockTags.FIRE)) { world.addDestroyBlockEffect(blockposition3, iblockdata1); diff --git a/src/main/java/net/minecraft/world/level/material/FlowingFluid.java b/src/main/java/net/minecraft/world/level/material/FlowingFluid.java -index 6e3e873efa1f50f53cb6503bde8a981f9cefd006..7fda7da544b2d0bbd3803d88ee34c92350a8b8ef 100644 +index 18e24f400289fdfca0bf33ea0f93badeef3e46eb..1aab936f9f57bd2dda4444d6bd36e064809e5915 100644 --- a/src/main/java/net/minecraft/world/level/material/FlowingFluid.java +++ b/src/main/java/net/minecraft/world/level/material/FlowingFluid.java @@ -295,7 +295,7 @@ public abstract class FlowingFluid extends Fluid { diff --git a/patches/unapplied/server/0809-Option-to-prevent-NBT-copy-in-smithing-recipes.patch b/patches/server/0713-Option-to-prevent-NBT-copy-in-smithing-recipes.patch similarity index 93% rename from patches/unapplied/server/0809-Option-to-prevent-NBT-copy-in-smithing-recipes.patch rename to patches/server/0713-Option-to-prevent-NBT-copy-in-smithing-recipes.patch index 788db2c022..14e666a79e 100644 --- a/patches/unapplied/server/0809-Option-to-prevent-NBT-copy-in-smithing-recipes.patch +++ b/patches/server/0713-Option-to-prevent-NBT-copy-in-smithing-recipes.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Option to prevent NBT copy in smithing recipes diff --git a/src/main/java/net/minecraft/world/item/crafting/UpgradeRecipe.java b/src/main/java/net/minecraft/world/item/crafting/UpgradeRecipe.java -index 21e9ce106cb7c1cdeabbad38a83d2439570e452b..88d99451748bfbd2cd24b1f29971a275dc6df597 100644 +index d80fc47820edbb3bea439aedf2e02e82c1931e35..076e10e5d7908c590402cfbb739bf73bc00276ce 100644 --- a/src/main/java/net/minecraft/world/item/crafting/UpgradeRecipe.java +++ b/src/main/java/net/minecraft/world/item/crafting/UpgradeRecipe.java -@@ -26,8 +26,15 @@ public class UpgradeRecipe implements net.minecraft.world.item.crafting.Recipe Date: Thu, 23 Sep 2021 10:40:09 -0700 -Subject: [PATCH] More CommmandBlock API +Subject: [PATCH] More CommandBlock API diff --git a/src/main/java/io/papermc/paper/commands/PaperCommandBlockHolder.java b/src/main/java/io/papermc/paper/commands/PaperCommandBlockHolder.java diff --git a/patches/unapplied/server/0814-Add-missing-team-sidebar-display-slots.patch b/patches/server/0715-Add-missing-team-sidebar-display-slots.patch similarity index 100% rename from patches/unapplied/server/0814-Add-missing-team-sidebar-display-slots.patch rename to patches/server/0715-Add-missing-team-sidebar-display-slots.patch diff --git a/patches/unapplied/server/0817-Add-back-EntityPortalExitEvent.patch b/patches/server/0716-Add-back-EntityPortalExitEvent.patch similarity index 86% rename from patches/unapplied/server/0817-Add-back-EntityPortalExitEvent.patch rename to patches/server/0716-Add-back-EntityPortalExitEvent.patch index 36ceb88a14..30b0877a58 100644 --- a/patches/unapplied/server/0817-Add-back-EntityPortalExitEvent.patch +++ b/patches/server/0716-Add-back-EntityPortalExitEvent.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add back EntityPortalExitEvent diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 4f164f238177b5e2b18c76b7cc14596ec93409d1..e17bda0d13bae337cfad5ae31b118aa7a85499fc 100644 +index aeae0eb6260fa88c55eb8add7e5df3198fe3d465..dcfc726ab96dccc05848219e824ad7612dbfbdab 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java -@@ -3181,6 +3181,25 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, n +@@ -2970,6 +2970,25 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i } else { // CraftBukkit start worldserver = shapedetectorshape.world; @@ -34,7 +34,7 @@ index 4f164f238177b5e2b18c76b7cc14596ec93409d1..e17bda0d13bae337cfad5ae31b118aa7 this.unRide(); // CraftBukkit end -@@ -3194,8 +3213,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, n +@@ -2983,8 +3002,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i if (entity != null) { entity.restoreFrom(this); @@ -43,5 +43,5 @@ index 4f164f238177b5e2b18c76b7cc14596ec93409d1..e17bda0d13bae337cfad5ae31b118aa7 + entity.moveTo(position.x, position.y, position.z, yaw, pitch); // Paper - use EntityPortalExitEvent values + entity.setDeltaMovement(velocity); // Paper - use EntityPortalExitEvent values worldserver.addDuringTeleport(entity); - if (worldserver.getTypeKey() == DimensionType.END_LOCATION) { // CraftBukkit + if (worldserver.getTypeKey() == LevelStem.END) { // CraftBukkit ServerLevel.makeObsidianPlatform(worldserver, this); // CraftBukkit diff --git a/patches/unapplied/server/0820-Add-methods-to-find-targets-for-lightning-strikes.patch b/patches/server/0717-Add-methods-to-find-targets-for-lightning-strikes.patch similarity index 86% rename from patches/unapplied/server/0820-Add-methods-to-find-targets-for-lightning-strikes.patch rename to patches/server/0717-Add-methods-to-find-targets-for-lightning-strikes.patch index 37fb358660..45a7b5f040 100644 --- a/patches/unapplied/server/0820-Add-methods-to-find-targets-for-lightning-strikes.patch +++ b/patches/server/0717-Add-methods-to-find-targets-for-lightning-strikes.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add methods to find targets for lightning strikes diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java -index 08c6ea9f19fa9218af089ed3bd2dcda1e83591ed..710a1064cec9c7ec93e1258b0786e74ab9af0c12 100644 +index 27f03389f905e8e051eb4148016de7868c385819..b8e7f70f4ee1b28635537e04f7bd0d0cd6afb4b3 100644 --- a/src/main/java/net/minecraft/server/level/ServerLevel.java +++ b/src/main/java/net/minecraft/server/level/ServerLevel.java -@@ -956,6 +956,11 @@ public class ServerLevel extends Level implements WorldGenLevel { +@@ -748,6 +748,11 @@ public class ServerLevel extends Level implements WorldGenLevel { } protected BlockPos findLightningTargetAround(BlockPos pos) { @@ -20,7 +20,7 @@ index 08c6ea9f19fa9218af089ed3bd2dcda1e83591ed..710a1064cec9c7ec93e1258b0786e74a BlockPos blockposition1 = this.getHeightmapPos(Heightmap.Types.MOTION_BLOCKING, pos); Optional optional = this.findLightningRod(blockposition1); -@@ -970,6 +975,7 @@ public class ServerLevel extends Level implements WorldGenLevel { +@@ -762,6 +767,7 @@ public class ServerLevel extends Level implements WorldGenLevel { if (!list.isEmpty()) { return ((LivingEntity) list.get(this.random.nextInt(list.size()))).blockPosition(); } else { @@ -29,10 +29,10 @@ index 08c6ea9f19fa9218af089ed3bd2dcda1e83591ed..710a1064cec9c7ec93e1258b0786e74a blockposition1 = blockposition1.above(2); } diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index e5e23c907d49ee64218f3302e2a2323d6937a8a1..858e29ad77aee8a1b7797c2d82902abbfd662da2 100644 +index 7ebd935c7c43fb9ed50d5c8e9e5bb8e28080338b..69a4572c0eb4019491e099cf75049728a9aa4f99 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -701,6 +701,23 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -690,6 +690,23 @@ public class CraftWorld extends CraftRegionAccessor implements World { return (LightningStrike) lightning.getBukkitEntity(); } diff --git a/patches/unapplied/server/0827-Get-entity-default-attributes.patch b/patches/server/0718-Get-entity-default-attributes.patch similarity index 98% rename from patches/unapplied/server/0827-Get-entity-default-attributes.patch rename to patches/server/0718-Get-entity-default-attributes.patch index 98147486b9..01ad7f6a5a 100644 --- a/patches/unapplied/server/0827-Get-entity-default-attributes.patch +++ b/patches/server/0718-Get-entity-default-attributes.patch @@ -90,7 +90,7 @@ index 0000000000000000000000000000000000000000..4ecba0b02c2813a890aecc5586987879 + } +} diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index ff1f178b69efc4f167cb34095b7fd3acd4d00680..26273a6b9d49f0e12fe1ff3206c7f017a2f36e44 100644 +index e748601705a01e3b79a6f2b336307b21060abf7d..33c5533d6bb61f71ae2682ee0f1697adf01b0045 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java @@ -516,6 +516,18 @@ public final class CraftMagicNumbers implements UnsafeValues { diff --git a/patches/unapplied/server/0828-Left-handed-API.patch b/patches/server/0719-Left-handed-API.patch similarity index 90% rename from patches/unapplied/server/0828-Left-handed-API.patch rename to patches/server/0719-Left-handed-API.patch index 099fa6769c..dd1acc7723 100644 --- a/patches/unapplied/server/0828-Left-handed-API.patch +++ b/patches/server/0719-Left-handed-API.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Left handed API diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java -index 2386edf499cb292241f6ba60c1cdb46f2fe704ff..5a43e420f14fa52d71d41ff3694a179e7a1a5be3 100644 +index 0613ab9979a32a005fa2cbf24125022713daca3a..cf0be5ef01bddaabbfd11f54b2dacd68c68ad16a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java @@ -134,5 +134,15 @@ public abstract class CraftMob extends CraftLivingEntity implements Mob { diff --git a/patches/unapplied/server/0829-Add-advancement-display-API.patch b/patches/server/0720-Add-advancement-display-API.patch similarity index 97% rename from patches/unapplied/server/0829-Add-advancement-display-API.patch rename to patches/server/0720-Add-advancement-display-API.patch index 844b192d18..c2bd6b94c0 100644 --- a/patches/unapplied/server/0829-Add-advancement-display-API.patch +++ b/patches/server/0720-Add-advancement-display-API.patch @@ -74,10 +74,10 @@ index 0000000000000000000000000000000000000000..0567e500c40d3d424ddc19062c4f6da9 + } +} diff --git a/src/main/java/net/minecraft/advancements/DisplayInfo.java b/src/main/java/net/minecraft/advancements/DisplayInfo.java -index dea17bc7a6e4db470afaaad3c98940297a50e4e4..0b78ccceb55a1c0fa1f27f9ff1e303396c8f447d 100644 +index db939a754e9308ad68f1b09a970f7a1b00a673bf..538f19f15b553d14ad95f09b1c81359f4c68b17f 100644 --- a/src/main/java/net/minecraft/advancements/DisplayInfo.java +++ b/src/main/java/net/minecraft/advancements/DisplayInfo.java -@@ -27,6 +27,7 @@ public class DisplayInfo { +@@ -28,6 +28,7 @@ public class DisplayInfo { private final boolean hidden; private float x; private float y; diff --git a/patches/unapplied/server/0830-Add-ItemFactory-getMonsterEgg-API.patch b/patches/server/0721-Add-ItemFactory-getMonsterEgg-API.patch similarity index 100% rename from patches/unapplied/server/0830-Add-ItemFactory-getMonsterEgg-API.patch rename to patches/server/0721-Add-ItemFactory-getMonsterEgg-API.patch diff --git a/patches/unapplied/server/0831-Add-critical-damage-API.patch b/patches/server/0722-Add-critical-damage-API.patch similarity index 92% rename from patches/unapplied/server/0831-Add-critical-damage-API.patch rename to patches/server/0722-Add-critical-damage-API.patch index 549054d680..1751c53333 100644 --- a/patches/unapplied/server/0831-Add-critical-damage-API.patch +++ b/patches/server/0722-Add-critical-damage-API.patch @@ -29,10 +29,10 @@ index 80d19af2ad423bd3de0e039c5bb8f97af536aaa9..a828cad27fcd39f8bfbaefa97052a2a3 public static DamageSource sting(LivingEntity attacker) { return new EntityDamageSource("sting", attacker); diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java -index 1018f4640bab5876c5e0afb5b88f71437fb79662..cbdff14b26f67b5040c13659f9d64d9ec4c7eaed 100644 +index 3f9e3415db6cfee317da695793d295660ef29b18..beebd31d7a82a4edae0e2e7c5890cd13fbb6c4df 100644 --- a/src/main/java/net/minecraft/world/entity/LivingEntity.java +++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java -@@ -2571,15 +2571,27 @@ public abstract class LivingEntity extends Entity { +@@ -2570,15 +2570,27 @@ public abstract class LivingEntity extends Entity { return this.hasEffect(MobEffects.JUMP) ? (double) (0.1F * (float) (this.getEffect(MobEffects.JUMP).getAmplifier() + 1)) : 0.0D; } @@ -62,10 +62,10 @@ index 1018f4640bab5876c5e0afb5b88f71437fb79662..cbdff14b26f67b5040c13659f9d64d9e this.hasImpulse = true; diff --git a/src/main/java/net/minecraft/world/entity/player/Player.java b/src/main/java/net/minecraft/world/entity/player/Player.java -index ce713e1857121ca52467ad561c4fbb30ae054d87..94e76e295dbd0f3bac4b30a3e7338cd56a971207 100644 +index 44c2820a33ed40b4ef2ebd20708347d3cc2437ae..b6f8e94df86c174569ccbc69cfd031cc08271dd3 100644 --- a/src/main/java/net/minecraft/world/entity/player/Player.java +++ b/src/main/java/net/minecraft/world/entity/player/Player.java -@@ -1218,7 +1218,7 @@ public abstract class Player extends LivingEntity { +@@ -1215,7 +1215,7 @@ public abstract class Player extends LivingEntity { flag1 = true; } @@ -74,7 +74,7 @@ index ce713e1857121ca52467ad561c4fbb30ae054d87..94e76e295dbd0f3bac4b30a3e7338cd5 flag2 = flag2 && !level.paperConfig.disablePlayerCrits; // Paper flag2 = flag2 && !this.isSprinting(); -@@ -1258,7 +1258,7 @@ public abstract class Player extends LivingEntity { +@@ -1255,7 +1255,7 @@ public abstract class Player extends LivingEntity { } Vec3 vec3d = target.getDeltaMovement(); @@ -83,9 +83,9 @@ index ce713e1857121ca52467ad561c4fbb30ae054d87..94e76e295dbd0f3bac4b30a3e7338cd5 if (flag5) { if (i > 0) { -@@ -1286,7 +1286,7 @@ public abstract class Player extends LivingEntity { +@@ -1283,7 +1283,7 @@ public abstract class Player extends LivingEntity { - if (entityliving != this && entityliving != target && !this.isAlliedTo(entityliving) && (!(entityliving instanceof ArmorStand) || !((ArmorStand) entityliving).isMarker()) && this.distanceToSqr((Entity) entityliving) < 9.0D) { + if (entityliving != this && entityliving != target && !this.isAlliedTo((Entity) entityliving) && (!(entityliving instanceof ArmorStand) || !((ArmorStand) entityliving).isMarker()) && this.distanceToSqr((Entity) entityliving) < 9.0D) { // CraftBukkit start - Only apply knockback if the damage hits - if (entityliving.hurt(DamageSource.playerAttack(this).sweep(), f4)) { + if (entityliving.hurt(DamageSource.playerAttack(this).sweep().critical(flag2), f4)) { // Paper - add critical damage API @@ -93,7 +93,7 @@ index ce713e1857121ca52467ad561c4fbb30ae054d87..94e76e295dbd0f3bac4b30a3e7338cd5 } // CraftBukkit end diff --git a/src/main/java/net/minecraft/world/entity/projectile/AbstractArrow.java b/src/main/java/net/minecraft/world/entity/projectile/AbstractArrow.java -index 6636845ea044c3810e1880aad8b679134cd33668..52e4948fd1657fa1776ac6b0142e8c21e7567976 100644 +index b436103957113bff5e553dacb869c775a3f8b059..3d3dcb47720055f550d17d1f106a2c0e59de2919 100644 --- a/src/main/java/net/minecraft/world/entity/projectile/AbstractArrow.java +++ b/src/main/java/net/minecraft/world/entity/projectile/AbstractArrow.java @@ -381,6 +381,7 @@ public abstract class AbstractArrow extends Projectile { @@ -105,7 +105,7 @@ index 6636845ea044c3810e1880aad8b679134cd33668..52e4948fd1657fa1776ac6b0142e8c21 int k = entity.getRemainingFireTicks(); diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java -index 2b2654ec04e8abca9db09d6257edf11099bb0d9b..c0b46ff81994e037e734b75afadcce372c2ddd7f 100644 +index 5013a93f9bdc6d2c52239ca0434c7aa40f0572e1..aaf47d3f58819ead3553973c159c5c6eec4abe43 100644 --- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java +++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java @@ -964,7 +964,7 @@ public class CraftEventFactory { diff --git a/patches/unapplied/server/0838-Fix-issues-with-mob-conversion.patch b/patches/server/0723-Fix-issues-with-mob-conversion.patch similarity index 69% rename from patches/unapplied/server/0838-Fix-issues-with-mob-conversion.patch rename to patches/server/0723-Fix-issues-with-mob-conversion.patch index ce962e6de7..65a03ed56e 100644 --- a/patches/unapplied/server/0838-Fix-issues-with-mob-conversion.patch +++ b/patches/server/0723-Fix-issues-with-mob-conversion.patch @@ -27,7 +27,7 @@ index 116709ba2b298268ac806e6e45f2e910ca600706..1eeaf0cc9b00afd54f38f9cb50404ec9 } diff --git a/src/main/java/net/minecraft/world/entity/monster/piglin/AbstractPiglin.java b/src/main/java/net/minecraft/world/entity/monster/piglin/AbstractPiglin.java -index cbf181b30bae134150933c721f22161e3e9ffca3..12a1cb536d5cb109cac75636369ed1b2bfa3a0a4 100644 +index 38f56cb4adeac0d7dcad63d0fbd98f17ab6e3b46..5e0e6ab7eaa9825b2f8c90353c30673dd43dd8b8 100644 --- a/src/main/java/net/minecraft/world/entity/monster/piglin/AbstractPiglin.java +++ b/src/main/java/net/minecraft/world/entity/monster/piglin/AbstractPiglin.java @@ -105,6 +105,11 @@ public abstract class AbstractPiglin extends Monster { @@ -42,16 +42,3 @@ index cbf181b30bae134150933c721f22161e3e9ffca3..12a1cb536d5cb109cac75636369ed1b2 } -diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java -index 61e2841fea6603e3e5fbd004de7ffdfb79fc9981..4a873a278a4dc76d868d789574a7890bf53832d7 100644 ---- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java -+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java -@@ -28,7 +28,7 @@ public class CraftSkeleton extends CraftAbstractSkeleton implements Skeleton { - this.getHandle().conversionTime = -1; - this.getHandle().getEntityData().set(net.minecraft.world.entity.monster.Skeleton.DATA_STRAY_CONVERSION_ID, false); - } else { -- this.getHandle().getSwimAmount(time); // PAIL rename startStrayConversion -+ this.getHandle().startFreezeConversion(time); // PAIL rename startStrayConversion // Paper - nope, that's not the right method - } - } - diff --git a/patches/unapplied/server/0839-Add-isCollidable-methods-to-various-places.patch b/patches/server/0724-Add-isCollidable-methods-to-various-places.patch similarity index 90% rename from patches/unapplied/server/0839-Add-isCollidable-methods-to-various-places.patch rename to patches/server/0724-Add-isCollidable-methods-to-various-places.patch index 84c0379606..b8f069e4b5 100644 --- a/patches/unapplied/server/0839-Add-isCollidable-methods-to-various-places.patch +++ b/patches/server/0724-Add-isCollidable-methods-to-various-places.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add isCollidable methods to various places diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java -index e3944d0f4fd18ef6c545dc4a131c0b120dff753a..5154cfffc414e1f6039e55f1a256bbaacb56bc55 100644 +index ee24edb7f3821ae3a1881824257d21226f909adb..808bdd0e8d6b679c2eee87c3078a4c3dbcd08b8b 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java -@@ -470,6 +470,11 @@ public class CraftBlock implements Block { +@@ -473,6 +473,11 @@ public class CraftBlock implements Block { public boolean isSolid() { return getNMS().getMaterial().blocksMotion(); } @@ -37,7 +37,7 @@ index 7b9e943b391c061782fccd2b8d705ceec8db50fe..966ac60daebb7bb211ab8096fc0c5f33 + // Paper end } diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index 26273a6b9d49f0e12fe1ff3206c7f017a2f36e44..eb11abe4bc8f06d457da674848b39fc3b3873d1a 100644 +index 33c5533d6bb61f71ae2682ee0f1697adf01b0045..691b110e8a64081b68868456089908fe38fbc1cf 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java @@ -528,6 +528,12 @@ public final class CraftMagicNumbers implements UnsafeValues { diff --git a/patches/unapplied/server/0841-Goat-ram-API.patch b/patches/server/0725-Goat-ram-API.patch similarity index 84% rename from patches/unapplied/server/0841-Goat-ram-API.patch rename to patches/server/0725-Goat-ram-API.patch index 8491164ccb..641bebca80 100644 --- a/patches/unapplied/server/0841-Goat-ram-API.patch +++ b/patches/server/0725-Goat-ram-API.patch @@ -5,15 +5,15 @@ Subject: [PATCH] Goat ram API diff --git a/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java b/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java -index 32d0387b6c66462ca965add78a562dec3c4b95a9..c7e24da48aaff9fbd1a8272483231744326e3a8e 100644 +index d3c4f93ee2aa1902eeca197c72eb17199fc41fb2..cc5687f43f8ac99995667fdc53c5c0586f70f367 100644 --- a/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java +++ b/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java -@@ -279,6 +279,17 @@ public class Goat extends Animal { - return new Goat.GoatPathNavigation(this, world); +@@ -285,6 +285,17 @@ public class Goat extends Animal { + return world.getBlockState(pos.below()).is((Tag) BlockTags.GOATS_SPAWNABLE_ON) && isBrightEnoughToSpawn(world, pos); } + // Paper start - Goat ram API -+ public void ram(LivingEntity entity) { ++ public void ram(net.minecraft.world.entity.LivingEntity entity) { + Brain brain = this.getBrain(); + brain.setMemory(MemoryModuleType.RAM_TARGET, entity.position()); + brain.eraseMemory(MemoryModuleType.RAM_COOLDOWN_TICKS); diff --git a/patches/unapplied/server/0844-Add-API-for-resetting-a-single-score.patch b/patches/server/0726-Add-API-for-resetting-a-single-score.patch similarity index 100% rename from patches/unapplied/server/0844-Add-API-for-resetting-a-single-score.patch rename to patches/server/0726-Add-API-for-resetting-a-single-score.patch diff --git a/patches/unapplied/api/0346-Add-Raw-Byte-Entity-Serialization.patch b/patches/unapplied/api/0341-Add-Raw-Byte-Entity-Serialization.patch similarity index 96% rename from patches/unapplied/api/0346-Add-Raw-Byte-Entity-Serialization.patch rename to patches/unapplied/api/0341-Add-Raw-Byte-Entity-Serialization.patch index 188c6c9cf7..75dd345d5d 100644 --- a/patches/unapplied/api/0346-Add-Raw-Byte-Entity-Serialization.patch +++ b/patches/unapplied/api/0341-Add-Raw-Byte-Entity-Serialization.patch @@ -24,7 +24,7 @@ index c8c2e5bc2ec1d8d7ea445a1203c9d5a904dfc666..014c9984018ad5e51a26228a137e1ba4 * Return the translation key for the Material, so the client can translate it into the active * locale when using a {@link net.kyori.adventure.text.TranslatableComponent}. diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java -index d515de1c316f14165ee327bc81f0be98b60db3bf..350384ba10435b1115e4386a78d8145f748b6b29 100644 +index 18795003815d5bb6e04a15256430f69a31b2ace5..bafad5764cc3933fcd9602d37bd2e68424cbd575 100644 --- a/src/main/java/org/bukkit/entity/Entity.java +++ b/src/main/java/org/bukkit/entity/Entity.java @@ -767,5 +767,32 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent diff --git a/patches/unapplied/server/0842-Add-Raw-Byte-Entity-Serialization.patch b/patches/unapplied/server/0726-Add-Raw-Byte-Entity-Serialization.patch similarity index 93% rename from patches/unapplied/server/0842-Add-Raw-Byte-Entity-Serialization.patch rename to patches/unapplied/server/0726-Add-Raw-Byte-Entity-Serialization.patch index f600a0f9f3..3f8b6c847d 100644 --- a/patches/unapplied/server/0842-Add-Raw-Byte-Entity-Serialization.patch +++ b/patches/unapplied/server/0726-Add-Raw-Byte-Entity-Serialization.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add Raw Byte Entity Serialization diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 996f09eaf7d1d6c5e27e2bb2630a6bcb18854172..6d2cc9d1813c862dfd23cb6897d4f4f4845af529 100644 +index dcfc726ab96dccc05848219e824ad7612dbfbdab..7713f26d4a97df94c27694d28881d298e4c54147 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java -@@ -2008,6 +2008,15 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, n +@@ -1788,6 +1788,15 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i } } @@ -45,7 +45,7 @@ index ee50ea695585639d0ff184b675f3fb3b205b9f86..0bd800e1aeda87689a6c56ee6fadda38 // Paper end } diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index eb11abe4bc8f06d457da674848b39fc3b3873d1a..424f3a9a645d57ad43c52932f5b388b5f146b9f0 100644 +index 691b110e8a64081b68868456089908fe38fbc1cf..673b5192c32ee1b3c0d15462d3fadb0f31cd6a03 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java @@ -421,6 +421,29 @@ public final class CraftMagicNumbers implements UnsafeValues {