From a7cddc41532ee01067ea9b9b08e9ff7e63f21f27 Mon Sep 17 00:00:00 2001 From: Jason <11360596+jpenilla@users.noreply.github.com> Date: Tue, 22 Jun 2021 22:45:45 -0700 Subject: [PATCH] Hotfix for some of the reobf issues tracked in Paperweight issue 24 (#5965) --- build-data/reobf-mappings-patch.tiny | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build-data/reobf-mappings-patch.tiny b/build-data/reobf-mappings-patch.tiny index 7513c20c25..46da73918a 100644 --- a/build-data/reobf-mappings-patch.tiny +++ b/build-data/reobf-mappings-patch.tiny @@ -20,6 +20,19 @@ c net/minecraft/server/level/ServerLevel net/minecraft/server/level/WorldServer c net/minecraft/core/RegistryAccess net/minecraft/core/IRegistryCustom m (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/core/Registry; registryOrThrow d +c net/minecraft/server/ServerResources net/minecraft/server/DataPackResources + m ()Lnet/minecraft/server/packs/resources/ResourceManager; getResourceManager i + +c net/minecraft/server/MinecraftServer net/minecraft/server/MinecraftServer + m ()Lnet/minecraft/world/level/storage/WorldData; getWorldData getSaveData + +c net/minecraft/world/effect/MobEffect net/minecraft/world/effect/MobEffectList + m (I)Lnet/minecraft/world/effect/MobEffect; byId fromId + +# Paper moves method up from ServerLevel to Level +c net/minecraft/world/level/Level net/minecraft/world/level/World + m ()Lnet/minecraft/core/BlockPos; getSharedSpawnPos getSpawn + # Paper changes type c net/minecraft/core/MappedRegistry net/minecraft/core/RegistryMaterials f Lit/unimi/dsi/fastutil/objects/Reference2IntOpenHashMap; toId bw