diff options
author | Jake <[email protected]> | 2021-11-23 21:44:21 -0800 |
---|---|---|
committer | MiniDigger | Martin <[email protected]> | 2021-11-30 19:26:33 +0100 |
commit | 0f23d73d1ab26803875980b2e3fbcb11e3c30992 (patch) | |
tree | c67bfd17967dbd358f98b3321269f1cca8bd4e2e /build-data/reobf-mappings-patch.tiny | |
parent | 2b29fe37a23339de60cb3e91d549f2adc5c5de19 (diff) | |
download | Paper-0f23d73d1ab26803875980b2e3fbcb11e3c30992.tar.gz Paper-0f23d73d1ab26803875980b2e3fbcb11e3c30992.zip |
a bunch more patches
Diffstat (limited to 'build-data/reobf-mappings-patch.tiny')
-rw-r--r-- | build-data/reobf-mappings-patch.tiny | 6 |
1 files changed, 6 insertions, 0 deletions
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 |