diff --git a/mappings/net/minecraft/world/WorldEvents.mapping b/mappings/net/minecraft/world/WorldEvents.mapping index 0289e3d37a..e7c3ba5043 100644 --- a/mappings/net/minecraft/world/WorldEvents.mapping +++ b/mappings/net/minecraft/world/WorldEvents.mapping @@ -343,3 +343,9 @@ CLASS net/minecraft/class_6088 net/minecraft/world/WorldEvents COMMENT A Bat takes off. COMMENT
Plays the bat take off sound event. COMMENT

Called by {@link net.minecraft.entity.passive.BatEntity#mobTick() BatEntity#mobTick} + 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 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