diff --git a/build-data/reobf-mappings-patch.tiny b/build-data/reobf-mappings-patch.tiny index 22eb47fd8..33fea4d20 100644 --- a/build-data/reobf-mappings-patch.tiny +++ b/build-data/reobf-mappings-patch.tiny @@ -15,3 +15,9 @@ tiny 2 0 mojang+yarn spigot # CraftBukkit changes this field's type, which causes the original mapping to miss c net/minecraft/server/level/ServerLevel net/minecraft/server/level/WorldServer f Lnet/minecraft/world/level/storage/PrimaryLevelData; serverLevelData E +# generic hell TODO no clue why the return type here needs to be spigot mapped? +c net/minecraft/core/RegistryAccess net/minecraft/core/IRegistryCustom + m (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/core/IRegistry; registryOrThrow d +# paper changes type +c net/minecraft/core/MappedRegistry net/minecraft/core/RegistryMaterials + f Lit/unimi/dsi/fastutil/objects/Reference2IntOpenHashMap; toId bw