From 93edb9020c5c9004de7d5bdec19bbd503530f134 Mon Sep 17 00:00:00 2001 From: ByMartrixx Date: Tue, 1 Jun 2021 22:12:08 -0400 Subject: [PATCH] Add unpick definition, remove trailing space in javadoc --- .../dedicated/command/PerfCommand.mapping | 17 +++++++++++++++++ .../net/minecraft/world/WorldEvents.mapping | 2 +- unpick-definitions/world_events.unpick | 3 ++- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 mappings/net/minecraft/server/dedicated/command/PerfCommand.mapping diff --git a/mappings/net/minecraft/server/dedicated/command/PerfCommand.mapping b/mappings/net/minecraft/server/dedicated/command/PerfCommand.mapping new file mode 100644 index 0000000000..e9aafe1beb --- /dev/null +++ b/mappings/net/minecraft/server/dedicated/command/PerfCommand.mapping @@ -0,0 +1,17 @@ +CLASS net/minecraft/class_6413 net/minecraft/server/dedicated/command/PerfCommand + FIELD field_33985 LOGGER Lorg/apache/logging/log4j/Logger; + FIELD field_33986 NOT_RUNNING_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType; + FIELD field_33987 ALREADY_RUNNING_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType; + METHOD method_37331 register (Lcom/mojang/brigadier/CommandDispatcher;)V + ARG 0 dispatcher + METHOD method_37333 startProfiling (Lnet/minecraft/class_2168;)I + ARG 0 source + METHOD method_37334 (Lnet/minecraft/class_2168;Lnet/minecraft/class_3696;)V + ARG 0 source + ARG 1 result + METHOD method_37335 (Lnet/minecraft/class_2168;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V + ARG 0 source + ARG 1 tempProfilingFile + ARG 2 server + METHOD method_37338 stopProfiling (Lnet/minecraft/class_2168;)I + ARG 0 source diff --git a/mappings/net/minecraft/world/WorldEvents.mapping b/mappings/net/minecraft/world/WorldEvents.mapping index d980b3771d..57306e667a 100644 --- a/mappings/net/minecraft/world/WorldEvents.mapping +++ b/mappings/net/minecraft/world/WorldEvents.mapping @@ -346,6 +346,6 @@ CLASS net/minecraft/class_6088 net/minecraft/world/WorldEvents FIELD field_33511 BONE_MEAL_USED I COMMENT Bone meal is used COMMENT
Plays the bone meal item used sound event and spawns happy villager particles - COMMENT

Called by {@link net.minecraft.item.BoneMealItem#useOnBlock(net.minecraft.item.ItemUsageContext) BoneMealItem#useOnBlock}, + COMMENT

Called by {@link net.minecraft.item.BoneMealItem#useOnBlock(net.minecraft.item.ItemUsageContext) BoneMealItem#useOnBlock}, COMMENT an anonymus class in {@link net.minecraft.block.dispenser.DispenserBehavior#registerDefaults() DispenserBehavior#registerDefaults}, COMMENT and {@link net.minecraft.entity.ai.brain.task.BoneMealTask#keepRunning(net.minecraft.server.world.ServerWorld, net.minecraft.entity.passive.VillagerEntity, long) BoneMealTask#keepRunning} diff --git a/unpick-definitions/world_events.unpick b/unpick-definitions/world_events.unpick index aafc116f07..60fd9ea58f 100644 --- a/unpick-definitions/world_events.unpick +++ b/unpick-definitions/world_events.unpick @@ -70,6 +70,7 @@ constant world_events net/minecraft/world/WorldEvents ELECTRICITY_SPARKS constant world_events net/minecraft/world/WorldEvents BLOCK_WAXED constant world_events net/minecraft/world/WorldEvents WAX_REMOVED constant world_events net/minecraft/world/WorldEvents BLOCK_SCRAPED +constant world_events net/minecraft/world/WorldEvents BONE_MEAL_USED target_method net/minecraft/world/WorldAccess syncWorldEvent (Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V param 1 world_events @@ -88,4 +89,4 @@ target_method net/minecraft/network/packet/s2c/play/WorldEventS2CPacket getEvent target_method net/minecraft/block/DoorBlock getOpenSoundEventId ()I return world_events target_method net/minecraft/block/DoorBlock getCloseSoundEventId ()I - return world_events \ No newline at end of file + return world_events