From 1b383d7e9b423879564c41c6970fa3e4bf845bbb Mon Sep 17 00:00:00 2001 From: Jason <11360596+jpenilla@users.noreply.github.com> Date: Thu, 9 Sep 2021 11:57:16 -0500 Subject: [PATCH] Fix VanillaGoals when in reobfuscated environment (#6580) --- ....patch => 0428-misc-debugging-dumps.patch} | 16 +-- ...traces-in-log-messages-crash-report.patch} | 34 +++-- ...atch => 0430-Implement-Mob-Goal-API.patch} | 120 ++---------------- ...ance-map-to-optimise-entity-tracker.patch} | 0 ...isOutsideRange-to-use-distance-maps.patch} | 0 ...=> 0433-Add-villager-reputation-API.patch} | 0 ...maximum-exp-value-when-merging-orbs.patch} | 0 ...tch => 0435-ExperienceOrbMergeEvent.patch} | 0 ...-Fix-PotionEffect-ignores-icon-flag.patch} | 0 ...brigadier-child-sorting-performance.patch} | 0 ...API.patch => 0438-Potential-bed-API.patch} | 0 ...ait-for-Async-Tasks-during-shutdown.patch} | 8 +- ...er-respects-game-and-entity-rules-f.patch} | 0 ...nd-End-Portal-Frames-from-being-des.patch} | 9 +- ...leInt-allocations-from-light-engine.patch} | 0 ...location-of-Vec3D-by-entity-tracker.patch} | 0 ...> 0444-Ensure-safe-gateway-teleport.patch} | 0 ...-for-console-having-all-permissions.patch} | 6 +- ...Levels-chunk-level-checking-methods.patch} | 0 ...n-Full-Status-Chunk-NBT-Memory-Leak.patch} | 0 ...packets-to-nearby-locations-sounds-.patch} | 0 ...x-villager-trading-demand-MC-163962.patch} | 0 ... => 0450-Maps-shouldn-t-load-chunks.patch} | 0 ...okup-for-Treasure-Maps-Fixes-lag-fr.patch} | 0 ...nk-Unloads-based-on-Player-Movement.patch} | 0 ...Optimize-Bit-Operations-by-inlining.patch} | 0 ...Plugin-Tickets-to-API-Chunk-Methods.patch} | 2 +- ...ch => 0455-incremental-chunk-saving.patch} | 4 +- ...sing-chunks-due-to-integer-overflow.patch} | 0 ...r-runTaskTimerAsynchronously-Plugin.patch} | 0 ...ton-physics-inconsistency-MC-188840.patch} | 4 +- ...uping.patch => 0459-Fix-sand-duping.patch} | 0 ...desync-in-playerconnection-causing-.patch} | 0 ...older-method-without-block-snapshot.patch} | 0 ...h => 0462-Expose-Arrow-getItemStack.patch} | 0 ...mplement-PlayerRecipeBookClickEvent.patch} | 0 ...-Hide-sync-chunk-writes-behind-flag.patch} | 0 ...5-Add-permission-for-command-blocks.patch} | 0 ...ure-Entity-AABB-s-are-never-invalid.patch} | 0 ...orldBorder-collision-checks-and-air.patch} | 0 ...d-Difficulty-Remembering-Difficulty.patch} | 8 +- ...atch => 0469-Paper-dumpitem-command.patch} | 0 ...70-Don-t-allow-null-UUID-s-for-chat.patch} | 0 ...Legacy-Component-serialization-size.patch} | 0 ...e-operations-for-updating-light-dat.patch} | 0 ...473-Support-old-UUID-format-for-NBT.patch} | 0 ...p-duplicated-GameProfile-Properties.patch} | 0 ...vert-legacy-attributes-in-Item-Meta.patch} | 0 ...Remove-some-streams-from-structures.patch} | 0 ...rom-classes-related-villager-gossip.patch} | 0 ...e-NibbleArray-to-use-pooled-buffers.patch} | 0 ...0479-Support-components-in-ItemMeta.patch} | 0 ...rgetLivingEntityEvent-for-1.16-mobs.patch} | 0 ...patch => 0481-Add-entity-liquid-API.patch} | 0 ...date-itemstack-legacy-name-and-lore.patch} | 0 ...wn-player-in-correct-world-on-login.patch} | 0 ...atch => 0484-Add-PrepareResultEvent.patch} | 0 ...low-delegation-to-vanilla-chunk-gen.patch} | 4 +- ...-for-portal-on-world-gen-entity-add.patch} | 0 ...-Priority-Urgency-System-for-Chunks.patch} | 0 ...prove-Chunk-Status-Transition-Speed.patch} | 0 ...e-NetworkManager-Exception-Handling.patch} | 0 ...ncement-data-player-iteration-to-be.patch} | 0 ...x-arrows-never-despawning-MC-125757.patch} | 0 ...Vanilla-Command-permission-checking.patch} | 0 ...ve-range-check-for-block-placing-up.patch} | 0 ...-5989.patch => 0494-Fix-SPIGOT-5989.patch} | 0 ...-Bukkit-world-container-is-not-used.patch} | 0 ...5885-Unable-to-disable-advancements.patch} | 0 ...taPlayer-leak-due-from-quitting-ear.patch} | 0 ...eLighting-call-to-World-spigot-stri.patch} | 0 ...h => 0499-Incremental-player-saving.patch} | 10 +- ...ix-some-rails-connecting-improperly.patch} | 0 ...Fix-MC-187716-Use-configured-height.patch} | 0 ...stake-in-CB-NBT-int-deserialization.patch} | 0 ...rver-load-chunks-from-newer-version.patch} | 0 ...support.patch => 0504-Brand-support.patch} | 0 ...patch => 0505-Add-setMaxPlayers-API.patch} | 2 +- ...PickupItemAnimation-to-LivingEntity.patch} | 0 ...h => 0507-Don-t-require-FACING-data.patch} | 0 ...eEvent-not-firing-for-all-use-cases.patch} | 0 ...PI.patch => 0509-Add-moon-phase-API.patch} | 0 ...headless-pistons-from-being-created.patch} | 4 +- ...ent.patch => 0511-Add-BellRingEvent.patch} | 0 ...dd-zombie-targets-turtle-egg-config.patch} | 0 ...patch => 0513-Buffer-joins-to-world.patch} | 4 +- ...=> 0514-Optimize-redstone-algorithm.patch} | 0 ...s-not-working-in-some-kick-messages.patch} | 2 +- ...reateEvent-needs-to-know-its-entity.patch} | 0 ...ch => 0517-Fix-CraftTeam-null-check.patch} | 0 ...I.patch => 0518-Add-more-Evoker-API.patch} | 0 ...Add-methods-to-get-translation-keys.patch} | 0 ...te-HoverEvent-from-ItemStack-Entity.patch} | 0 ...ch => 0521-Cache-block-data-strings.patch} | 4 +- ...rtation-and-cancel-velocity-if-tele.patch} | 0 ...l-open-container-api-to-HumanEntity.patch} | 0 ...aFixerUpper-Rewrite-Rules-on-demand.patch} | 0 ...-capture-to-capture-all-items-added.patch} | 0 ...ty-in-invalid-locations-SPIGOT-6086.patch} | 0 ...-Counter-to-allow-plugins-to-use-va.patch} | 0 ...track-plugin-scoreboards-by-default.patch} | 4 +- ...king.patch => 0529-Entity-isTicking.patch} | 0 ...non-whitelisted-player-when-white-l.patch} | 4 +- ...x-Concurrency-issue-in-WeightedList.patch} | 0 ...eset-Ender-Crystals-on-Dragon-Spawn.patch} | 0 ...-large-move-vectors-crashing-server.patch} | 0 ...atch => 0534-Optimise-getType-calls.patch} | 0 ....patch => 0535-Villager-resetOffers.patch} | 0 ...nig-for-some-hot-IBlockData-methods.patch} | 0 ...ce-order-when-capturing-blockstates.patch} | 0 ...lockpos-allocation-from-pathfinding.patch} | 0 ...em-locations-dropped-from-campfires.patch} | 0 ...tch => 0540-Player-elytra-boost-API.patch} | 0 ...41-Fixed-TileEntityBell-memory-leak.patch} | 0 ...ing-up-when-item-stack-is-empty-in-.patch} | 0 ...Add-getOfflinePlayerIfCached-String.patch} | 4 +- ...ch => 0544-Add-ignore-discounts-API.patch} | 0 ...Toggle-for-removing-existing-dragon.patch} | 0 ...x-client-lag-on-advancement-loading.patch} | 0 ...> 0547-Item-no-age-no-player-pickup.patch} | 0 ...er-Remove-Streams-Optimized-collect.patch} | 0 ...549-Beacon-API-custom-effect-ranges.patch} | 0 ...tch => 0550-Add-API-for-quit-reason.patch} | 0 ...h => 0551-Seed-based-feature-search.patch} | 0 ...ng-Trader-spawn-rate-config-options.patch} | 0 ...rove-performance-of-the-end-generat.patch} | 0 ...ch => 0554-Expose-world-spawn-angle.patch} | 0 ...patch => 0555-Add-Destroy-Speed-API.patch} | 0 ...-spawnParticle-x-y-z-precision-loss.patch} | 0 ...57-Add-LivingEntity-clearActiveItem.patch} | 0 ...=> 0558-Add-PlayerItemCooldownEvent.patch} | 0 ...PI.patch => 0559-More-lightning-API.patch} | 0 ...should-not-bypass-cramming-gamerule.patch} | 0 ...-missing-default-perms-for-commands.patch} | 0 ...h => 0562-Add-PlayerShearBlockEvent.patch} | 0 ...rbose-world-setting-to-false-by-def.patch} | 0 ...ng-zombie-villager-discount-exploit.patch} | 0 ....patch => 0565-Limit-recipe-packets.patch} | 2 +- ...-CraftSound-backwards-compatibility.patch} | 0 ... 0567-MC-4-Fix-item-position-desync.patch} | 4 +- ...568-Player-Chunk-Load-Unload-Events.patch} | 0 ...9-Optimize-Dynamic-get-Missing-Keys.patch} | 0 ...-Expose-LivingEntity-hurt-direction.patch} | 0 ...OBSTRUCTED-reason-to-BedEnterResult.patch} | 0 ...-invalid-ingredient-lists-in-Villag.patch} | 0 ...atch => 0573-added-PlayerTradeEvent.patch} | 0 ...ch => 0574-Implement-TargetHitEvent.patch} | 0 ...575-Additional-Block-Material-API-s.patch} | 0 ...tch => 0576-Fix-harming-potion-dupe.patch} | 0 ...get-Material-from-Boats-and-Minecar.patch} | 0 ....patch => 0578-Cache-burn-durations.patch} | 0 ...ob-spawner-spawn-egg-transformation.patch} | 0 ...ix-Not-a-string-Map-Conversion-spam.patch} | 0 ...ment-PlayerFlowerPotManipulateEvent.patch} | 0 ...event-not-being-called-in-adventure.patch} | 0 ...h => 0583-Zombie-API-breaking-doors.patch} | 0 ...584-Fix-nerfed-slime-when-splitting.patch} | 0 ...=> 0585-Add-EntityLoadCrossbowEvent.patch} | 0 ...ch => 0586-Guardian-beam-workaround.patch} | 0 ...0587-Added-WorldGameRuleChangeEvent.patch} | 0 ...-Added-ServerResourcesReloadedEvent.patch} | 6 +- ...d-settings-for-mobs-picking-up-loot.patch} | 0 ...mplemented-BlockFailedDispenseEvent.patch} | 0 ...-Added-PlayerLecternPageChangeEvent.patch} | 0 ...-Added-PlayerLoomPatternSelectEvent.patch} | 0 ...nfigurable-door-breaking-difficulty.patch} | 0 ...ty-commands-shall-not-be-dispatched.patch} | 0 ...I-to-expose-exact-interaction-point.patch} | 0 ...OIs.patch => 0596-Remove-stale-POIs.patch} | 0 ...h => 0597-Fix-villager-boat-exploit.patch} | 0 ...I.patch => 0598-Add-sendOpLevel-API.patch} | 0 ...ch => 0599-Add-StructureLocateEvent.patch} | 0 ...-for-requiring-a-player-participant.patch} | 0 ...leHitEvent-call-when-fireballs-dead.patch} | 0 ...nent-with-empty-text-instead-of-thr.patch} | 0 ...603-Make-schedule-command-per-world.patch} | 0 ...604-Configurable-max-leash-distance.patch} | 0 ...605-Implement-BlockPreDispenseEvent.patch} | 0 ...h => 0606-Added-Vanilla-Entity-Tags.patch} | 4 +- ...-API.patch => 0607-added-Wither-API.patch} | 0 ...ng-of-PlayerChangeBeaconEffectEvent.patch} | 0 ...e-for-always-placing-the-dragon-egg.patch} | 0 ...-PlayerStonecutterRecipeSelectEvent.patch} | 0 ...eash-variable-to-EntityUnleashEvent.patch} | 0 ...e-map-update-when-spawning-disabled.patch} | 0 ...shield-blocking-on-dimension-change.patch} | 0 ...atch => 0614-add-DragonEggFormEvent.patch} | 0 ...Event.patch => 0615-EntityMoveEvent.patch} | 4 +- ...isable-pathfinding-updates-on-block.patch} | 0 ... 0617-Inline-shift-direction-fields.patch} | 0 ...-adding-items-to-BlockDropItemEvent.patch} | 0 ...inThreadExecutor-to-BukkitScheduler.patch} | 0 ...entity-allow-attribute-registration.patch} | 0 ...ix-dead-slime-setSize-invincibility.patch} | 0 ...pes-should-return-an-immutable-list.patch} | 0 ...port-for-hex-color-codes-in-console.patch} | 6 +- ...atch => 0624-Expose-Tracked-Players.patch} | 0 ...5-Remove-streams-from-SensorNearest.patch} | 0 ...ix-Wither-hostility-towards-players.patch} | 0 ...er-exception-on-empty-JsonList-file.patch} | 0 ...GUI.patch => 0628-Improve-ServerGUI.patch} | 0 ...ure-plate-EntityInteractEvent-for-i.patch} | 0 ...630-fix-converting-txt-to-json-file.patch} | 4 +- ...atch => 0631-Add-worldborder-events.patch} | 0 ...=> 0632-added-PlayerNameEntityEvent.patch} | 0 ...grindstones-from-overstacking-items.patch} | 0 ...h => 0634-Add-recipe-to-cook-events.patch} | 0 ...patch => 0635-Add-Block-isValidTool.patch} | 0 ...using-signs-inside-spawn-protection.patch} | 0 ...ch => 0637-Implement-Keyed-on-World.patch} | 0 ...ternative-constructor-for-Rotations.patch} | 0 ...y-API.patch => 0639-Item-Rarity-API.patch} | 0 ...imer-for-Wandering-Traders-spawned-.patch} | 0 ...py-TESign-isEditable-from-snapshots.patch} | 0 ...d-item-when-player-has-disconnected.patch} | 0 ...elist-use-configurable-kick-message.patch} | 0 ...gnore-result-of-PlayerEditBookEvent.patch} | 0 ...45-Entity-load-save-limit-per-chunk.patch} | 0 ...block-falling-causing-client-desync.patch} | 0 ...tch => 0647-Expose-protocol-version.patch} | 0 ...nt-suggestion-tooltips-in-AsyncTabC.patch} | 0 ...ab-completions-for-brigadier-comman.patch} | 4 +- ...temConsumeEvent-cancelling-properly.patch} | 0 ...patch => 0651-Add-bypass-host-check.patch} | 0 ...0652-Set-area-affect-cloud-rotation.patch} | 0 ...add-isDeeplySleeping-to-HumanEntity.patch} | 0 ...ting-give-items-on-item-drop-cancel.patch} | 0 ...add-consumeFuel-to-FurnaceBurnEvent.patch} | 0 ...-set-drop-chance-to-EntityEquipment.patch} | 0 ...ix-PigZombieAngerEvent-cancellation.patch} | 0 ...-checkReach-check-for-Shulker-boxes.patch} | 0 ...ix-PlayerItemHeldEvent-firing-twice.patch} | 0 ... => 0660-Added-PlayerDeepSleepEvent.patch} | 0 ...ld-API.patch => 0661-More-World-API.patch} | 0 ... 0662-Added-PlayerBedFailEnterEvent.patch} | 0 ...-to-convert-between-Component-and-B.patch} | 6 +- ...n-acting-as-a-bed-respawn-from-the-.patch} | 0 ...acon-activation-deactivation-events.patch} | 0 ...-RespawnFlags-to-PlayerRespawnEvent.patch} | 0 ...dd-Channel-initialization-listeners.patch} | 0 ...mands-if-tab-completion-is-disabled.patch} | 0 ...> 0669-Add-more-WanderingTrader-API.patch} | 0 ...dd-EntityBlockStorage-clearEntities.patch} | 0 ...ssage-to-PlayerAdvancementDoneEvent.patch} | 0 ...address-to-AsyncPlayerPreLoginEvent.patch} | 0 ...close.patch => 0673-Inventory-close.patch} | 0 ...reateEvent-players-and-end-platform.patch} | 0 ...-in-sunlight-API-for-Phantoms-and-S.patch} | 0 ...=> 0676-Fix-CraftPotionBrewer-cache.patch} | 0 ...atch => 0677-Add-basic-Datapack-API.patch} | 0 ...ment-variable-to-disable-server-gui.patch} | 0 ...itions-to-PlayerGameModeChangeEvent.patch} | 0 ... => 0680-ItemStack-repair-check-API.patch} | 0 ....patch => 0681-More-Enchantment-API.patch} | 0 ...option-to-load-extra-plugin-jars-no.patch} | 0 ...-and-optimise-world-force-upgrading.patch} | 0 ...PI.patch => 0684-Add-Mob-lookAt-API.patch} | 0 ...0685-Add-Unix-domain-socket-support.patch} | 6 +- ... => 0686-Add-EntityInsideBlockEvent.patch} | 0 ...87-Attributes-API-for-item-defaults.patch} | 0 ...hantCustom-emit-PlayerPurchaseEvent.patch} | 0 ...ause-to-Weather-ThunderChangeEvents.patch} | 0 ...patch => 0690-More-Lidded-Block-API.patch} | 0 ...91-Limit-item-frame-cursors-on-maps.patch} | 0 ...0692-Add-PufferFishStateChangeEvent.patch} | 0 ... => 0693-Add-PlayerKickEvent-causes.patch} | 0 ...erBucketEmptyEvent-result-itemstack.patch} | 0 ...tedContainer-instead-of-ReentrantLo.patch} | 0 ...-to-fix-items-merging-through-walls.patch} | 0 ...h => 0697-Add-BellRevealRaiderEvent.patch} | 0 ... 0698-Fix-invulnerable-end-crystals.patch} | 0 ...99-Add-ElderGuardianAppearanceEvent.patch} | 0 ...0700-Fix-dangerous-end-portal-logic.patch} | 0 ...-Biome-Mob-Lookups-for-Mob-Spawning.patch} | 0 ...-Make-item-validations-configurable.patch} | 4 +- ...patch => 0703-Line-Of-Sight-Changes.patch} | 0 ... => 0704-add-per-world-spawn-limits.patch} | 0 ...plashEvent-for-water-splash-potions.patch} | 0 ...tus-dataconverter-for-pre-1.13-chun.patch} | 0 ... => 0707-Add-more-LimitedRegion-API.patch} | 0 ...layerDropItemEvent-using-wrong-item.patch} | 0 ...0-Replace-player-chunk-loader-system.patch | 4 +- .../0780-Add-packet-limiter-config.patch | 4 +- .../0781-Lag-compensate-block-breaking.patch | 4 +- ...-packets-for-hard-colliding-entities.patch | 4 +- 285 files changed, 108 insertions(+), 211 deletions(-) rename patches/server/{0621-misc-debugging-dumps.patch => 0428-misc-debugging-dumps.patch} (87%) rename patches/server/{0708-Deobfuscate-stacktraces-in-log-messages-crash-report.patch => 0429-Deobfuscate-stacktraces-in-log-messages-crash-report.patch} (94%) rename patches/server/{0428-Implement-Mob-Goal-API.patch => 0430-Implement-Mob-Goal-API.patch} (84%) rename patches/server/{0429-Use-distance-map-to-optimise-entity-tracker.patch => 0431-Use-distance-map-to-optimise-entity-tracker.patch} (100%) rename patches/server/{0430-Optimize-isOutsideRange-to-use-distance-maps.patch => 0432-Optimize-isOutsideRange-to-use-distance-maps.patch} (100%) rename patches/server/{0431-Add-villager-reputation-API.patch => 0433-Add-villager-reputation-API.patch} (100%) rename patches/server/{0432-Option-for-maximum-exp-value-when-merging-orbs.patch => 0434-Option-for-maximum-exp-value-when-merging-orbs.patch} (100%) rename patches/server/{0433-ExperienceOrbMergeEvent.patch => 0435-ExperienceOrbMergeEvent.patch} (100%) rename patches/server/{0434-Fix-PotionEffect-ignores-icon-flag.patch => 0436-Fix-PotionEffect-ignores-icon-flag.patch} (100%) rename patches/server/{0435-Optimize-brigadier-child-sorting-performance.patch => 0437-Optimize-brigadier-child-sorting-performance.patch} (100%) rename patches/server/{0436-Potential-bed-API.patch => 0438-Potential-bed-API.patch} (100%) rename patches/server/{0437-Wait-for-Async-Tasks-during-shutdown.patch => 0439-Wait-for-Async-Tasks-during-shutdown.patch} (89%) rename patches/server/{0438-Ensure-EntityRaider-respects-game-and-entity-rules-f.patch => 0440-Ensure-EntityRaider-respects-game-and-entity-rules-f.patch} (100%) rename patches/server/{0439-Protect-Bedrock-and-End-Portal-Frames-from-being-des.patch => 0441-Protect-Bedrock-and-End-Portal-Frames-from-being-des.patch} (97%) rename patches/server/{0440-Reduce-MutableInt-allocations-from-light-engine.patch => 0442-Reduce-MutableInt-allocations-from-light-engine.patch} (100%) rename patches/server/{0441-Reduce-allocation-of-Vec3D-by-entity-tracker.patch => 0443-Reduce-allocation-of-Vec3D-by-entity-tracker.patch} (100%) rename patches/server/{0442-Ensure-safe-gateway-teleport.patch => 0444-Ensure-safe-gateway-teleport.patch} (100%) rename patches/server/{0443-Add-option-for-console-having-all-permissions.patch => 0445-Add-option-for-console-having-all-permissions.patch} (89%) rename patches/server/{0444-Optimize-ServerLevels-chunk-level-checking-methods.patch => 0446-Optimize-ServerLevels-chunk-level-checking-methods.patch} (100%) rename patches/server/{0445-Fix-Non-Full-Status-Chunk-NBT-Memory-Leak.patch => 0447-Fix-Non-Full-Status-Chunk-NBT-Memory-Leak.patch} (100%) rename patches/server/{0446-Optimize-sending-packets-to-nearby-locations-sounds-.patch => 0448-Optimize-sending-packets-to-nearby-locations-sounds-.patch} (100%) rename patches/server/{0447-Fix-villager-trading-demand-MC-163962.patch => 0449-Fix-villager-trading-demand-MC-163962.patch} (100%) rename patches/server/{0448-Maps-shouldn-t-load-chunks.patch => 0450-Maps-shouldn-t-load-chunks.patch} (100%) rename patches/server/{0449-Use-seed-based-lookup-for-Treasure-Maps-Fixes-lag-fr.patch => 0451-Use-seed-based-lookup-for-Treasure-Maps-Fixes-lag-fr.patch} (100%) rename patches/server/{0450-Delay-Chunk-Unloads-based-on-Player-Movement.patch => 0452-Delay-Chunk-Unloads-based-on-Player-Movement.patch} (100%) rename patches/server/{0451-Optimize-Bit-Operations-by-inlining.patch => 0453-Optimize-Bit-Operations-by-inlining.patch} (100%) rename patches/server/{0452-Add-Plugin-Tickets-to-API-Chunk-Methods.patch => 0454-Add-Plugin-Tickets-to-API-Chunk-Methods.patch} (98%) rename patches/server/{0453-incremental-chunk-saving.patch => 0455-incremental-chunk-saving.patch} (99%) rename patches/server/{0454-Fix-missing-chunks-due-to-integer-overflow.patch => 0456-Fix-missing-chunks-due-to-integer-overflow.patch} (100%) rename patches/server/{0455-Fix-CraftScheduler-runTaskTimerAsynchronously-Plugin.patch => 0457-Fix-CraftScheduler-runTaskTimerAsynchronously-Plugin.patch} (100%) rename patches/server/{0456-Fix-piston-physics-inconsistency-MC-188840.patch => 0458-Fix-piston-physics-inconsistency-MC-188840.patch} (97%) rename patches/server/{0457-Fix-sand-duping.patch => 0459-Fix-sand-duping.patch} (100%) rename patches/server/{0458-Prevent-position-desync-in-playerconnection-causing-.patch => 0460-Prevent-position-desync-in-playerconnection-causing-.patch} (100%) rename patches/server/{0459-Inventory-getHolder-method-without-block-snapshot.patch => 0461-Inventory-getHolder-method-without-block-snapshot.patch} (100%) rename patches/server/{0460-Expose-Arrow-getItemStack.patch => 0462-Expose-Arrow-getItemStack.patch} (100%) rename patches/server/{0461-Add-and-implement-PlayerRecipeBookClickEvent.patch => 0463-Add-and-implement-PlayerRecipeBookClickEvent.patch} (100%) rename patches/server/{0462-Hide-sync-chunk-writes-behind-flag.patch => 0464-Hide-sync-chunk-writes-behind-flag.patch} (100%) rename patches/server/{0463-Add-permission-for-command-blocks.patch => 0465-Add-permission-for-command-blocks.patch} (100%) rename patches/server/{0464-Ensure-Entity-AABB-s-are-never-invalid.patch => 0466-Ensure-Entity-AABB-s-are-never-invalid.patch} (100%) rename patches/server/{0465-Optimize-WorldBorder-collision-checks-and-air.patch => 0467-Optimize-WorldBorder-collision-checks-and-air.patch} (100%) rename patches/server/{0466-Fix-Per-World-Difficulty-Remembering-Difficulty.patch => 0468-Fix-Per-World-Difficulty-Remembering-Difficulty.patch} (93%) rename patches/server/{0467-Paper-dumpitem-command.patch => 0469-Paper-dumpitem-command.patch} (100%) rename patches/server/{0468-Don-t-allow-null-UUID-s-for-chat.patch => 0470-Don-t-allow-null-UUID-s-for-chat.patch} (100%) rename patches/server/{0469-Improve-Legacy-Component-serialization-size.patch => 0471-Improve-Legacy-Component-serialization-size.patch} (100%) rename patches/server/{0470-Stop-copy-on-write-operations-for-updating-light-dat.patch => 0472-Stop-copy-on-write-operations-for-updating-light-dat.patch} (100%) rename patches/server/{0471-Support-old-UUID-format-for-NBT.patch => 0473-Support-old-UUID-format-for-NBT.patch} (100%) rename patches/server/{0472-Clean-up-duplicated-GameProfile-Properties.patch => 0474-Clean-up-duplicated-GameProfile-Properties.patch} (100%) rename patches/server/{0473-Convert-legacy-attributes-in-Item-Meta.patch => 0475-Convert-legacy-attributes-in-Item-Meta.patch} (100%) rename patches/server/{0474-Remove-some-streams-from-structures.patch => 0476-Remove-some-streams-from-structures.patch} (100%) rename patches/server/{0475-Remove-streams-from-classes-related-villager-gossip.patch => 0477-Remove-streams-from-classes-related-villager-gossip.patch} (100%) rename patches/server/{0476-Optimize-NibbleArray-to-use-pooled-buffers.patch => 0478-Optimize-NibbleArray-to-use-pooled-buffers.patch} (100%) rename patches/server/{0477-Support-components-in-ItemMeta.patch => 0479-Support-components-in-ItemMeta.patch} (100%) rename patches/server/{0478-Improve-EntityTargetLivingEntityEvent-for-1.16-mobs.patch => 0480-Improve-EntityTargetLivingEntityEvent-for-1.16-mobs.patch} (100%) rename patches/server/{0479-Add-entity-liquid-API.patch => 0481-Add-entity-liquid-API.patch} (100%) rename patches/server/{0480-Update-itemstack-legacy-name-and-lore.patch => 0482-Update-itemstack-legacy-name-and-lore.patch} (100%) rename patches/server/{0481-Spawn-player-in-correct-world-on-login.patch => 0483-Spawn-player-in-correct-world-on-login.patch} (100%) rename patches/server/{0482-Add-PrepareResultEvent.patch => 0484-Add-PrepareResultEvent.patch} (100%) rename patches/server/{0483-Allow-delegation-to-vanilla-chunk-gen.patch => 0485-Allow-delegation-to-vanilla-chunk-gen.patch} (95%) rename patches/server/{0484-Don-t-check-chunk-for-portal-on-world-gen-entity-add.patch => 0486-Don-t-check-chunk-for-portal-on-world-gen-entity-add.patch} (100%) rename patches/server/{0485-Implement-Chunk-Priority-Urgency-System-for-Chunks.patch => 0487-Implement-Chunk-Priority-Urgency-System-for-Chunks.patch} (100%) rename patches/server/{0486-Improve-Chunk-Status-Transition-Speed.patch => 0488-Improve-Chunk-Status-Transition-Speed.patch} (100%) rename patches/server/{0487-Optimize-NetworkManager-Exception-Handling.patch => 0489-Optimize-NetworkManager-Exception-Handling.patch} (100%) rename patches/server/{0488-Optimize-the-advancement-data-player-iteration-to-be.patch => 0490-Optimize-the-advancement-data-player-iteration-to-be.patch} (100%) rename patches/server/{0489-Fix-arrows-never-despawning-MC-125757.patch => 0491-Fix-arrows-never-despawning-MC-125757.patch} (100%) rename patches/server/{0490-Thread-Safe-Vanilla-Command-permission-checking.patch => 0492-Thread-Safe-Vanilla-Command-permission-checking.patch} (100%) rename patches/server/{0491-Move-range-check-for-block-placing-up.patch => 0493-Move-range-check-for-block-placing-up.patch} (100%) rename patches/server/{0492-Fix-SPIGOT-5989.patch => 0494-Fix-SPIGOT-5989.patch} (100%) rename patches/server/{0493-Fix-SPIGOT-5824-Bukkit-world-container-is-not-used.patch => 0495-Fix-SPIGOT-5824-Bukkit-world-container-is-not-used.patch} (100%) rename patches/server/{0494-Fix-SPIGOT-5885-Unable-to-disable-advancements.patch => 0496-Fix-SPIGOT-5885-Unable-to-disable-advancements.patch} (100%) rename patches/server/{0495-Fix-AdvancementDataPlayer-leak-due-from-quitting-ear.patch => 0497-Fix-AdvancementDataPlayer-leak-due-from-quitting-ear.patch} (100%) rename patches/server/{0496-Add-missing-strikeLighting-call-to-World-spigot-stri.patch => 0498-Add-missing-strikeLighting-call-to-World-spigot-stri.patch} (100%) rename patches/server/{0497-Incremental-player-saving.patch => 0499-Incremental-player-saving.patch} (94%) rename patches/server/{0498-Fix-some-rails-connecting-improperly.patch => 0500-Fix-some-rails-connecting-improperly.patch} (100%) rename patches/server/{0499-Fix-MC-187716-Use-configured-height.patch => 0501-Fix-MC-187716-Use-configured-height.patch} (100%) rename patches/server/{0500-Fix-regex-mistake-in-CB-NBT-int-deserialization.patch => 0502-Fix-regex-mistake-in-CB-NBT-int-deserialization.patch} (100%) rename patches/server/{0501-Do-not-let-the-server-load-chunks-from-newer-version.patch => 0503-Do-not-let-the-server-load-chunks-from-newer-version.patch} (100%) rename patches/server/{0502-Brand-support.patch => 0504-Brand-support.patch} (100%) rename patches/server/{0503-Add-setMaxPlayers-API.patch => 0505-Add-setMaxPlayers-API.patch} (94%) rename patches/server/{0504-Add-playPickupItemAnimation-to-LivingEntity.patch => 0506-Add-playPickupItemAnimation-to-LivingEntity.patch} (100%) rename patches/server/{0505-Don-t-require-FACING-data.patch => 0507-Don-t-require-FACING-data.patch} (100%) rename patches/server/{0506-Fix-SpawnChangeEvent-not-firing-for-all-use-cases.patch => 0508-Fix-SpawnChangeEvent-not-firing-for-all-use-cases.patch} (100%) rename patches/server/{0507-Add-moon-phase-API.patch => 0509-Add-moon-phase-API.patch} (100%) rename patches/server/{0508-Prevent-headless-pistons-from-being-created.patch => 0510-Prevent-headless-pistons-from-being-created.patch} (96%) rename patches/server/{0509-Add-BellRingEvent.patch => 0511-Add-BellRingEvent.patch} (100%) rename patches/server/{0510-Add-zombie-targets-turtle-egg-config.patch => 0512-Add-zombie-targets-turtle-egg-config.patch} (100%) rename patches/server/{0511-Buffer-joins-to-world.patch => 0513-Buffer-joins-to-world.patch} (95%) rename patches/server/{0512-Optimize-redstone-algorithm.patch => 0514-Optimize-redstone-algorithm.patch} (100%) rename patches/server/{0513-Fix-hex-colors-not-working-in-some-kick-messages.patch => 0515-Fix-hex-colors-not-working-in-some-kick-messages.patch} (98%) rename patches/server/{0514-PortalCreateEvent-needs-to-know-its-entity.patch => 0516-PortalCreateEvent-needs-to-know-its-entity.patch} (100%) rename patches/server/{0515-Fix-CraftTeam-null-check.patch => 0517-Fix-CraftTeam-null-check.patch} (100%) rename patches/server/{0516-Add-more-Evoker-API.patch => 0518-Add-more-Evoker-API.patch} (100%) rename patches/server/{0517-Add-methods-to-get-translation-keys.patch => 0519-Add-methods-to-get-translation-keys.patch} (100%) rename patches/server/{0518-Create-HoverEvent-from-ItemStack-Entity.patch => 0520-Create-HoverEvent-from-ItemStack-Entity.patch} (100%) rename patches/server/{0519-Cache-block-data-strings.patch => 0521-Cache-block-data-strings.patch} (95%) rename patches/server/{0520-Fix-Entity-Teleportation-and-cancel-velocity-if-tele.patch => 0522-Fix-Entity-Teleportation-and-cancel-velocity-if-tele.patch} (100%) rename patches/server/{0521-Add-additional-open-container-api-to-HumanEntity.patch => 0523-Add-additional-open-container-api-to-HumanEntity.patch} (100%) rename patches/server/{0522-Cache-DataFixerUpper-Rewrite-Rules-on-demand.patch => 0524-Cache-DataFixerUpper-Rewrite-Rules-on-demand.patch} (100%) rename patches/server/{0523-Extend-block-drop-capture-to-capture-all-items-added.patch => 0525-Extend-block-drop-capture-to-capture-all-items-added.patch} (100%) rename patches/server/{0524-Don-t-mark-dirty-in-invalid-locations-SPIGOT-6086.patch => 0526-Don-t-mark-dirty-in-invalid-locations-SPIGOT-6086.patch} (100%) rename patches/server/{0525-Expose-the-Entity-Counter-to-allow-plugins-to-use-va.patch => 0527-Expose-the-Entity-Counter-to-allow-plugins-to-use-va.patch} (100%) rename patches/server/{0526-Lazily-track-plugin-scoreboards-by-default.patch => 0528-Lazily-track-plugin-scoreboards-by-default.patch} (97%) rename patches/server/{0527-Entity-isTicking.patch => 0529-Entity-isTicking.patch} (100%) rename patches/server/{0528-Fix-deop-kicking-non-whitelisted-player-when-white-l.patch => 0530-Fix-deop-kicking-non-whitelisted-player-when-white-l.patch} (86%) rename patches/server/{0529-Fix-Concurrency-issue-in-WeightedList.patch => 0531-Fix-Concurrency-issue-in-WeightedList.patch} (100%) rename patches/server/{0530-Reset-Ender-Crystals-on-Dragon-Spawn.patch => 0532-Reset-Ender-Crystals-on-Dragon-Spawn.patch} (100%) rename patches/server/{0531-Fix-for-large-move-vectors-crashing-server.patch => 0533-Fix-for-large-move-vectors-crashing-server.patch} (100%) rename patches/server/{0532-Optimise-getType-calls.patch => 0534-Optimise-getType-calls.patch} (100%) rename patches/server/{0533-Villager-resetOffers.patch => 0535-Villager-resetOffers.patch} (100%) rename patches/server/{0534-Improve-inlinig-for-some-hot-IBlockData-methods.patch => 0536-Improve-inlinig-for-some-hot-IBlockData-methods.patch} (100%) rename patches/server/{0535-Retain-block-place-order-when-capturing-blockstates.patch => 0537-Retain-block-place-order-when-capturing-blockstates.patch} (100%) rename patches/server/{0536-Reduce-blockpos-allocation-from-pathfinding.patch => 0538-Reduce-blockpos-allocation-from-pathfinding.patch} (100%) rename patches/server/{0537-Fix-item-locations-dropped-from-campfires.patch => 0539-Fix-item-locations-dropped-from-campfires.patch} (100%) rename patches/server/{0538-Player-elytra-boost-API.patch => 0540-Player-elytra-boost-API.patch} (100%) rename patches/server/{0539-Fixed-TileEntityBell-memory-leak.patch => 0541-Fixed-TileEntityBell-memory-leak.patch} (100%) rename patches/server/{0540-Avoid-error-bubbling-up-when-item-stack-is-empty-in-.patch => 0542-Avoid-error-bubbling-up-when-item-stack-is-empty-in-.patch} (100%) rename patches/server/{0541-Add-getOfflinePlayerIfCached-String.patch => 0543-Add-getOfflinePlayerIfCached-String.patch} (88%) rename patches/server/{0542-Add-ignore-discounts-API.patch => 0544-Add-ignore-discounts-API.patch} (100%) rename patches/server/{0543-Toggle-for-removing-existing-dragon.patch => 0545-Toggle-for-removing-existing-dragon.patch} (100%) rename patches/server/{0544-Fix-client-lag-on-advancement-loading.patch => 0546-Fix-client-lag-on-advancement-loading.patch} (100%) rename patches/server/{0545-Item-no-age-no-player-pickup.patch => 0547-Item-no-age-no-player-pickup.patch} (100%) rename patches/server/{0546-Optimize-Pathfinder-Remove-Streams-Optimized-collect.patch => 0548-Optimize-Pathfinder-Remove-Streams-Optimized-collect.patch} (100%) rename patches/server/{0547-Beacon-API-custom-effect-ranges.patch => 0549-Beacon-API-custom-effect-ranges.patch} (100%) rename patches/server/{0548-Add-API-for-quit-reason.patch => 0550-Add-API-for-quit-reason.patch} (100%) rename patches/server/{0549-Seed-based-feature-search.patch => 0551-Seed-based-feature-search.patch} (100%) rename patches/server/{0550-Add-Wandering-Trader-spawn-rate-config-options.patch => 0552-Add-Wandering-Trader-spawn-rate-config-options.patch} (100%) rename patches/server/{0551-Significantly-improve-performance-of-the-end-generat.patch => 0553-Significantly-improve-performance-of-the-end-generat.patch} (100%) rename patches/server/{0552-Expose-world-spawn-angle.patch => 0554-Expose-world-spawn-angle.patch} (100%) rename patches/server/{0553-Add-Destroy-Speed-API.patch => 0555-Add-Destroy-Speed-API.patch} (100%) rename patches/server/{0554-Fix-Player-spawnParticle-x-y-z-precision-loss.patch => 0556-Fix-Player-spawnParticle-x-y-z-precision-loss.patch} (100%) rename patches/server/{0555-Add-LivingEntity-clearActiveItem.patch => 0557-Add-LivingEntity-clearActiveItem.patch} (100%) rename patches/server/{0556-Add-PlayerItemCooldownEvent.patch => 0558-Add-PlayerItemCooldownEvent.patch} (100%) rename patches/server/{0557-More-lightning-API.patch => 0559-More-lightning-API.patch} (100%) rename patches/server/{0558-Climbing-should-not-bypass-cramming-gamerule.patch => 0560-Climbing-should-not-bypass-cramming-gamerule.patch} (100%) rename patches/server/{0559-Added-missing-default-perms-for-commands.patch => 0561-Added-missing-default-perms-for-commands.patch} (100%) rename patches/server/{0560-Add-PlayerShearBlockEvent.patch => 0562-Add-PlayerShearBlockEvent.patch} (100%) rename patches/server/{0561-Set-spigots-verbose-world-setting-to-false-by-def.patch => 0563-Set-spigots-verbose-world-setting-to-false-by-def.patch} (100%) rename patches/server/{0562-Fix-curing-zombie-villager-discount-exploit.patch => 0564-Fix-curing-zombie-villager-discount-exploit.patch} (100%) rename patches/server/{0563-Limit-recipe-packets.patch => 0565-Limit-recipe-packets.patch} (97%) rename patches/server/{0564-Fix-CraftSound-backwards-compatibility.patch => 0566-Fix-CraftSound-backwards-compatibility.patch} (100%) rename patches/server/{0565-MC-4-Fix-item-position-desync.patch => 0567-MC-4-Fix-item-position-desync.patch} (95%) rename patches/server/{0566-Player-Chunk-Load-Unload-Events.patch => 0568-Player-Chunk-Load-Unload-Events.patch} (100%) rename patches/server/{0567-Optimize-Dynamic-get-Missing-Keys.patch => 0569-Optimize-Dynamic-get-Missing-Keys.patch} (100%) rename patches/server/{0568-Expose-LivingEntity-hurt-direction.patch => 0570-Expose-LivingEntity-hurt-direction.patch} (100%) rename patches/server/{0569-Add-OBSTRUCTED-reason-to-BedEnterResult.patch => 0571-Add-OBSTRUCTED-reason-to-BedEnterResult.patch} (100%) rename patches/server/{0570-Do-not-crash-from-invalid-ingredient-lists-in-Villag.patch => 0572-Do-not-crash-from-invalid-ingredient-lists-in-Villag.patch} (100%) rename patches/server/{0571-added-PlayerTradeEvent.patch => 0573-added-PlayerTradeEvent.patch} (100%) rename patches/server/{0572-Implement-TargetHitEvent.patch => 0574-Implement-TargetHitEvent.patch} (100%) rename patches/server/{0573-Additional-Block-Material-API-s.patch => 0575-Additional-Block-Material-API-s.patch} (100%) rename patches/server/{0574-Fix-harming-potion-dupe.patch => 0576-Fix-harming-potion-dupe.patch} (100%) rename patches/server/{0575-Implement-API-to-get-Material-from-Boats-and-Minecar.patch => 0577-Implement-API-to-get-Material-from-Boats-and-Minecar.patch} (100%) rename patches/server/{0576-Cache-burn-durations.patch => 0578-Cache-burn-durations.patch} (100%) rename patches/server/{0577-Allow-disabling-mob-spawner-spawn-egg-transformation.patch => 0579-Allow-disabling-mob-spawner-spawn-egg-transformation.patch} (100%) rename patches/server/{0578-Fix-Not-a-string-Map-Conversion-spam.patch => 0580-Fix-Not-a-string-Map-Conversion-spam.patch} (100%) rename patches/server/{0579-Implement-PlayerFlowerPotManipulateEvent.patch => 0581-Implement-PlayerFlowerPotManipulateEvent.patch} (100%) rename patches/server/{0580-Fix-interact-event-not-being-called-in-adventure.patch => 0582-Fix-interact-event-not-being-called-in-adventure.patch} (100%) rename patches/server/{0581-Zombie-API-breaking-doors.patch => 0583-Zombie-API-breaking-doors.patch} (100%) rename patches/server/{0582-Fix-nerfed-slime-when-splitting.patch => 0584-Fix-nerfed-slime-when-splitting.patch} (100%) rename patches/server/{0583-Add-EntityLoadCrossbowEvent.patch => 0585-Add-EntityLoadCrossbowEvent.patch} (100%) rename patches/server/{0584-Guardian-beam-workaround.patch => 0586-Guardian-beam-workaround.patch} (100%) rename patches/server/{0585-Added-WorldGameRuleChangeEvent.patch => 0587-Added-WorldGameRuleChangeEvent.patch} (100%) rename patches/server/{0586-Added-ServerResourcesReloadedEvent.patch => 0588-Added-ServerResourcesReloadedEvent.patch} (93%) rename patches/server/{0587-Added-world-settings-for-mobs-picking-up-loot.patch => 0589-Added-world-settings-for-mobs-picking-up-loot.patch} (100%) rename patches/server/{0588-Implemented-BlockFailedDispenseEvent.patch => 0590-Implemented-BlockFailedDispenseEvent.patch} (100%) rename patches/server/{0589-Added-PlayerLecternPageChangeEvent.patch => 0591-Added-PlayerLecternPageChangeEvent.patch} (100%) rename patches/server/{0590-Added-PlayerLoomPatternSelectEvent.patch => 0592-Added-PlayerLoomPatternSelectEvent.patch} (100%) rename patches/server/{0591-Configurable-door-breaking-difficulty.patch => 0593-Configurable-door-breaking-difficulty.patch} (100%) rename patches/server/{0592-Empty-commands-shall-not-be-dispatched.patch => 0594-Empty-commands-shall-not-be-dispatched.patch} (100%) rename patches/server/{0593-Implement-API-to-expose-exact-interaction-point.patch => 0595-Implement-API-to-expose-exact-interaction-point.patch} (100%) rename patches/server/{0594-Remove-stale-POIs.patch => 0596-Remove-stale-POIs.patch} (100%) rename patches/server/{0595-Fix-villager-boat-exploit.patch => 0597-Fix-villager-boat-exploit.patch} (100%) rename patches/server/{0596-Add-sendOpLevel-API.patch => 0598-Add-sendOpLevel-API.patch} (100%) rename patches/server/{0597-Add-StructureLocateEvent.patch => 0599-Add-StructureLocateEvent.patch} (100%) rename patches/server/{0598-Collision-option-for-requiring-a-player-participant.patch => 0600-Collision-option-for-requiring-a-player-participant.patch} (100%) rename patches/server/{0599-Remove-ProjectileHitEvent-call-when-fireballs-dead.patch => 0601-Remove-ProjectileHitEvent-call-when-fireballs-dead.patch} (100%) rename patches/server/{0600-Return-chat-component-with-empty-text-instead-of-thr.patch => 0602-Return-chat-component-with-empty-text-instead-of-thr.patch} (100%) rename patches/server/{0601-Make-schedule-command-per-world.patch => 0603-Make-schedule-command-per-world.patch} (100%) rename patches/server/{0602-Configurable-max-leash-distance.patch => 0604-Configurable-max-leash-distance.patch} (100%) rename patches/server/{0603-Implement-BlockPreDispenseEvent.patch => 0605-Implement-BlockPreDispenseEvent.patch} (100%) rename patches/server/{0604-Added-Vanilla-Entity-Tags.patch => 0606-Added-Vanilla-Entity-Tags.patch} (96%) rename patches/server/{0605-added-Wither-API.patch => 0607-added-Wither-API.patch} (100%) rename patches/server/{0606-Added-firing-of-PlayerChangeBeaconEffectEvent.patch => 0608-Added-firing-of-PlayerChangeBeaconEffectEvent.patch} (100%) rename patches/server/{0607-Add-toggle-for-always-placing-the-dragon-egg.patch => 0609-Add-toggle-for-always-placing-the-dragon-egg.patch} (100%) rename patches/server/{0608-Added-PlayerStonecutterRecipeSelectEvent.patch => 0610-Added-PlayerStonecutterRecipeSelectEvent.patch} (100%) rename patches/server/{0609-Add-dropLeash-variable-to-EntityUnleashEvent.patch => 0611-Add-dropLeash-variable-to-EntityUnleashEvent.patch} (100%) rename patches/server/{0610-Skip-distance-map-update-when-spawning-disabled.patch => 0612-Skip-distance-map-update-when-spawning-disabled.patch} (100%) rename patches/server/{0611-Reset-shield-blocking-on-dimension-change.patch => 0613-Reset-shield-blocking-on-dimension-change.patch} (100%) rename patches/server/{0612-add-DragonEggFormEvent.patch => 0614-add-DragonEggFormEvent.patch} (100%) rename patches/server/{0613-EntityMoveEvent.patch => 0615-EntityMoveEvent.patch} (95%) rename patches/server/{0614-added-option-to-disable-pathfinding-updates-on-block.patch => 0616-added-option-to-disable-pathfinding-updates-on-block.patch} (100%) rename patches/server/{0615-Inline-shift-direction-fields.patch => 0617-Inline-shift-direction-fields.patch} (100%) rename patches/server/{0616-Allow-adding-items-to-BlockDropItemEvent.patch => 0618-Allow-adding-items-to-BlockDropItemEvent.patch} (100%) rename patches/server/{0617-Add-getMainThreadExecutor-to-BukkitScheduler.patch => 0619-Add-getMainThreadExecutor-to-BukkitScheduler.patch} (100%) rename patches/server/{0618-living-entity-allow-attribute-registration.patch => 0620-living-entity-allow-attribute-registration.patch} (100%) rename patches/server/{0619-fix-dead-slime-setSize-invincibility.patch => 0621-fix-dead-slime-setSize-invincibility.patch} (100%) rename patches/server/{0620-Merchant-getRecipes-should-return-an-immutable-list.patch => 0622-Merchant-getRecipes-should-return-an-immutable-list.patch} (100%) rename patches/server/{0622-Add-support-for-hex-color-codes-in-console.patch => 0623-Add-support-for-hex-color-codes-in-console.patch} (97%) rename patches/server/{0623-Expose-Tracked-Players.patch => 0624-Expose-Tracked-Players.patch} (100%) rename patches/server/{0624-Remove-streams-from-SensorNearest.patch => 0625-Remove-streams-from-SensorNearest.patch} (100%) rename patches/server/{0625-MC-29274-Fix-Wither-hostility-towards-players.patch => 0626-MC-29274-Fix-Wither-hostility-towards-players.patch} (100%) rename patches/server/{0626-Throw-proper-exception-on-empty-JsonList-file.patch => 0627-Throw-proper-exception-on-empty-JsonList-file.patch} (100%) rename patches/server/{0627-Improve-ServerGUI.patch => 0628-Improve-ServerGUI.patch} (100%) rename patches/server/{0628-stop-firing-pressure-plate-EntityInteractEvent-for-i.patch => 0629-stop-firing-pressure-plate-EntityInteractEvent-for-i.patch} (100%) rename patches/server/{0629-fix-converting-txt-to-json-file.patch => 0630-fix-converting-txt-to-json-file.patch} (95%) rename patches/server/{0630-Add-worldborder-events.patch => 0631-Add-worldborder-events.patch} (100%) rename patches/server/{0631-added-PlayerNameEntityEvent.patch => 0632-added-PlayerNameEntityEvent.patch} (100%) rename patches/server/{0632-Prevent-grindstones-from-overstacking-items.patch => 0633-Prevent-grindstones-from-overstacking-items.patch} (100%) rename patches/server/{0633-Add-recipe-to-cook-events.patch => 0634-Add-recipe-to-cook-events.patch} (100%) rename patches/server/{0634-Add-Block-isValidTool.patch => 0635-Add-Block-isValidTool.patch} (100%) rename patches/server/{0635-Allow-using-signs-inside-spawn-protection.patch => 0636-Allow-using-signs-inside-spawn-protection.patch} (100%) rename patches/server/{0636-Implement-Keyed-on-World.patch => 0637-Implement-Keyed-on-World.patch} (100%) rename patches/server/{0637-Add-fast-alternative-constructor-for-Rotations.patch => 0638-Add-fast-alternative-constructor-for-Rotations.patch} (100%) rename patches/server/{0638-Item-Rarity-API.patch => 0639-Item-Rarity-API.patch} (100%) rename patches/server/{0639-Only-set-despawnTimer-for-Wandering-Traders-spawned-.patch => 0640-Only-set-despawnTimer-for-Wandering-Traders-spawned-.patch} (100%) rename patches/server/{0640-copy-TESign-isEditable-from-snapshots.patch => 0641-copy-TESign-isEditable-from-snapshots.patch} (100%) rename patches/server/{0641-Drop-carried-item-when-player-has-disconnected.patch => 0642-Drop-carried-item-when-player-has-disconnected.patch} (100%) rename patches/server/{0642-forced-whitelist-use-configurable-kick-message.patch => 0643-forced-whitelist-use-configurable-kick-message.patch} (100%) rename patches/server/{0643-Don-t-ignore-result-of-PlayerEditBookEvent.patch => 0644-Don-t-ignore-result-of-PlayerEditBookEvent.patch} (100%) rename patches/server/{0644-Entity-load-save-limit-per-chunk.patch => 0645-Entity-load-save-limit-per-chunk.patch} (100%) rename patches/server/{0645-fix-cancelling-block-falling-causing-client-desync.patch => 0646-fix-cancelling-block-falling-causing-client-desync.patch} (100%) rename patches/server/{0646-Expose-protocol-version.patch => 0647-Expose-protocol-version.patch} (100%) rename patches/server/{0647-Allow-for-Component-suggestion-tooltips-in-AsyncTabC.patch => 0648-Allow-for-Component-suggestion-tooltips-in-AsyncTabC.patch} (100%) rename patches/server/{0648-Enhance-console-tab-completions-for-brigadier-comman.patch => 0649-Enhance-console-tab-completions-for-brigadier-comman.patch} (98%) rename patches/server/{0649-Fix-PlayerItemConsumeEvent-cancelling-properly.patch => 0650-Fix-PlayerItemConsumeEvent-cancelling-properly.patch} (100%) rename patches/server/{0650-Add-bypass-host-check.patch => 0651-Add-bypass-host-check.patch} (100%) rename patches/server/{0651-Set-area-affect-cloud-rotation.patch => 0652-Set-area-affect-cloud-rotation.patch} (100%) rename patches/server/{0652-add-isDeeplySleeping-to-HumanEntity.patch => 0653-add-isDeeplySleeping-to-HumanEntity.patch} (100%) rename patches/server/{0653-Fix-duplicating-give-items-on-item-drop-cancel.patch => 0654-Fix-duplicating-give-items-on-item-drop-cancel.patch} (100%) rename patches/server/{0654-add-consumeFuel-to-FurnaceBurnEvent.patch => 0655-add-consumeFuel-to-FurnaceBurnEvent.patch} (100%) rename patches/server/{0655-add-get-set-drop-chance-to-EntityEquipment.patch => 0656-add-get-set-drop-chance-to-EntityEquipment.patch} (100%) rename patches/server/{0656-fix-PigZombieAngerEvent-cancellation.patch => 0657-fix-PigZombieAngerEvent-cancellation.patch} (100%) rename patches/server/{0657-Fix-checkReach-check-for-Shulker-boxes.patch => 0658-Fix-checkReach-check-for-Shulker-boxes.patch} (100%) rename patches/server/{0658-fix-PlayerItemHeldEvent-firing-twice.patch => 0659-fix-PlayerItemHeldEvent-firing-twice.patch} (100%) rename patches/server/{0659-Added-PlayerDeepSleepEvent.patch => 0660-Added-PlayerDeepSleepEvent.patch} (100%) rename patches/server/{0660-More-World-API.patch => 0661-More-World-API.patch} (100%) rename patches/server/{0661-Added-PlayerBedFailEnterEvent.patch => 0662-Added-PlayerBedFailEnterEvent.patch} (100%) rename patches/server/{0662-Implement-methods-to-convert-between-Component-and-B.patch => 0663-Implement-methods-to-convert-between-Component-and-B.patch} (89%) rename patches/server/{0663-Fix-anchor-respawn-acting-as-a-bed-respawn-from-the-.patch => 0664-Fix-anchor-respawn-acting-as-a-bed-respawn-from-the-.patch} (100%) rename patches/server/{0664-Introduce-beacon-activation-deactivation-events.patch => 0665-Introduce-beacon-activation-deactivation-events.patch} (100%) rename patches/server/{0665-add-RespawnFlags-to-PlayerRespawnEvent.patch => 0666-add-RespawnFlags-to-PlayerRespawnEvent.patch} (100%) rename patches/server/{0666-Add-Channel-initialization-listeners.patch => 0667-Add-Channel-initialization-listeners.patch} (100%) rename patches/server/{0667-Send-empty-commands-if-tab-completion-is-disabled.patch => 0668-Send-empty-commands-if-tab-completion-is-disabled.patch} (100%) rename patches/server/{0668-Add-more-WanderingTrader-API.patch => 0669-Add-more-WanderingTrader-API.patch} (100%) rename patches/server/{0669-Add-EntityBlockStorage-clearEntities.patch => 0670-Add-EntityBlockStorage-clearEntities.patch} (100%) rename patches/server/{0670-Add-Adventure-message-to-PlayerAdvancementDoneEvent.patch => 0671-Add-Adventure-message-to-PlayerAdvancementDoneEvent.patch} (100%) rename patches/server/{0671-Add-raw-address-to-AsyncPlayerPreLoginEvent.patch => 0672-Add-raw-address-to-AsyncPlayerPreLoginEvent.patch} (100%) rename patches/server/{0672-Inventory-close.patch => 0673-Inventory-close.patch} (100%) rename patches/server/{0673-call-PortalCreateEvent-players-and-end-platform.patch => 0674-call-PortalCreateEvent-players-and-end-platform.patch} (100%) rename patches/server/{0674-Add-a-should-burn-in-sunlight-API-for-Phantoms-and-S.patch => 0675-Add-a-should-burn-in-sunlight-API-for-Phantoms-and-S.patch} (100%) rename patches/server/{0675-Fix-CraftPotionBrewer-cache.patch => 0676-Fix-CraftPotionBrewer-cache.patch} (100%) rename patches/server/{0676-Add-basic-Datapack-API.patch => 0677-Add-basic-Datapack-API.patch} (100%) rename patches/server/{0677-Add-environment-variable-to-disable-server-gui.patch => 0678-Add-environment-variable-to-disable-server-gui.patch} (100%) rename patches/server/{0678-additions-to-PlayerGameModeChangeEvent.patch => 0679-additions-to-PlayerGameModeChangeEvent.patch} (100%) rename patches/server/{0679-ItemStack-repair-check-API.patch => 0680-ItemStack-repair-check-API.patch} (100%) rename patches/server/{0680-More-Enchantment-API.patch => 0681-More-Enchantment-API.patch} (100%) rename patches/server/{0681-Add-command-line-option-to-load-extra-plugin-jars-no.patch => 0682-Add-command-line-option-to-load-extra-plugin-jars-no.patch} (100%) rename patches/server/{0682-Fix-and-optimise-world-force-upgrading.patch => 0683-Fix-and-optimise-world-force-upgrading.patch} (100%) rename patches/server/{0683-Add-Mob-lookAt-API.patch => 0684-Add-Mob-lookAt-API.patch} (100%) rename patches/server/{0684-Add-Unix-domain-socket-support.patch => 0685-Add-Unix-domain-socket-support.patch} (97%) rename patches/server/{0685-Add-EntityInsideBlockEvent.patch => 0686-Add-EntityInsideBlockEvent.patch} (100%) rename patches/server/{0686-Attributes-API-for-item-defaults.patch => 0687-Attributes-API-for-item-defaults.patch} (100%) rename patches/server/{0687-Have-CraftMerchantCustom-emit-PlayerPurchaseEvent.patch => 0688-Have-CraftMerchantCustom-emit-PlayerPurchaseEvent.patch} (100%) rename patches/server/{0688-Add-cause-to-Weather-ThunderChangeEvents.patch => 0689-Add-cause-to-Weather-ThunderChangeEvents.patch} (100%) rename patches/server/{0689-More-Lidded-Block-API.patch => 0690-More-Lidded-Block-API.patch} (100%) rename patches/server/{0690-Limit-item-frame-cursors-on-maps.patch => 0691-Limit-item-frame-cursors-on-maps.patch} (100%) rename patches/server/{0691-Add-PufferFishStateChangeEvent.patch => 0692-Add-PufferFishStateChangeEvent.patch} (100%) rename patches/server/{0692-Add-PlayerKickEvent-causes.patch => 0693-Add-PlayerKickEvent-causes.patch} (100%) rename patches/server/{0693-Fix-PlayerBucketEmptyEvent-result-itemstack.patch => 0694-Fix-PlayerBucketEmptyEvent-result-itemstack.patch} (100%) rename patches/server/{0694-Synchronize-PalettedContainer-instead-of-ReentrantLo.patch => 0695-Synchronize-PalettedContainer-instead-of-ReentrantLo.patch} (100%) rename patches/server/{0695-Add-option-to-fix-items-merging-through-walls.patch => 0696-Add-option-to-fix-items-merging-through-walls.patch} (100%) rename patches/server/{0696-Add-BellRevealRaiderEvent.patch => 0697-Add-BellRevealRaiderEvent.patch} (100%) rename patches/server/{0697-Fix-invulnerable-end-crystals.patch => 0698-Fix-invulnerable-end-crystals.patch} (100%) rename patches/server/{0698-Add-ElderGuardianAppearanceEvent.patch => 0699-Add-ElderGuardianAppearanceEvent.patch} (100%) rename patches/server/{0699-Fix-dangerous-end-portal-logic.patch => 0700-Fix-dangerous-end-portal-logic.patch} (100%) rename patches/server/{0700-Optimize-Biome-Mob-Lookups-for-Mob-Spawning.patch => 0701-Optimize-Biome-Mob-Lookups-for-Mob-Spawning.patch} (100%) rename patches/server/{0701-Make-item-validations-configurable.patch => 0702-Make-item-validations-configurable.patch} (97%) rename patches/server/{0702-Line-Of-Sight-Changes.patch => 0703-Line-Of-Sight-Changes.patch} (100%) rename patches/server/{0703-add-per-world-spawn-limits.patch => 0704-add-per-world-spawn-limits.patch} (100%) rename patches/server/{0704-Fix-PotionSplashEvent-for-water-splash-potions.patch => 0705-Fix-PotionSplashEvent-for-water-splash-potions.patch} (100%) rename patches/server/{0705-Fix-incorrect-status-dataconverter-for-pre-1.13-chun.patch => 0706-Fix-incorrect-status-dataconverter-for-pre-1.13-chun.patch} (100%) rename patches/server/{0706-Add-more-LimitedRegion-API.patch => 0707-Add-more-LimitedRegion-API.patch} (100%) rename patches/server/{0707-Fix-PlayerDropItemEvent-using-wrong-item.patch => 0708-Fix-PlayerDropItemEvent-using-wrong-item.patch} (100%) diff --git a/patches/server/0621-misc-debugging-dumps.patch b/patches/server/0428-misc-debugging-dumps.patch similarity index 87% rename from patches/server/0621-misc-debugging-dumps.patch rename to patches/server/0428-misc-debugging-dumps.patch index 7fb9875e7c..686f2ba8f2 100644 --- a/patches/server/0621-misc-debugging-dumps.patch +++ b/patches/server/0428-misc-debugging-dumps.patch @@ -29,10 +29,10 @@ index 0000000000000000000000000000000000000000..2d5494d2813b773e60ddba6790b750a9 + } +} diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 9111d3fb84ca4a7dc881e1326ac0c93a81ec7f58..f15cb87d96b3f5028ab6ceba1e9026525cdecbee 100644 +index 2e8892211dd3eb4cac27bcb3b302a25d833e2626..99555bb8b6f5b8c2bb9a15ee469fe2dd3b980f67 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -937,6 +937,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop loadMappingsIfPresent() { -+ try (final @Nullable InputStream mappingsInputStream = StacktraceDeobfuscator.class.getClassLoader().getResourceAsStream("META-INF/mappings/reobf.tiny")) { ++ try (final @Nullable InputStream mappingsInputStream = ObfHelper.class.getClassLoader().getResourceAsStream("META-INF/mappings/reobf.tiny")) { + if (mappingsInputStream == null) { + return null; + } @@ -513,13 +511,13 @@ index 3941e14d1c3e6e688e28904948039c8b2200de5f..a4fda4a3bae9ce600e778b44cd3ef432 } } diff --git a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -index db0110120f88bc06954fa8c44b2a45f0c8229574..7b6c547e71230fbb3733f99a4597b3f5b51547b8 100644 +index a335d48467d1730bfed25eb5fd9046e115f23ed0..8098875a5c4146dec81f5daed0e34ddfe17a26c6 100644 --- a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +++ b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -@@ -221,6 +221,7 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface +@@ -214,6 +214,7 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface + } com.destroystokyo.paper.PaperConfig.registerCommands(); com.destroystokyo.paper.VersionHistoryManager.INSTANCE.getClass(); // load version history now - io.papermc.paper.brigadier.PaperBrigadierProviderImpl.INSTANCE.getClass(); // init PaperBrigadierProvider + io.papermc.paper.util.ObfHelper.INSTANCE.getClass(); // load mappings for stacktrace deobf and etc. // Paper end @@ -547,7 +545,7 @@ index 4d271cae88c16ed2419f896c728fdff612540500..dcfbe77bdb25d9c58ffb7b75c48bdb58 log.log( Level.SEVERE, "\t\t" + stack ); } diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml -index 7484c52761d4d8da827cd7693cf8e14519c35a9b..2e421eaac80cf251b32e0bb504dd54a73edf4986 100644 +index d285dbec16272db6b8a71865e05924ad66087407..1a05d23ff886b015fb9396f119822c678a47ec6f 100644 --- a/src/main/resources/log4j2.xml +++ b/src/main/resources/log4j2.xml @@ -30,10 +30,14 @@ diff --git a/patches/server/0428-Implement-Mob-Goal-API.patch b/patches/server/0430-Implement-Mob-Goal-API.patch similarity index 84% rename from patches/server/0428-Implement-Mob-Goal-API.patch rename to patches/server/0430-Implement-Mob-Goal-API.patch index 821c9a7631..c9d193f050 100644 --- a/patches/server/0428-Implement-Mob-Goal-API.patch +++ b/patches/server/0430-Implement-Mob-Goal-API.patch @@ -5,12 +5,12 @@ Subject: [PATCH] Implement Mob Goal API diff --git a/build.gradle.kts b/build.gradle.kts -index eea412347cef390555166a988058ae877afdfa4a..81d507895572e9c0ec3c87d3745f95067922093a 100644 +index b35e54380cb23758a813fa24d13b888f36906c23..12c2681e0abef8ea4981deec431a9269df6cea54 100644 --- a/build.gradle.kts +++ b/build.gradle.kts -@@ -48,6 +48,7 @@ dependencies { - implementation("co.aikar:cleaner:1.0-SNAPSHOT") // Paper - implementation("io.netty:netty-all:4.1.65.Final") // Paper +@@ -62,6 +62,7 @@ dependencies { + + implementation("org.quiltmc:tiny-mappings-parser:0.3.0") // Paper - needed to read mappings for stacktrace deobfuscation + testImplementation("io.github.classgraph:classgraph:4.8.47") // Paper - mob goal test testImplementation("junit:junit:4.13.1") @@ -18,16 +18,17 @@ index eea412347cef390555166a988058ae877afdfa4a..81d507895572e9c0ec3c87d3745f9506 } diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java new file mode 100644 -index 0000000000000000000000000000000000000000..79006251a707dd94099db26fbb503f8699b7a8b5 +index 0000000000000000000000000000000000000000..181abe014baba9ac51064c003381281a8fa43fe4 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java -@@ -0,0 +1,467 @@ +@@ -0,0 +1,367 @@ +package com.destroystokyo.paper.entity.ai; + +import com.destroystokyo.paper.entity.RangedEntity; +import com.destroystokyo.paper.util.set.OptimizedSmallEnumSet; +import com.google.common.collect.BiMap; +import com.google.common.collect.HashBiMap; ++import io.papermc.paper.util.ObfHelper; +import java.lang.reflect.Constructor; +import java.util.EnumSet; +import java.util.HashMap; @@ -157,107 +158,7 @@ index 0000000000000000000000000000000000000000..79006251a707dd94099db26fbb503f86 + + static { + // TODO these kinda should be checked on each release, in case obfuscation changes -+ deobfuscationMap.put("bee_b", "bee_attack"); -+ deobfuscationMap.put("bee_c", "bee_become_angry"); -+ deobfuscationMap.put("bee_d", "bee_enter_hive"); -+ deobfuscationMap.put("bee_e", "bee_go_to_hive"); -+ deobfuscationMap.put("bee_f", "bee_go_to_known_flower"); -+ deobfuscationMap.put("bee_g", "bee_grow_crop"); -+ deobfuscationMap.put("bee_h", "bee_hurt_by_other"); -+ deobfuscationMap.put("bee_i", "bee_locate_hive"); -+ deobfuscationMap.put("bee_k", "bee_pollinate"); -+ deobfuscationMap.put("bee_l", "bee_wander"); -+ deobfuscationMap.put("cat_a", "cat_avoid_entity"); -+ deobfuscationMap.put("cat_b", "cat_relax_on_owner"); -+ deobfuscationMap.put("dolphin_b", "dolphin_swim_to_treasure"); -+ deobfuscationMap.put("dolphin_c", "dolphin_swim_with_player"); -+ deobfuscationMap.put("dolphin_d", "dolphin_play_with_items"); -+ deobfuscationMap.put("drowned_a", "drowned_attack"); -+ deobfuscationMap.put("drowned_b", "drowned_goto_beach"); -+ deobfuscationMap.put("drowned_c", "drowned_goto_water"); -+ deobfuscationMap.put("drowned_e", "drowned_swim_up"); -+ deobfuscationMap.put("drowned_f", "drowned_trident_attack"); -+ deobfuscationMap.put("enderman_a", "enderman_freeze_when_looked_at"); -+ deobfuscationMap.put("evoker_a", "evoker_attack_spell"); -+ deobfuscationMap.put("evoker_b", "evoker_cast_spell"); -+ deobfuscationMap.put("evoker_c", "evoker_summon_spell"); -+ deobfuscationMap.put("evoker_d", "evoker_wololo_spell"); -+ deobfuscationMap.put("fish_b", "fish_swim"); -+ deobfuscationMap.put("fox_a", "fox_defend_trusted"); -+ deobfuscationMap.put("fox_b", "fox_faceplant"); -+ deobfuscationMap.put("fox_e", "fox_breed"); -+ deobfuscationMap.put("fox_f", "fox_eat_berries"); -+ deobfuscationMap.put("fox_g", "fox_float"); -+ deobfuscationMap.put("fox_h", "fox_follow_parent"); -+ deobfuscationMap.put("fox_j", "fox_look_at_player"); -+ deobfuscationMap.put("fox_l", "fox_melee_attack"); -+ deobfuscationMap.put("fox_n", "fox_panic"); -+ deobfuscationMap.put("fox_o", "fox_pounce"); -+ deobfuscationMap.put("fox_p", "fox_search_for_items"); -+ deobfuscationMap.put("fox_q", "fox_stroll_through_village"); -+ deobfuscationMap.put("fox_r", "fox_perch_and_search"); -+ deobfuscationMap.put("fox_s", "fox_seek_shelter"); -+ deobfuscationMap.put("fox_t", "fox_sleep"); -+ deobfuscationMap.put("fox_u", "fox_stalk_prey"); -+ deobfuscationMap.put("illager_abstract_b", "raider_open_door"); -+ deobfuscationMap.put("illager_illusioner_a", "illusioner_blindness_spell"); -+ deobfuscationMap.put("illager_illusioner_b", "illusioner_mirror_spell"); -+ deobfuscationMap.put("illager_wizard_b", "spellcaster_cast_spell"); -+ deobfuscationMap.put("llama_a", "llama_attack_wolf"); -+ deobfuscationMap.put("llama_c", "llama_hurt_by"); -+ deobfuscationMap.put("llama_trader_a", "llamatrader_defended_wandering_trader"); -+ deobfuscationMap.put("monster_patrolling_a", "long_distance_patrol"); -+ deobfuscationMap.put("ocelot_a", "ocelot_avoid_entity"); -+ deobfuscationMap.put("ocelot_b", "ocelot_tempt"); -+ deobfuscationMap.put("panda_b", "panda_attack"); -+ deobfuscationMap.put("panda_c", "panda_avoid"); -+ deobfuscationMap.put("panda_d", "panda_breed"); -+ deobfuscationMap.put("panda_e", "panda_hurt_by_target"); -+ deobfuscationMap.put("panda_f", "panda_lie_on_back"); -+ deobfuscationMap.put("panda_g", "panda_look_at_player"); -+ deobfuscationMap.put("panda_i", "panda_panic"); -+ deobfuscationMap.put("panda_j", "panda_roll"); -+ deobfuscationMap.put("panda_k", "panda_sit"); -+ deobfuscationMap.put("panda_l", "panda_sneeze"); -+ deobfuscationMap.put("phantom_b", "phantom_attack_player"); -+ deobfuscationMap.put("phantom_c", "phantom_attack_strategy"); -+ deobfuscationMap.put("phantom_e", "phantom_circle_around_anchor"); -+ deobfuscationMap.put("phantom_i", "phantom_sweep_attack"); -+ deobfuscationMap.put("polar_bear_a", "polarbear_attack_players"); -+ deobfuscationMap.put("polar_bear_b", "polarbear_hurt_by"); -+ deobfuscationMap.put("polar_bear_c", "polarbear_melee"); -+ deobfuscationMap.put("polar_bear_d", "polarbear_panic"); -+ deobfuscationMap.put("puffer_fish_a", "pufferfish_puff"); -+ deobfuscationMap.put("raider_a", "raider_hold_ground"); -+ deobfuscationMap.put("raider_b", "raider_obtain_banner"); -+ deobfuscationMap.put("raider_c", "raider_celebration"); -+ deobfuscationMap.put("raider_d", "raider_move_through_village"); -+ deobfuscationMap.put("ravager_a", "ravager_melee_attack"); -+ deobfuscationMap.put("shulker_a", "shulker_attack"); -+ deobfuscationMap.put("shulker_c", "shulker_defense"); -+ deobfuscationMap.put("shulker_d", "shulker_nearest"); -+ deobfuscationMap.put("shulker_e", "shulker_peek"); -+ deobfuscationMap.put("squid_a", "squid_flee"); + deobfuscationMap.put("abstract_skeleton_1", "abstract_skeleton_melee"); -+ deobfuscationMap.put("strider_a", "strider_go_to_lava"); -+ deobfuscationMap.put("turtle_a", "turtle_breed"); -+ deobfuscationMap.put("turtle_b", "turtle_go_home"); -+ deobfuscationMap.put("turtle_c", "turtle_goto_water"); -+ deobfuscationMap.put("turtle_d", "turtle_lay_egg"); -+ deobfuscationMap.put("turtle_f", "turtle_panic"); -+ deobfuscationMap.put("turtle_h", "turtle_random_stroll"); -+ deobfuscationMap.put("turtle_i", "turtle_tempt"); -+ deobfuscationMap.put("turtle_j", "turtle_travel"); -+ deobfuscationMap.put("vex_a", "vex_charge_attack"); -+ deobfuscationMap.put("vex_b", "vex_copy_target_of_owner"); -+ deobfuscationMap.put("vex_d", "vex_random_move"); -+ deobfuscationMap.put("villager_trader_a", "villagertrader_wander_to_position"); -+ deobfuscationMap.put("vindicator_a", "vindicator_break_door"); -+ deobfuscationMap.put("vindicator_b", "vindicator_johnny_attack"); -+ deobfuscationMap.put("vindicator_c", "vindicator_melee_attack"); -+ deobfuscationMap.put("wither_a", "wither_do_nothing"); -+ deobfuscationMap.put("wolf_a", "wolf_avoid_entity"); -+ deobfuscationMap.put("zombie_a", "zombie_attack_turtle_egg"); + + ignored.add("goal_selector_1"); + ignored.add("goal_selector_2"); @@ -362,9 +263,8 @@ index 0000000000000000000000000000000000000000..79006251a707dd94099db26fbb503f86 + bukkitMap.put(net.minecraft.world.entity.animal.goat.Goat.class, org.bukkit.entity.Goat.class); + } + -+ // TODO: FIX THIS + public static String getUsableName(Class clazz) { -+ String name = clazz.getName(); ++ String name = ObfHelper.INSTANCE.deobfClassName(clazz.getName()); + name = name.substring(name.lastIndexOf(".") + 1); + boolean flag = false; + // inner classes @@ -899,10 +799,10 @@ index 8c2ec30a35e86f2b30863045b586a67e485c624b..848cac4426346b6d2ed575f33bf01c0e LOOK, JUMP, diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -index 72640c2dd945a22e8e562ee6901c9f70ae786816..f4c055e7e2d10756262386c8fb34996c4a38ee3f 100644 +index 59a12fe5d4d2504d99e26c6faaa095d5227cf446..63c20c0364b39bef033ed1df4278a64dc739995e 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -@@ -2533,5 +2533,11 @@ public final class CraftServer implements Server { +@@ -2534,5 +2534,11 @@ public final class CraftServer implements Server { public boolean isStopping() { return net.minecraft.server.MinecraftServer.getServer().hasStopped(); } diff --git a/patches/server/0429-Use-distance-map-to-optimise-entity-tracker.patch b/patches/server/0431-Use-distance-map-to-optimise-entity-tracker.patch similarity index 100% rename from patches/server/0429-Use-distance-map-to-optimise-entity-tracker.patch rename to patches/server/0431-Use-distance-map-to-optimise-entity-tracker.patch diff --git a/patches/server/0430-Optimize-isOutsideRange-to-use-distance-maps.patch b/patches/server/0432-Optimize-isOutsideRange-to-use-distance-maps.patch similarity index 100% rename from patches/server/0430-Optimize-isOutsideRange-to-use-distance-maps.patch rename to patches/server/0432-Optimize-isOutsideRange-to-use-distance-maps.patch diff --git a/patches/server/0431-Add-villager-reputation-API.patch b/patches/server/0433-Add-villager-reputation-API.patch similarity index 100% rename from patches/server/0431-Add-villager-reputation-API.patch rename to patches/server/0433-Add-villager-reputation-API.patch diff --git a/patches/server/0432-Option-for-maximum-exp-value-when-merging-orbs.patch b/patches/server/0434-Option-for-maximum-exp-value-when-merging-orbs.patch similarity index 100% rename from patches/server/0432-Option-for-maximum-exp-value-when-merging-orbs.patch rename to patches/server/0434-Option-for-maximum-exp-value-when-merging-orbs.patch diff --git a/patches/server/0433-ExperienceOrbMergeEvent.patch b/patches/server/0435-ExperienceOrbMergeEvent.patch similarity index 100% rename from patches/server/0433-ExperienceOrbMergeEvent.patch rename to patches/server/0435-ExperienceOrbMergeEvent.patch diff --git a/patches/server/0434-Fix-PotionEffect-ignores-icon-flag.patch b/patches/server/0436-Fix-PotionEffect-ignores-icon-flag.patch similarity index 100% rename from patches/server/0434-Fix-PotionEffect-ignores-icon-flag.patch rename to patches/server/0436-Fix-PotionEffect-ignores-icon-flag.patch diff --git a/patches/server/0435-Optimize-brigadier-child-sorting-performance.patch b/patches/server/0437-Optimize-brigadier-child-sorting-performance.patch similarity index 100% rename from patches/server/0435-Optimize-brigadier-child-sorting-performance.patch rename to patches/server/0437-Optimize-brigadier-child-sorting-performance.patch diff --git a/patches/server/0436-Potential-bed-API.patch b/patches/server/0438-Potential-bed-API.patch similarity index 100% rename from patches/server/0436-Potential-bed-API.patch rename to patches/server/0438-Potential-bed-API.patch diff --git a/patches/server/0437-Wait-for-Async-Tasks-during-shutdown.patch b/patches/server/0439-Wait-for-Async-Tasks-during-shutdown.patch similarity index 89% rename from patches/server/0437-Wait-for-Async-Tasks-during-shutdown.patch rename to patches/server/0439-Wait-for-Async-Tasks-during-shutdown.patch index 6d140320d0..9a38989479 100644 --- a/patches/server/0437-Wait-for-Async-Tasks-during-shutdown.patch +++ b/patches/server/0439-Wait-for-Async-Tasks-during-shutdown.patch @@ -10,10 +10,10 @@ Adds a 5 second grace period for any async tasks to finish and warns if any are still running after that delay just as reload does. diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 2e8892211dd3eb4cac27bcb3b302a25d833e2626..8e6938b76ff62f81f868ca0f6badce081263a300 100644 +index 99555bb8b6f5b8c2bb9a15ee469fe2dd3b980f67..f5ef6219b20d5b7af81537dab8d9815d74d1560a 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -969,6 +969,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop 0 && this.tickCount % this.autosavePeriod == 0) { // CraftBukkit // Paper - move down // MinecraftServer.LOGGER.debug("Autosave started"); // Paper serverAutoSave = (autosavePeriod > 0 && this.tickCount % autosavePeriod == 0); // Paper diff --git a/patches/server/0498-Fix-some-rails-connecting-improperly.patch b/patches/server/0500-Fix-some-rails-connecting-improperly.patch similarity index 100% rename from patches/server/0498-Fix-some-rails-connecting-improperly.patch rename to patches/server/0500-Fix-some-rails-connecting-improperly.patch diff --git a/patches/server/0499-Fix-MC-187716-Use-configured-height.patch b/patches/server/0501-Fix-MC-187716-Use-configured-height.patch similarity index 100% rename from patches/server/0499-Fix-MC-187716-Use-configured-height.patch rename to patches/server/0501-Fix-MC-187716-Use-configured-height.patch diff --git a/patches/server/0500-Fix-regex-mistake-in-CB-NBT-int-deserialization.patch b/patches/server/0502-Fix-regex-mistake-in-CB-NBT-int-deserialization.patch similarity index 100% rename from patches/server/0500-Fix-regex-mistake-in-CB-NBT-int-deserialization.patch rename to patches/server/0502-Fix-regex-mistake-in-CB-NBT-int-deserialization.patch diff --git a/patches/server/0501-Do-not-let-the-server-load-chunks-from-newer-version.patch b/patches/server/0503-Do-not-let-the-server-load-chunks-from-newer-version.patch similarity index 100% rename from patches/server/0501-Do-not-let-the-server-load-chunks-from-newer-version.patch rename to patches/server/0503-Do-not-let-the-server-load-chunks-from-newer-version.patch diff --git a/patches/server/0502-Brand-support.patch b/patches/server/0504-Brand-support.patch similarity index 100% rename from patches/server/0502-Brand-support.patch rename to patches/server/0504-Brand-support.patch diff --git a/patches/server/0503-Add-setMaxPlayers-API.patch b/patches/server/0505-Add-setMaxPlayers-API.patch similarity index 94% rename from patches/server/0503-Add-setMaxPlayers-API.patch rename to patches/server/0505-Add-setMaxPlayers-API.patch index 10f7dfe062..0ba5412666 100644 --- a/patches/server/0503-Add-setMaxPlayers-API.patch +++ b/patches/server/0505-Add-setMaxPlayers-API.patch @@ -18,7 +18,7 @@ index 9a73364f4d56f3a7cecb27bc8034166b8f5731b9..4d1d5dacb175e7059a6af036432ef891 private boolean allowCheatsForAllPlayers; private static final boolean ALLOW_LOGOUTIVATOR = false; diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -index bfdfbc550306484290989329878e33adbf3f37cd..c1ea62a2c65fb2cbb79c967cfb8fd2bb9cbba7a2 100644 +index 31007c49f0fd627024307fd67b121e9a1f657aa2..ff10c186939e4d77e7efdbd469531a1b00698508 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -627,6 +627,13 @@ public final class CraftServer implements Server { diff --git a/patches/server/0504-Add-playPickupItemAnimation-to-LivingEntity.patch b/patches/server/0506-Add-playPickupItemAnimation-to-LivingEntity.patch similarity index 100% rename from patches/server/0504-Add-playPickupItemAnimation-to-LivingEntity.patch rename to patches/server/0506-Add-playPickupItemAnimation-to-LivingEntity.patch diff --git a/patches/server/0505-Don-t-require-FACING-data.patch b/patches/server/0507-Don-t-require-FACING-data.patch similarity index 100% rename from patches/server/0505-Don-t-require-FACING-data.patch rename to patches/server/0507-Don-t-require-FACING-data.patch diff --git a/patches/server/0506-Fix-SpawnChangeEvent-not-firing-for-all-use-cases.patch b/patches/server/0508-Fix-SpawnChangeEvent-not-firing-for-all-use-cases.patch similarity index 100% rename from patches/server/0506-Fix-SpawnChangeEvent-not-firing-for-all-use-cases.patch rename to patches/server/0508-Fix-SpawnChangeEvent-not-firing-for-all-use-cases.patch diff --git a/patches/server/0507-Add-moon-phase-API.patch b/patches/server/0509-Add-moon-phase-API.patch similarity index 100% rename from patches/server/0507-Add-moon-phase-API.patch rename to patches/server/0509-Add-moon-phase-API.patch diff --git a/patches/server/0508-Prevent-headless-pistons-from-being-created.patch b/patches/server/0510-Prevent-headless-pistons-from-being-created.patch similarity index 96% rename from patches/server/0508-Prevent-headless-pistons-from-being-created.patch rename to patches/server/0510-Prevent-headless-pistons-from-being-created.patch index da7b8b87be..105b070cd5 100644 --- a/patches/server/0508-Prevent-headless-pistons-from-being-created.patch +++ b/patches/server/0510-Prevent-headless-pistons-from-being-created.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Prevent headless pistons from being created Prevent headless pistons from being created by explosions or tree/mushroom growth. diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index 154222698ba1855283f8378b996cbfcc8bbdf81c..7fb9135d35ff8746044d1e94915c1cc9b11af86f 100644 +index d74f0bdabd64976bf8608f2a5d8f2dc6118a35f2..c59a881632810da1408e74493bafcd4e6b01d975 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -458,6 +458,12 @@ public class PaperConfig { +@@ -462,6 +462,12 @@ public class PaperConfig { set("settings.unsupported-settings.allow-tnt-duplication", null); } diff --git a/patches/server/0509-Add-BellRingEvent.patch b/patches/server/0511-Add-BellRingEvent.patch similarity index 100% rename from patches/server/0509-Add-BellRingEvent.patch rename to patches/server/0511-Add-BellRingEvent.patch diff --git a/patches/server/0510-Add-zombie-targets-turtle-egg-config.patch b/patches/server/0512-Add-zombie-targets-turtle-egg-config.patch similarity index 100% rename from patches/server/0510-Add-zombie-targets-turtle-egg-config.patch rename to patches/server/0512-Add-zombie-targets-turtle-egg-config.patch diff --git a/patches/server/0511-Buffer-joins-to-world.patch b/patches/server/0513-Buffer-joins-to-world.patch similarity index 95% rename from patches/server/0511-Buffer-joins-to-world.patch rename to patches/server/0513-Buffer-joins-to-world.patch index 907932540a..f7d606bc3e 100644 --- a/patches/server/0511-Buffer-joins-to-world.patch +++ b/patches/server/0513-Buffer-joins-to-world.patch @@ -8,10 +8,10 @@ the world per tick, this attempts to reduce the impact that join floods has on the server diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index 7fb9135d35ff8746044d1e94915c1cc9b11af86f..40b93af871b66bae3498c6e9738eaa5debe90d42 100644 +index c59a881632810da1408e74493bafcd4e6b01d975..07eeb01c95a04299fab2daddfdaf5d1a96495ef0 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -474,4 +474,9 @@ public class PaperConfig { +@@ -478,4 +478,9 @@ public class PaperConfig { maxPlayerAutoSavePerTick = (playerAutoSaveRate == -1 || playerAutoSaveRate > 100) ? 10 : 20; } } diff --git a/patches/server/0512-Optimize-redstone-algorithm.patch b/patches/server/0514-Optimize-redstone-algorithm.patch similarity index 100% rename from patches/server/0512-Optimize-redstone-algorithm.patch rename to patches/server/0514-Optimize-redstone-algorithm.patch diff --git a/patches/server/0513-Fix-hex-colors-not-working-in-some-kick-messages.patch b/patches/server/0515-Fix-hex-colors-not-working-in-some-kick-messages.patch similarity index 98% rename from patches/server/0513-Fix-hex-colors-not-working-in-some-kick-messages.patch rename to patches/server/0515-Fix-hex-colors-not-working-in-some-kick-messages.patch index 07e2514385..ae103d20a7 100644 --- a/patches/server/0513-Fix-hex-colors-not-working-in-some-kick-messages.patch +++ b/patches/server/0515-Fix-hex-colors-not-working-in-some-kick-messages.patch @@ -43,7 +43,7 @@ index c09d3cdb3acb04b6a833c30a619ff2af5e8b6b18..2384ae5082afd01c4f28fe2f3f782cdc this.connection.disconnect(chatmessage); return; diff --git a/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java -index bd1203a5b58bac7cccf1f81337fa2967a0e9eb40..7da88bc52161dc32da22451077a4dfd8facb2de1 100644 +index 6468a675862ee2956308b760012fe25cf505563f..f4cff18afa816aa7efb2f80e0af51216129963a4 100644 --- a/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java @@ -106,14 +106,7 @@ public class ServerLoginPacketListenerImpl implements ServerLoginPacketListener diff --git a/patches/server/0514-PortalCreateEvent-needs-to-know-its-entity.patch b/patches/server/0516-PortalCreateEvent-needs-to-know-its-entity.patch similarity index 100% rename from patches/server/0514-PortalCreateEvent-needs-to-know-its-entity.patch rename to patches/server/0516-PortalCreateEvent-needs-to-know-its-entity.patch diff --git a/patches/server/0515-Fix-CraftTeam-null-check.patch b/patches/server/0517-Fix-CraftTeam-null-check.patch similarity index 100% rename from patches/server/0515-Fix-CraftTeam-null-check.patch rename to patches/server/0517-Fix-CraftTeam-null-check.patch diff --git a/patches/server/0516-Add-more-Evoker-API.patch b/patches/server/0518-Add-more-Evoker-API.patch similarity index 100% rename from patches/server/0516-Add-more-Evoker-API.patch rename to patches/server/0518-Add-more-Evoker-API.patch diff --git a/patches/server/0517-Add-methods-to-get-translation-keys.patch b/patches/server/0519-Add-methods-to-get-translation-keys.patch similarity index 100% rename from patches/server/0517-Add-methods-to-get-translation-keys.patch rename to patches/server/0519-Add-methods-to-get-translation-keys.patch diff --git a/patches/server/0518-Create-HoverEvent-from-ItemStack-Entity.patch b/patches/server/0520-Create-HoverEvent-from-ItemStack-Entity.patch similarity index 100% rename from patches/server/0518-Create-HoverEvent-from-ItemStack-Entity.patch rename to patches/server/0520-Create-HoverEvent-from-ItemStack-Entity.patch diff --git a/patches/server/0519-Cache-block-data-strings.patch b/patches/server/0521-Cache-block-data-strings.patch similarity index 95% rename from patches/server/0519-Cache-block-data-strings.patch rename to patches/server/0521-Cache-block-data-strings.patch index 706d0a6ad0..7bb44626b1 100644 --- a/patches/server/0519-Cache-block-data-strings.patch +++ b/patches/server/0521-Cache-block-data-strings.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Cache block data strings diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 47fbfe7cc1261d65264bb1897c57f72a7b4df46e..79975b851f73ab308e9f5b295a85327bb62dee29 100644 +index 5595fc75df984b3d21f78759cb76f5b4018ff550..3116ecf53e801347cde74753f0edb8d37ee1c117 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -2038,6 +2038,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop completablefuture = CompletableFuture.supplyAsync(() -> { Stream stream = datapacks.stream(); // CraftBukkit - decompile error PackRepository resourcepackrepository = this.packRepository; -@@ -2033,6 +2039,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop) new CraftFluidTag(FluidTags.getAllTags(), key); diff --git a/patches/server/0605-added-Wither-API.patch b/patches/server/0607-added-Wither-API.patch similarity index 100% rename from patches/server/0605-added-Wither-API.patch rename to patches/server/0607-added-Wither-API.patch diff --git a/patches/server/0606-Added-firing-of-PlayerChangeBeaconEffectEvent.patch b/patches/server/0608-Added-firing-of-PlayerChangeBeaconEffectEvent.patch similarity index 100% rename from patches/server/0606-Added-firing-of-PlayerChangeBeaconEffectEvent.patch rename to patches/server/0608-Added-firing-of-PlayerChangeBeaconEffectEvent.patch diff --git a/patches/server/0607-Add-toggle-for-always-placing-the-dragon-egg.patch b/patches/server/0609-Add-toggle-for-always-placing-the-dragon-egg.patch similarity index 100% rename from patches/server/0607-Add-toggle-for-always-placing-the-dragon-egg.patch rename to patches/server/0609-Add-toggle-for-always-placing-the-dragon-egg.patch diff --git a/patches/server/0608-Added-PlayerStonecutterRecipeSelectEvent.patch b/patches/server/0610-Added-PlayerStonecutterRecipeSelectEvent.patch similarity index 100% rename from patches/server/0608-Added-PlayerStonecutterRecipeSelectEvent.patch rename to patches/server/0610-Added-PlayerStonecutterRecipeSelectEvent.patch diff --git a/patches/server/0609-Add-dropLeash-variable-to-EntityUnleashEvent.patch b/patches/server/0611-Add-dropLeash-variable-to-EntityUnleashEvent.patch similarity index 100% rename from patches/server/0609-Add-dropLeash-variable-to-EntityUnleashEvent.patch rename to patches/server/0611-Add-dropLeash-variable-to-EntityUnleashEvent.patch diff --git a/patches/server/0610-Skip-distance-map-update-when-spawning-disabled.patch b/patches/server/0612-Skip-distance-map-update-when-spawning-disabled.patch similarity index 100% rename from patches/server/0610-Skip-distance-map-update-when-spawning-disabled.patch rename to patches/server/0612-Skip-distance-map-update-when-spawning-disabled.patch diff --git a/patches/server/0611-Reset-shield-blocking-on-dimension-change.patch b/patches/server/0613-Reset-shield-blocking-on-dimension-change.patch similarity index 100% rename from patches/server/0611-Reset-shield-blocking-on-dimension-change.patch rename to patches/server/0613-Reset-shield-blocking-on-dimension-change.patch diff --git a/patches/server/0612-add-DragonEggFormEvent.patch b/patches/server/0614-add-DragonEggFormEvent.patch similarity index 100% rename from patches/server/0612-add-DragonEggFormEvent.patch rename to patches/server/0614-add-DragonEggFormEvent.patch diff --git a/patches/server/0613-EntityMoveEvent.patch b/patches/server/0615-EntityMoveEvent.patch similarity index 95% rename from patches/server/0613-EntityMoveEvent.patch rename to patches/server/0615-EntityMoveEvent.patch index 2a5dc133b7..93675c6f06 100644 --- a/patches/server/0613-EntityMoveEvent.patch +++ b/patches/server/0615-EntityMoveEvent.patch @@ -5,10 +5,10 @@ Subject: [PATCH] EntityMoveEvent diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index c848ec7a39ac18cd622b681298200769c78b5ae5..9111d3fb84ca4a7dc881e1326ac0c93a81ec7f58 100644 +index 3150128a9bdabe902b18ebb7aadbc8a50f686a5b..f15cb87d96b3f5028ab6ceba1e9026525cdecbee 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -1522,6 +1522,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop 0; // Paper diff --git a/patches/server/0614-added-option-to-disable-pathfinding-updates-on-block.patch b/patches/server/0616-added-option-to-disable-pathfinding-updates-on-block.patch similarity index 100% rename from patches/server/0614-added-option-to-disable-pathfinding-updates-on-block.patch rename to patches/server/0616-added-option-to-disable-pathfinding-updates-on-block.patch diff --git a/patches/server/0615-Inline-shift-direction-fields.patch b/patches/server/0617-Inline-shift-direction-fields.patch similarity index 100% rename from patches/server/0615-Inline-shift-direction-fields.patch rename to patches/server/0617-Inline-shift-direction-fields.patch diff --git a/patches/server/0616-Allow-adding-items-to-BlockDropItemEvent.patch b/patches/server/0618-Allow-adding-items-to-BlockDropItemEvent.patch similarity index 100% rename from patches/server/0616-Allow-adding-items-to-BlockDropItemEvent.patch rename to patches/server/0618-Allow-adding-items-to-BlockDropItemEvent.patch diff --git a/patches/server/0617-Add-getMainThreadExecutor-to-BukkitScheduler.patch b/patches/server/0619-Add-getMainThreadExecutor-to-BukkitScheduler.patch similarity index 100% rename from patches/server/0617-Add-getMainThreadExecutor-to-BukkitScheduler.patch rename to patches/server/0619-Add-getMainThreadExecutor-to-BukkitScheduler.patch diff --git a/patches/server/0618-living-entity-allow-attribute-registration.patch b/patches/server/0620-living-entity-allow-attribute-registration.patch similarity index 100% rename from patches/server/0618-living-entity-allow-attribute-registration.patch rename to patches/server/0620-living-entity-allow-attribute-registration.patch diff --git a/patches/server/0619-fix-dead-slime-setSize-invincibility.patch b/patches/server/0621-fix-dead-slime-setSize-invincibility.patch similarity index 100% rename from patches/server/0619-fix-dead-slime-setSize-invincibility.patch rename to patches/server/0621-fix-dead-slime-setSize-invincibility.patch diff --git a/patches/server/0620-Merchant-getRecipes-should-return-an-immutable-list.patch b/patches/server/0622-Merchant-getRecipes-should-return-an-immutable-list.patch similarity index 100% rename from patches/server/0620-Merchant-getRecipes-should-return-an-immutable-list.patch rename to patches/server/0622-Merchant-getRecipes-should-return-an-immutable-list.patch diff --git a/patches/server/0622-Add-support-for-hex-color-codes-in-console.patch b/patches/server/0623-Add-support-for-hex-color-codes-in-console.patch similarity index 97% rename from patches/server/0622-Add-support-for-hex-color-codes-in-console.patch rename to patches/server/0623-Add-support-for-hex-color-codes-in-console.patch index c5f63cd550..bcd20a6201 100644 --- a/patches/server/0622-Add-support-for-hex-color-codes-in-console.patch +++ b/patches/server/0623-Add-support-for-hex-color-codes-in-console.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Add support for hex color codes in console Converts upstream's hex color code legacy format into actual hex color codes in the console. diff --git a/build.gradle.kts b/build.gradle.kts -index 81d507895572e9c0ec3c87d3745f95067922093a..5ee1e44647cfd7dff08ba7ce17d4b04246b7ab57 100644 +index 3cffe7e7a09595f7aa200d146c68207946544bc7..77754f4de68ca0e5acf6252ae0b1210d7ce79ec8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts -@@ -28,6 +28,7 @@ dependencies { +@@ -40,6 +40,7 @@ dependencies { Scanning takes about 1-2 seconds so adding this speeds up the server start. */ implementation("org.apache.logging.log4j:log4j-core:2.14.1") // Paper - implementation @@ -202,7 +202,7 @@ index 0000000000000000000000000000000000000000..a4315961b7a465fb4872a4d67e7c26d4 + +} diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml -index d285dbec16272db6b8a71865e05924ad66087407..7484c52761d4d8da827cd7693cf8e14519c35a9b 100644 +index 1a05d23ff886b015fb9396f119822c678a47ec6f..2e421eaac80cf251b32e0bb504dd54a73edf4986 100644 --- a/src/main/resources/log4j2.xml +++ b/src/main/resources/log4j2.xml @@ -6,21 +6,21 @@ diff --git a/patches/server/0623-Expose-Tracked-Players.patch b/patches/server/0624-Expose-Tracked-Players.patch similarity index 100% rename from patches/server/0623-Expose-Tracked-Players.patch rename to patches/server/0624-Expose-Tracked-Players.patch diff --git a/patches/server/0624-Remove-streams-from-SensorNearest.patch b/patches/server/0625-Remove-streams-from-SensorNearest.patch similarity index 100% rename from patches/server/0624-Remove-streams-from-SensorNearest.patch rename to patches/server/0625-Remove-streams-from-SensorNearest.patch diff --git a/patches/server/0625-MC-29274-Fix-Wither-hostility-towards-players.patch b/patches/server/0626-MC-29274-Fix-Wither-hostility-towards-players.patch similarity index 100% rename from patches/server/0625-MC-29274-Fix-Wither-hostility-towards-players.patch rename to patches/server/0626-MC-29274-Fix-Wither-hostility-towards-players.patch diff --git a/patches/server/0626-Throw-proper-exception-on-empty-JsonList-file.patch b/patches/server/0627-Throw-proper-exception-on-empty-JsonList-file.patch similarity index 100% rename from patches/server/0626-Throw-proper-exception-on-empty-JsonList-file.patch rename to patches/server/0627-Throw-proper-exception-on-empty-JsonList-file.patch diff --git a/patches/server/0627-Improve-ServerGUI.patch b/patches/server/0628-Improve-ServerGUI.patch similarity index 100% rename from patches/server/0627-Improve-ServerGUI.patch rename to patches/server/0628-Improve-ServerGUI.patch diff --git a/patches/server/0628-stop-firing-pressure-plate-EntityInteractEvent-for-i.patch b/patches/server/0629-stop-firing-pressure-plate-EntityInteractEvent-for-i.patch similarity index 100% rename from patches/server/0628-stop-firing-pressure-plate-EntityInteractEvent-for-i.patch rename to patches/server/0629-stop-firing-pressure-plate-EntityInteractEvent-for-i.patch diff --git a/patches/server/0629-fix-converting-txt-to-json-file.patch b/patches/server/0630-fix-converting-txt-to-json-file.patch similarity index 95% rename from patches/server/0629-fix-converting-txt-to-json-file.patch rename to patches/server/0630-fix-converting-txt-to-json-file.patch index 4aee6511f0..e9cc3d0fc4 100644 --- a/patches/server/0629-fix-converting-txt-to-json-file.patch +++ b/patches/server/0630-fix-converting-txt-to-json-file.patch @@ -21,7 +21,7 @@ index aeb91eefa0949b2a53d77f1e4a48a29b9d1bc3fe..918f5221e94cbc867349c69c83563e22 this.saveUserBanList(); this.loadIpBanList(); diff --git a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -index 0a930147663850dc2ea7ffe9ced5611d5bab7c6d..41d1816543d0b98bd6a3ff5600cdd26257c7497a 100644 +index 286863b7eb9ee0389154304e61942dd68f978ff1..67afb97e6cb545d319202f3eca771015065089f6 100644 --- a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +++ b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java @@ -205,6 +205,12 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface @@ -37,7 +37,7 @@ index 0a930147663850dc2ea7ffe9ced5611d5bab7c6d..41d1816543d0b98bd6a3ff5600cdd262 // Paper start try { com.destroystokyo.paper.PaperConfig.init((java.io.File) options.valueOf("paper-settings")); -@@ -266,9 +272,6 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface +@@ -267,9 +273,6 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface DedicatedServer.LOGGER.warn("To change this, set \"online-mode\" to \"true\" in the server.properties file."); } diff --git a/patches/server/0630-Add-worldborder-events.patch b/patches/server/0631-Add-worldborder-events.patch similarity index 100% rename from patches/server/0630-Add-worldborder-events.patch rename to patches/server/0631-Add-worldborder-events.patch diff --git a/patches/server/0631-added-PlayerNameEntityEvent.patch b/patches/server/0632-added-PlayerNameEntityEvent.patch similarity index 100% rename from patches/server/0631-added-PlayerNameEntityEvent.patch rename to patches/server/0632-added-PlayerNameEntityEvent.patch diff --git a/patches/server/0632-Prevent-grindstones-from-overstacking-items.patch b/patches/server/0633-Prevent-grindstones-from-overstacking-items.patch similarity index 100% rename from patches/server/0632-Prevent-grindstones-from-overstacking-items.patch rename to patches/server/0633-Prevent-grindstones-from-overstacking-items.patch diff --git a/patches/server/0633-Add-recipe-to-cook-events.patch b/patches/server/0634-Add-recipe-to-cook-events.patch similarity index 100% rename from patches/server/0633-Add-recipe-to-cook-events.patch rename to patches/server/0634-Add-recipe-to-cook-events.patch diff --git a/patches/server/0634-Add-Block-isValidTool.patch b/patches/server/0635-Add-Block-isValidTool.patch similarity index 100% rename from patches/server/0634-Add-Block-isValidTool.patch rename to patches/server/0635-Add-Block-isValidTool.patch diff --git a/patches/server/0635-Allow-using-signs-inside-spawn-protection.patch b/patches/server/0636-Allow-using-signs-inside-spawn-protection.patch similarity index 100% rename from patches/server/0635-Allow-using-signs-inside-spawn-protection.patch rename to patches/server/0636-Allow-using-signs-inside-spawn-protection.patch diff --git a/patches/server/0636-Implement-Keyed-on-World.patch b/patches/server/0637-Implement-Keyed-on-World.patch similarity index 100% rename from patches/server/0636-Implement-Keyed-on-World.patch rename to patches/server/0637-Implement-Keyed-on-World.patch diff --git a/patches/server/0637-Add-fast-alternative-constructor-for-Rotations.patch b/patches/server/0638-Add-fast-alternative-constructor-for-Rotations.patch similarity index 100% rename from patches/server/0637-Add-fast-alternative-constructor-for-Rotations.patch rename to patches/server/0638-Add-fast-alternative-constructor-for-Rotations.patch diff --git a/patches/server/0638-Item-Rarity-API.patch b/patches/server/0639-Item-Rarity-API.patch similarity index 100% rename from patches/server/0638-Item-Rarity-API.patch rename to patches/server/0639-Item-Rarity-API.patch diff --git a/patches/server/0639-Only-set-despawnTimer-for-Wandering-Traders-spawned-.patch b/patches/server/0640-Only-set-despawnTimer-for-Wandering-Traders-spawned-.patch similarity index 100% rename from patches/server/0639-Only-set-despawnTimer-for-Wandering-Traders-spawned-.patch rename to patches/server/0640-Only-set-despawnTimer-for-Wandering-Traders-spawned-.patch diff --git a/patches/server/0640-copy-TESign-isEditable-from-snapshots.patch b/patches/server/0641-copy-TESign-isEditable-from-snapshots.patch similarity index 100% rename from patches/server/0640-copy-TESign-isEditable-from-snapshots.patch rename to patches/server/0641-copy-TESign-isEditable-from-snapshots.patch diff --git a/patches/server/0641-Drop-carried-item-when-player-has-disconnected.patch b/patches/server/0642-Drop-carried-item-when-player-has-disconnected.patch similarity index 100% rename from patches/server/0641-Drop-carried-item-when-player-has-disconnected.patch rename to patches/server/0642-Drop-carried-item-when-player-has-disconnected.patch diff --git a/patches/server/0642-forced-whitelist-use-configurable-kick-message.patch b/patches/server/0643-forced-whitelist-use-configurable-kick-message.patch similarity index 100% rename from patches/server/0642-forced-whitelist-use-configurable-kick-message.patch rename to patches/server/0643-forced-whitelist-use-configurable-kick-message.patch diff --git a/patches/server/0643-Don-t-ignore-result-of-PlayerEditBookEvent.patch b/patches/server/0644-Don-t-ignore-result-of-PlayerEditBookEvent.patch similarity index 100% rename from patches/server/0643-Don-t-ignore-result-of-PlayerEditBookEvent.patch rename to patches/server/0644-Don-t-ignore-result-of-PlayerEditBookEvent.patch diff --git a/patches/server/0644-Entity-load-save-limit-per-chunk.patch b/patches/server/0645-Entity-load-save-limit-per-chunk.patch similarity index 100% rename from patches/server/0644-Entity-load-save-limit-per-chunk.patch rename to patches/server/0645-Entity-load-save-limit-per-chunk.patch diff --git a/patches/server/0645-fix-cancelling-block-falling-causing-client-desync.patch b/patches/server/0646-fix-cancelling-block-falling-causing-client-desync.patch similarity index 100% rename from patches/server/0645-fix-cancelling-block-falling-causing-client-desync.patch rename to patches/server/0646-fix-cancelling-block-falling-causing-client-desync.patch diff --git a/patches/server/0646-Expose-protocol-version.patch b/patches/server/0647-Expose-protocol-version.patch similarity index 100% rename from patches/server/0646-Expose-protocol-version.patch rename to patches/server/0647-Expose-protocol-version.patch diff --git a/patches/server/0647-Allow-for-Component-suggestion-tooltips-in-AsyncTabC.patch b/patches/server/0648-Allow-for-Component-suggestion-tooltips-in-AsyncTabC.patch similarity index 100% rename from patches/server/0647-Allow-for-Component-suggestion-tooltips-in-AsyncTabC.patch rename to patches/server/0648-Allow-for-Component-suggestion-tooltips-in-AsyncTabC.patch diff --git a/patches/server/0648-Enhance-console-tab-completions-for-brigadier-comman.patch b/patches/server/0649-Enhance-console-tab-completions-for-brigadier-comman.patch similarity index 98% rename from patches/server/0648-Enhance-console-tab-completions-for-brigadier-comman.patch rename to patches/server/0649-Enhance-console-tab-completions-for-brigadier-comman.patch index 9d5ff7e33f..b0c49ebde0 100644 --- a/patches/server/0648-Enhance-console-tab-completions-for-brigadier-comman.patch +++ b/patches/server/0649-Enhance-console-tab-completions-for-brigadier-comman.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Enhance console tab completions for brigadier commands diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index bcd01736e91c126d655a0a71090e9dadf22e79b9..78078e7ee04f9c46f98b7e5829a620730358c233 100644 +index 5af9d91e15b0c10da79fa935cc884cd2766edfae..6c4bb838792c779da7b2d84831f6e67779695993 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -496,4 +496,11 @@ public class PaperConfig { +@@ -500,4 +500,11 @@ public class PaperConfig { private static void fixEntityPositionDesync() { fixEntityPositionDesync = getBoolean("settings.fix-entity-position-desync", fixEntityPositionDesync); } diff --git a/patches/server/0649-Fix-PlayerItemConsumeEvent-cancelling-properly.patch b/patches/server/0650-Fix-PlayerItemConsumeEvent-cancelling-properly.patch similarity index 100% rename from patches/server/0649-Fix-PlayerItemConsumeEvent-cancelling-properly.patch rename to patches/server/0650-Fix-PlayerItemConsumeEvent-cancelling-properly.patch diff --git a/patches/server/0650-Add-bypass-host-check.patch b/patches/server/0651-Add-bypass-host-check.patch similarity index 100% rename from patches/server/0650-Add-bypass-host-check.patch rename to patches/server/0651-Add-bypass-host-check.patch diff --git a/patches/server/0651-Set-area-affect-cloud-rotation.patch b/patches/server/0652-Set-area-affect-cloud-rotation.patch similarity index 100% rename from patches/server/0651-Set-area-affect-cloud-rotation.patch rename to patches/server/0652-Set-area-affect-cloud-rotation.patch diff --git a/patches/server/0652-add-isDeeplySleeping-to-HumanEntity.patch b/patches/server/0653-add-isDeeplySleeping-to-HumanEntity.patch similarity index 100% rename from patches/server/0652-add-isDeeplySleeping-to-HumanEntity.patch rename to patches/server/0653-add-isDeeplySleeping-to-HumanEntity.patch diff --git a/patches/server/0653-Fix-duplicating-give-items-on-item-drop-cancel.patch b/patches/server/0654-Fix-duplicating-give-items-on-item-drop-cancel.patch similarity index 100% rename from patches/server/0653-Fix-duplicating-give-items-on-item-drop-cancel.patch rename to patches/server/0654-Fix-duplicating-give-items-on-item-drop-cancel.patch diff --git a/patches/server/0654-add-consumeFuel-to-FurnaceBurnEvent.patch b/patches/server/0655-add-consumeFuel-to-FurnaceBurnEvent.patch similarity index 100% rename from patches/server/0654-add-consumeFuel-to-FurnaceBurnEvent.patch rename to patches/server/0655-add-consumeFuel-to-FurnaceBurnEvent.patch diff --git a/patches/server/0655-add-get-set-drop-chance-to-EntityEquipment.patch b/patches/server/0656-add-get-set-drop-chance-to-EntityEquipment.patch similarity index 100% rename from patches/server/0655-add-get-set-drop-chance-to-EntityEquipment.patch rename to patches/server/0656-add-get-set-drop-chance-to-EntityEquipment.patch diff --git a/patches/server/0656-fix-PigZombieAngerEvent-cancellation.patch b/patches/server/0657-fix-PigZombieAngerEvent-cancellation.patch similarity index 100% rename from patches/server/0656-fix-PigZombieAngerEvent-cancellation.patch rename to patches/server/0657-fix-PigZombieAngerEvent-cancellation.patch diff --git a/patches/server/0657-Fix-checkReach-check-for-Shulker-boxes.patch b/patches/server/0658-Fix-checkReach-check-for-Shulker-boxes.patch similarity index 100% rename from patches/server/0657-Fix-checkReach-check-for-Shulker-boxes.patch rename to patches/server/0658-Fix-checkReach-check-for-Shulker-boxes.patch diff --git a/patches/server/0658-fix-PlayerItemHeldEvent-firing-twice.patch b/patches/server/0659-fix-PlayerItemHeldEvent-firing-twice.patch similarity index 100% rename from patches/server/0658-fix-PlayerItemHeldEvent-firing-twice.patch rename to patches/server/0659-fix-PlayerItemHeldEvent-firing-twice.patch diff --git a/patches/server/0659-Added-PlayerDeepSleepEvent.patch b/patches/server/0660-Added-PlayerDeepSleepEvent.patch similarity index 100% rename from patches/server/0659-Added-PlayerDeepSleepEvent.patch rename to patches/server/0660-Added-PlayerDeepSleepEvent.patch diff --git a/patches/server/0660-More-World-API.patch b/patches/server/0661-More-World-API.patch similarity index 100% rename from patches/server/0660-More-World-API.patch rename to patches/server/0661-More-World-API.patch diff --git a/patches/server/0661-Added-PlayerBedFailEnterEvent.patch b/patches/server/0662-Added-PlayerBedFailEnterEvent.patch similarity index 100% rename from patches/server/0661-Added-PlayerBedFailEnterEvent.patch rename to patches/server/0662-Added-PlayerBedFailEnterEvent.patch diff --git a/patches/server/0662-Implement-methods-to-convert-between-Component-and-B.patch b/patches/server/0663-Implement-methods-to-convert-between-Component-and-B.patch similarity index 89% rename from patches/server/0662-Implement-methods-to-convert-between-Component-and-B.patch rename to patches/server/0663-Implement-methods-to-convert-between-Component-and-B.patch index 2db6bccc49..b4ddba8f8d 100644 --- a/patches/server/0662-Implement-methods-to-convert-between-Component-and-B.patch +++ b/patches/server/0663-Implement-methods-to-convert-between-Component-and-B.patch @@ -42,13 +42,13 @@ index 0000000000000000000000000000000000000000..dd6012b6a097575b2d1471be5069ecce + } +} diff --git a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -index 41d1816543d0b98bd6a3ff5600cdd26257c7497a..9b5430bae4a863004aaa0fc41e7b75a7d5797b92 100644 +index 67afb97e6cb545d319202f3eca771015065089f6..472d0635719c0a8f495ce474bd4a268d4e9071c8 100644 --- a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +++ b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -@@ -220,6 +220,7 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface - } +@@ -221,6 +221,7 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface com.destroystokyo.paper.PaperConfig.registerCommands(); com.destroystokyo.paper.VersionHistoryManager.INSTANCE.getClass(); // load version history now + io.papermc.paper.util.ObfHelper.INSTANCE.getClass(); // load mappings for stacktrace deobf and etc. + io.papermc.paper.brigadier.PaperBrigadierProviderImpl.INSTANCE.getClass(); // init PaperBrigadierProvider // Paper end diff --git a/patches/server/0663-Fix-anchor-respawn-acting-as-a-bed-respawn-from-the-.patch b/patches/server/0664-Fix-anchor-respawn-acting-as-a-bed-respawn-from-the-.patch similarity index 100% rename from patches/server/0663-Fix-anchor-respawn-acting-as-a-bed-respawn-from-the-.patch rename to patches/server/0664-Fix-anchor-respawn-acting-as-a-bed-respawn-from-the-.patch diff --git a/patches/server/0664-Introduce-beacon-activation-deactivation-events.patch b/patches/server/0665-Introduce-beacon-activation-deactivation-events.patch similarity index 100% rename from patches/server/0664-Introduce-beacon-activation-deactivation-events.patch rename to patches/server/0665-Introduce-beacon-activation-deactivation-events.patch diff --git a/patches/server/0665-add-RespawnFlags-to-PlayerRespawnEvent.patch b/patches/server/0666-add-RespawnFlags-to-PlayerRespawnEvent.patch similarity index 100% rename from patches/server/0665-add-RespawnFlags-to-PlayerRespawnEvent.patch rename to patches/server/0666-add-RespawnFlags-to-PlayerRespawnEvent.patch diff --git a/patches/server/0666-Add-Channel-initialization-listeners.patch b/patches/server/0667-Add-Channel-initialization-listeners.patch similarity index 100% rename from patches/server/0666-Add-Channel-initialization-listeners.patch rename to patches/server/0667-Add-Channel-initialization-listeners.patch diff --git a/patches/server/0667-Send-empty-commands-if-tab-completion-is-disabled.patch b/patches/server/0668-Send-empty-commands-if-tab-completion-is-disabled.patch similarity index 100% rename from patches/server/0667-Send-empty-commands-if-tab-completion-is-disabled.patch rename to patches/server/0668-Send-empty-commands-if-tab-completion-is-disabled.patch diff --git a/patches/server/0668-Add-more-WanderingTrader-API.patch b/patches/server/0669-Add-more-WanderingTrader-API.patch similarity index 100% rename from patches/server/0668-Add-more-WanderingTrader-API.patch rename to patches/server/0669-Add-more-WanderingTrader-API.patch diff --git a/patches/server/0669-Add-EntityBlockStorage-clearEntities.patch b/patches/server/0670-Add-EntityBlockStorage-clearEntities.patch similarity index 100% rename from patches/server/0669-Add-EntityBlockStorage-clearEntities.patch rename to patches/server/0670-Add-EntityBlockStorage-clearEntities.patch diff --git a/patches/server/0670-Add-Adventure-message-to-PlayerAdvancementDoneEvent.patch b/patches/server/0671-Add-Adventure-message-to-PlayerAdvancementDoneEvent.patch similarity index 100% rename from patches/server/0670-Add-Adventure-message-to-PlayerAdvancementDoneEvent.patch rename to patches/server/0671-Add-Adventure-message-to-PlayerAdvancementDoneEvent.patch diff --git a/patches/server/0671-Add-raw-address-to-AsyncPlayerPreLoginEvent.patch b/patches/server/0672-Add-raw-address-to-AsyncPlayerPreLoginEvent.patch similarity index 100% rename from patches/server/0671-Add-raw-address-to-AsyncPlayerPreLoginEvent.patch rename to patches/server/0672-Add-raw-address-to-AsyncPlayerPreLoginEvent.patch diff --git a/patches/server/0672-Inventory-close.patch b/patches/server/0673-Inventory-close.patch similarity index 100% rename from patches/server/0672-Inventory-close.patch rename to patches/server/0673-Inventory-close.patch diff --git a/patches/server/0673-call-PortalCreateEvent-players-and-end-platform.patch b/patches/server/0674-call-PortalCreateEvent-players-and-end-platform.patch similarity index 100% rename from patches/server/0673-call-PortalCreateEvent-players-and-end-platform.patch rename to patches/server/0674-call-PortalCreateEvent-players-and-end-platform.patch diff --git a/patches/server/0674-Add-a-should-burn-in-sunlight-API-for-Phantoms-and-S.patch b/patches/server/0675-Add-a-should-burn-in-sunlight-API-for-Phantoms-and-S.patch similarity index 100% rename from patches/server/0674-Add-a-should-burn-in-sunlight-API-for-Phantoms-and-S.patch rename to patches/server/0675-Add-a-should-burn-in-sunlight-API-for-Phantoms-and-S.patch diff --git a/patches/server/0675-Fix-CraftPotionBrewer-cache.patch b/patches/server/0676-Fix-CraftPotionBrewer-cache.patch similarity index 100% rename from patches/server/0675-Fix-CraftPotionBrewer-cache.patch rename to patches/server/0676-Fix-CraftPotionBrewer-cache.patch diff --git a/patches/server/0676-Add-basic-Datapack-API.patch b/patches/server/0677-Add-basic-Datapack-API.patch similarity index 100% rename from patches/server/0676-Add-basic-Datapack-API.patch rename to patches/server/0677-Add-basic-Datapack-API.patch diff --git a/patches/server/0677-Add-environment-variable-to-disable-server-gui.patch b/patches/server/0678-Add-environment-variable-to-disable-server-gui.patch similarity index 100% rename from patches/server/0677-Add-environment-variable-to-disable-server-gui.patch rename to patches/server/0678-Add-environment-variable-to-disable-server-gui.patch diff --git a/patches/server/0678-additions-to-PlayerGameModeChangeEvent.patch b/patches/server/0679-additions-to-PlayerGameModeChangeEvent.patch similarity index 100% rename from patches/server/0678-additions-to-PlayerGameModeChangeEvent.patch rename to patches/server/0679-additions-to-PlayerGameModeChangeEvent.patch diff --git a/patches/server/0679-ItemStack-repair-check-API.patch b/patches/server/0680-ItemStack-repair-check-API.patch similarity index 100% rename from patches/server/0679-ItemStack-repair-check-API.patch rename to patches/server/0680-ItemStack-repair-check-API.patch diff --git a/patches/server/0680-More-Enchantment-API.patch b/patches/server/0681-More-Enchantment-API.patch similarity index 100% rename from patches/server/0680-More-Enchantment-API.patch rename to patches/server/0681-More-Enchantment-API.patch diff --git a/patches/server/0681-Add-command-line-option-to-load-extra-plugin-jars-no.patch b/patches/server/0682-Add-command-line-option-to-load-extra-plugin-jars-no.patch similarity index 100% rename from patches/server/0681-Add-command-line-option-to-load-extra-plugin-jars-no.patch rename to patches/server/0682-Add-command-line-option-to-load-extra-plugin-jars-no.patch diff --git a/patches/server/0682-Fix-and-optimise-world-force-upgrading.patch b/patches/server/0683-Fix-and-optimise-world-force-upgrading.patch similarity index 100% rename from patches/server/0682-Fix-and-optimise-world-force-upgrading.patch rename to patches/server/0683-Fix-and-optimise-world-force-upgrading.patch diff --git a/patches/server/0683-Add-Mob-lookAt-API.patch b/patches/server/0684-Add-Mob-lookAt-API.patch similarity index 100% rename from patches/server/0683-Add-Mob-lookAt-API.patch rename to patches/server/0684-Add-Mob-lookAt-API.patch diff --git a/patches/server/0684-Add-Unix-domain-socket-support.patch b/patches/server/0685-Add-Unix-domain-socket-support.patch similarity index 97% rename from patches/server/0684-Add-Unix-domain-socket-support.patch rename to patches/server/0685-Add-Unix-domain-socket-support.patch index 33845a8fe1..0c58ff2007 100644 --- a/patches/server/0684-Add-Unix-domain-socket-support.patch +++ b/patches/server/0685-Add-Unix-domain-socket-support.patch @@ -27,10 +27,10 @@ index bdd4f4db9849d9107b5c62d5e83b1277621f49f1..9d09ec3b127e3440bef6b248578dec10 } // Spigot End diff --git a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -index 9b5430bae4a863004aaa0fc41e7b75a7d5797b92..db0110120f88bc06954fa8c44b2a45f0c8229574 100644 +index 472d0635719c0a8f495ce474bd4a268d4e9071c8..1bf19965d12514dee34545235bfbadc0b74ddc8b 100644 --- a/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java +++ b/src/main/java/net/minecraft/server/dedicated/DedicatedServer.java -@@ -231,6 +231,20 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface +@@ -232,6 +232,20 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface this.setEnforceWhitelist(dedicatedserverproperties.enforceWhitelist); // this.worldData.setGameType(dedicatedserverproperties.gamemode); // CraftBukkit - moved to world loading DedicatedServer.LOGGER.info("Default game type: {}", dedicatedserverproperties.gamemode); @@ -51,7 +51,7 @@ index 9b5430bae4a863004aaa0fc41e7b75a7d5797b92..db0110120f88bc06954fa8c44b2a45f0 InetAddress inetaddress = null; if (!this.getLocalIp().isEmpty()) { -@@ -240,12 +254,15 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface +@@ -241,12 +255,15 @@ public class DedicatedServer extends MinecraftServer implements ServerInterface if (this.getPort() < 0) { this.setPort(dedicatedserverproperties.serverPort); } diff --git a/patches/server/0685-Add-EntityInsideBlockEvent.patch b/patches/server/0686-Add-EntityInsideBlockEvent.patch similarity index 100% rename from patches/server/0685-Add-EntityInsideBlockEvent.patch rename to patches/server/0686-Add-EntityInsideBlockEvent.patch diff --git a/patches/server/0686-Attributes-API-for-item-defaults.patch b/patches/server/0687-Attributes-API-for-item-defaults.patch similarity index 100% rename from patches/server/0686-Attributes-API-for-item-defaults.patch rename to patches/server/0687-Attributes-API-for-item-defaults.patch diff --git a/patches/server/0687-Have-CraftMerchantCustom-emit-PlayerPurchaseEvent.patch b/patches/server/0688-Have-CraftMerchantCustom-emit-PlayerPurchaseEvent.patch similarity index 100% rename from patches/server/0687-Have-CraftMerchantCustom-emit-PlayerPurchaseEvent.patch rename to patches/server/0688-Have-CraftMerchantCustom-emit-PlayerPurchaseEvent.patch diff --git a/patches/server/0688-Add-cause-to-Weather-ThunderChangeEvents.patch b/patches/server/0689-Add-cause-to-Weather-ThunderChangeEvents.patch similarity index 100% rename from patches/server/0688-Add-cause-to-Weather-ThunderChangeEvents.patch rename to patches/server/0689-Add-cause-to-Weather-ThunderChangeEvents.patch diff --git a/patches/server/0689-More-Lidded-Block-API.patch b/patches/server/0690-More-Lidded-Block-API.patch similarity index 100% rename from patches/server/0689-More-Lidded-Block-API.patch rename to patches/server/0690-More-Lidded-Block-API.patch diff --git a/patches/server/0690-Limit-item-frame-cursors-on-maps.patch b/patches/server/0691-Limit-item-frame-cursors-on-maps.patch similarity index 100% rename from patches/server/0690-Limit-item-frame-cursors-on-maps.patch rename to patches/server/0691-Limit-item-frame-cursors-on-maps.patch diff --git a/patches/server/0691-Add-PufferFishStateChangeEvent.patch b/patches/server/0692-Add-PufferFishStateChangeEvent.patch similarity index 100% rename from patches/server/0691-Add-PufferFishStateChangeEvent.patch rename to patches/server/0692-Add-PufferFishStateChangeEvent.patch diff --git a/patches/server/0692-Add-PlayerKickEvent-causes.patch b/patches/server/0693-Add-PlayerKickEvent-causes.patch similarity index 100% rename from patches/server/0692-Add-PlayerKickEvent-causes.patch rename to patches/server/0693-Add-PlayerKickEvent-causes.patch diff --git a/patches/server/0693-Fix-PlayerBucketEmptyEvent-result-itemstack.patch b/patches/server/0694-Fix-PlayerBucketEmptyEvent-result-itemstack.patch similarity index 100% rename from patches/server/0693-Fix-PlayerBucketEmptyEvent-result-itemstack.patch rename to patches/server/0694-Fix-PlayerBucketEmptyEvent-result-itemstack.patch diff --git a/patches/server/0694-Synchronize-PalettedContainer-instead-of-ReentrantLo.patch b/patches/server/0695-Synchronize-PalettedContainer-instead-of-ReentrantLo.patch similarity index 100% rename from patches/server/0694-Synchronize-PalettedContainer-instead-of-ReentrantLo.patch rename to patches/server/0695-Synchronize-PalettedContainer-instead-of-ReentrantLo.patch diff --git a/patches/server/0695-Add-option-to-fix-items-merging-through-walls.patch b/patches/server/0696-Add-option-to-fix-items-merging-through-walls.patch similarity index 100% rename from patches/server/0695-Add-option-to-fix-items-merging-through-walls.patch rename to patches/server/0696-Add-option-to-fix-items-merging-through-walls.patch diff --git a/patches/server/0696-Add-BellRevealRaiderEvent.patch b/patches/server/0697-Add-BellRevealRaiderEvent.patch similarity index 100% rename from patches/server/0696-Add-BellRevealRaiderEvent.patch rename to patches/server/0697-Add-BellRevealRaiderEvent.patch diff --git a/patches/server/0697-Fix-invulnerable-end-crystals.patch b/patches/server/0698-Fix-invulnerable-end-crystals.patch similarity index 100% rename from patches/server/0697-Fix-invulnerable-end-crystals.patch rename to patches/server/0698-Fix-invulnerable-end-crystals.patch diff --git a/patches/server/0698-Add-ElderGuardianAppearanceEvent.patch b/patches/server/0699-Add-ElderGuardianAppearanceEvent.patch similarity index 100% rename from patches/server/0698-Add-ElderGuardianAppearanceEvent.patch rename to patches/server/0699-Add-ElderGuardianAppearanceEvent.patch diff --git a/patches/server/0699-Fix-dangerous-end-portal-logic.patch b/patches/server/0700-Fix-dangerous-end-portal-logic.patch similarity index 100% rename from patches/server/0699-Fix-dangerous-end-portal-logic.patch rename to patches/server/0700-Fix-dangerous-end-portal-logic.patch diff --git a/patches/server/0700-Optimize-Biome-Mob-Lookups-for-Mob-Spawning.patch b/patches/server/0701-Optimize-Biome-Mob-Lookups-for-Mob-Spawning.patch similarity index 100% rename from patches/server/0700-Optimize-Biome-Mob-Lookups-for-Mob-Spawning.patch rename to patches/server/0701-Optimize-Biome-Mob-Lookups-for-Mob-Spawning.patch diff --git a/patches/server/0701-Make-item-validations-configurable.patch b/patches/server/0702-Make-item-validations-configurable.patch similarity index 97% rename from patches/server/0701-Make-item-validations-configurable.patch rename to patches/server/0702-Make-item-validations-configurable.patch index 8eaaa016f4..67ca693f79 100644 --- a/patches/server/0701-Make-item-validations-configurable.patch +++ b/patches/server/0702-Make-item-validations-configurable.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Make item validations configurable diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index 78078e7ee04f9c46f98b7e5829a620730358c233..14841f1df5fa8970b132eb5e8fc24069f687dd6a 100644 +index 6c4bb838792c779da7b2d84831f6e67779695993..bc4081483a228aa275511d28231d615fe0f36d4e 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -503,4 +503,19 @@ public class PaperConfig { +@@ -507,4 +507,19 @@ public class PaperConfig { enableBrigadierConsoleHighlighting = getBoolean("settings.console.enable-brigadier-highlighting", enableBrigadierConsoleHighlighting); enableBrigadierConsoleCompletions = getBoolean("settings.console.enable-brigadier-completions", enableBrigadierConsoleCompletions); } diff --git a/patches/server/0702-Line-Of-Sight-Changes.patch b/patches/server/0703-Line-Of-Sight-Changes.patch similarity index 100% rename from patches/server/0702-Line-Of-Sight-Changes.patch rename to patches/server/0703-Line-Of-Sight-Changes.patch diff --git a/patches/server/0703-add-per-world-spawn-limits.patch b/patches/server/0704-add-per-world-spawn-limits.patch similarity index 100% rename from patches/server/0703-add-per-world-spawn-limits.patch rename to patches/server/0704-add-per-world-spawn-limits.patch diff --git a/patches/server/0704-Fix-PotionSplashEvent-for-water-splash-potions.patch b/patches/server/0705-Fix-PotionSplashEvent-for-water-splash-potions.patch similarity index 100% rename from patches/server/0704-Fix-PotionSplashEvent-for-water-splash-potions.patch rename to patches/server/0705-Fix-PotionSplashEvent-for-water-splash-potions.patch diff --git a/patches/server/0705-Fix-incorrect-status-dataconverter-for-pre-1.13-chun.patch b/patches/server/0706-Fix-incorrect-status-dataconverter-for-pre-1.13-chun.patch similarity index 100% rename from patches/server/0705-Fix-incorrect-status-dataconverter-for-pre-1.13-chun.patch rename to patches/server/0706-Fix-incorrect-status-dataconverter-for-pre-1.13-chun.patch diff --git a/patches/server/0706-Add-more-LimitedRegion-API.patch b/patches/server/0707-Add-more-LimitedRegion-API.patch similarity index 100% rename from patches/server/0706-Add-more-LimitedRegion-API.patch rename to patches/server/0707-Add-more-LimitedRegion-API.patch diff --git a/patches/server/0707-Fix-PlayerDropItemEvent-using-wrong-item.patch b/patches/server/0708-Fix-PlayerDropItemEvent-using-wrong-item.patch similarity index 100% rename from patches/server/0707-Fix-PlayerDropItemEvent-using-wrong-item.patch rename to patches/server/0708-Fix-PlayerDropItemEvent-using-wrong-item.patch diff --git a/patches/server/0770-Replace-player-chunk-loader-system.patch b/patches/server/0770-Replace-player-chunk-loader-system.patch index 9384ad147e..72cab5e81b 100644 --- a/patches/server/0770-Replace-player-chunk-loader-system.patch +++ b/patches/server/0770-Replace-player-chunk-loader-system.patch @@ -80,10 +80,10 @@ index cfe293881f68c8db337c3a48948362bb7b3e3522..7d44abcb4fff9717a1af55879deb7eb9 })); diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index 9d31f1f1a224d1442cb7915df514c0522a4b876b..fc07a8454f80c22bc3776a42b2c31f8793543f5c 100644 +index bc4081483a228aa275511d28231d615fe0f36d4e..be132f9d683767002a3e7f5641cb3cc3db74464c 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -523,4 +523,26 @@ public class PaperConfig { +@@ -522,4 +522,26 @@ public class PaperConfig { itemValidationBookAuthorLength = getInt("settings.item-validation.book.author", itemValidationBookAuthorLength); itemValidationBookPageLength = getInt("settings.item-validation.book.page", itemValidationBookPageLength); } diff --git a/patches/server/0780-Add-packet-limiter-config.patch b/patches/server/0780-Add-packet-limiter-config.patch index cc815c78b0..1be4619989 100644 --- a/patches/server/0780-Add-packet-limiter-config.patch +++ b/patches/server/0780-Add-packet-limiter-config.patch @@ -24,10 +24,10 @@ and an action can be defined: DROP or KICK If interval or rate are less-than 0, the limit is ignored diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index fc07a8454f80c22bc3776a42b2c31f8793543f5c..7f5cd91b60a4527a915772cd4c7c7024e1e8aa2c 100644 +index be132f9d683767002a3e7f5641cb3cc3db74464c..4d6d07627bd3cbb7041f5c1e19fa03cb0a301268 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -545,4 +545,102 @@ public class PaperConfig { +@@ -544,4 +544,102 @@ public class PaperConfig { playerMaxConcurrentChunkLoads = getDouble("settings.chunk-loading.player-max-concurrent-loads", 4.0); globalMaxConcurrentChunkLoads = getDouble("settings.chunk-loading.global-max-concurrent-loads", 500.0); } diff --git a/patches/server/0781-Lag-compensate-block-breaking.patch b/patches/server/0781-Lag-compensate-block-breaking.patch index b2f1cec3a1..6b7a96f98d 100644 --- a/patches/server/0781-Lag-compensate-block-breaking.patch +++ b/patches/server/0781-Lag-compensate-block-breaking.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Lag compensate block breaking Use time instead of ticks if ticks fall behind diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index 7f5cd91b60a4527a915772cd4c7c7024e1e8aa2c..1560ffc5d70b7185b4dd1ada7351a75cec893918 100644 +index 4d6d07627bd3cbb7041f5c1e19fa03cb0a301268..b0ea9aefb6e652388becb79d4b19433fe3717c87 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -643,4 +643,10 @@ public class PaperConfig { +@@ -642,4 +642,10 @@ public class PaperConfig { } } } diff --git a/patches/server/0786-Send-full-pos-packets-for-hard-colliding-entities.patch b/patches/server/0786-Send-full-pos-packets-for-hard-colliding-entities.patch index 8825572e72..011aa79341 100644 --- a/patches/server/0786-Send-full-pos-packets-for-hard-colliding-entities.patch +++ b/patches/server/0786-Send-full-pos-packets-for-hard-colliding-entities.patch @@ -9,10 +9,10 @@ Configurable under `send-full-pos-for-hard-colliding-entities` diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index 1560ffc5d70b7185b4dd1ada7351a75cec893918..dcae40fde8087ce09ec8b9360f2abc860b88c975 100644 +index b0ea9aefb6e652388becb79d4b19433fe3717c87..f421e6a2e43e0a673dbb8a9a2b4331387e523e02 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java -@@ -649,4 +649,10 @@ public class PaperConfig { +@@ -648,4 +648,10 @@ public class PaperConfig { private static void lagCompensateBlockBreaking() { lagCompensateBlockBreaking = getBoolean("settings.lag-compensate-block-breaking", true); }