diff options
Diffstat (limited to 'build-data')
-rw-r--r-- | build-data/mappings-patch.tiny | 6 | ||||
-rw-r--r-- | build-data/reobf-mappings-patch.tiny | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/build-data/mappings-patch.tiny b/build-data/mappings-patch.tiny index 642acc411c..a8d8c189af 100644 --- a/build-data/mappings-patch.tiny +++ b/build-data/mappings-patch.tiny @@ -5,9 +5,3 @@ tiny 2 0 spigot mojang+yarn # Originally DistanceManager, which also implements DistanceManager, so clashes since the implemented class # is imported and not fully qualified. Easiest fix is to just change the name c net/minecraft/server/level/PlayerChunkMap$a net/minecraft/server/level/ChunkMap$ChunkDistanceManager - -# We add the getLevel method back to Hopper since mojang removed it - we need the method for hooper optimization -# We add the method with this name to match the mojmap method of the same name in BlockEntity -# Since we add the method we need to add the mapping for it so reobf works as expected -#c net/minecraft/world/level/block/entity/IHopper net/minecraft/world/level/block/entity/Hopper -# m ()Lnet/minecraft/world/level/World; getWorld getLevel diff --git a/build-data/reobf-mappings-patch.tiny b/build-data/reobf-mappings-patch.tiny index 050623a519..9064425df0 100644 --- a/build-data/reobf-mappings-patch.tiny +++ b/build-data/reobf-mappings-patch.tiny @@ -24,3 +24,9 @@ tiny 2 0 mojang+yarn spigot # Paper changes type #c net/minecraft/core/MappedRegistry net/minecraft/core/RegistryMaterials # f Lit/unimi/dsi/fastutil/objects/Reference2IntOpenHashMap; toId bw + +# We add the getLevel method back to Hopper since mojang removed it - we need the method for hopper optimization +# We add the method with this name to match the mojmap method of the same name in BlockEntity +# Since we add the method we need to add the mapping for it so reobf works as expected +c net/minecraft/world/level/block/entity/Hopper net/minecraft/world/level/block/entity/IHopper + m ()Lnet/minecraft/world/level/Level; getLevel k |