diff --git a/build-data/mappings-patch.tiny b/build-data/mappings-patch.tiny index 11c99f9c66..eb16ed426e 100644 --- a/build-data/mappings-patch.tiny +++ b/build-data/mappings-patch.tiny @@ -43,3 +43,7 @@ c net/minecraft/server/level/EntityPlayer net/minecraft/server/level/ServerPlaye # 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 + +# Teleport method in ServerGamePacketListenerImpl +c net/minecraft/server/network/PlayerConnection net/minecraft/server/network/ServerGamePacketListenerImpl + m (DDDFFLorg/bukkit/event/player/PlayerTeleportEvent$TeleportCause;)V a teleport diff --git a/build-data/paper.at b/build-data/paper.at index 8f7c25d530..709f3c01aa 100644 --- a/build-data/paper.at +++ b/build-data/paper.at @@ -57,6 +57,7 @@ public net.minecraft.world.item.ItemStack tag # Async chunk io public net.minecraft.server.level.ChunkMap structureManager +public net.minecraft.server.level.ChunkMap overworldDataStorage public net.minecraft.server.level.ChunkMap getUpdatingChunkIfPresent(J)Lnet/minecraft/server/level/ChunkHolder; public net.minecraft.server.level.ChunkMap getVisibleChunkIfPresent(J)Lnet/minecraft/server/level/ChunkHolder; public net.minecraft.server.level.ServerChunkCache mainThreadProcessor @@ -194,3 +195,10 @@ public net.minecraft.server.level.ChunkHolder pos # Incremental chunk saving public net.minecraft.world.level.entity.PersistentEntitySectionManager storeChunkSections(JLjava/util/function/Consumer;)Z + +# Mending XP API +public net.minecraft.world.entity.ExperienceOrb durabilityToXp(I)I +public net.minecraft.world.entity.ExperienceOrb xpToDurability(I)I + +# Implement an API for CanPlaceOn and CanDestroy NBT values +public net.minecraft.commands.arguments.blocks.BlockStateParser id