aboutsummaryrefslogtreecommitdiffhomepage
path: root/build-data
diff options
context:
space:
mode:
authorJake <[email protected]>2021-11-23 21:44:21 -0800
committerMiniDigger | Martin <[email protected]>2021-11-30 19:26:33 +0100
commit0f23d73d1ab26803875980b2e3fbcb11e3c30992 (patch)
treec67bfd17967dbd358f98b3321269f1cca8bd4e2e /build-data
parent2b29fe37a23339de60cb3e91d549f2adc5c5de19 (diff)
downloadPaper-0f23d73d1ab26803875980b2e3fbcb11e3c30992.tar.gz
Paper-0f23d73d1ab26803875980b2e3fbcb11e3c30992.zip
a bunch more patches
Diffstat (limited to 'build-data')
-rw-r--r--build-data/mappings-patch.tiny6
-rw-r--r--build-data/reobf-mappings-patch.tiny6
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