CLASS net/minecraft/class_6088 net/minecraft/world/WorldEvents
COMMENT Constants of World Event IDs.
COMMENT <p>World Events are used to trigger things on the client from the server side.
COMMENT Most commonly, playing sound events or spawning particles.
COMMENT <p>Some events have an extra data integer sent alongside them.
COMMENT <br>Some events are global, meaning they will be sent to every player regardless of their position.
COMMENT <p>Events are sent from the server to the client using {@link net.minecraft.network.packet.s2c.play.WorldEventS2CPacket WorldEventS2CPacket},
COMMENT received on the client by {@link net.minecraft.client.network.ClientPlayNetworkHandler#onWorldEvent(net.minecraft.network.packet.s2c.play.WorldEventS2CPacket) ClientPlayNetworkHandler#onWorldEvent},
COMMENT synced by {@link net.minecraft.client.world.ClientWorld#syncWorldEvent(net.minecraft.entity.player.PlayerEntity, int, net.minecraft.util.math.BlockPos, int) ClientWorld#syncWorldEvent} and
COMMENT {@link net.minecraft.client.world.ClientWorld#syncGlobalEvent(int, net.minecraft.util.math.BlockPos, int) ClientWorld#syncGlobalEvent} (for regular and global events respectively), and
COMMENT finally processed by {@link net.minecraft.client.render.WorldRenderer#processWorldEvent(net.minecraft.entity.player.PlayerEntity, int, net.minecraft.util.math.BlockPos, int) WorldRenderer#processWorldEvent} and
COMMENT {@link net.minecraft.client.render.WorldRenderer#processGlobalEvent(int, net.minecraft.util.math.BlockPos, int) WorldRenderer#processGlobalEvent} (for regular and global events respectively).
FIELD field_31114 ZOMBIE_INFECTS_VILLAGER I
COMMENT A Zombie infects a Villager.
COMMENT <br>Plays the zombie infect villager sound event.
COMMENT <p>Called by {@link net.minecraft.entity.mob.ZombieEntity#onKilledOther(net.minecraft.server.world.ServerWorld, net.minecraft.entity.LivingEntity) ZombieEntity#onKilledOther}
FIELD field_31115 ZOMBIE_VILLAGER_CURED I
COMMENT A Zombie Villager is cured.
COMMENT <br>Plays the zombie villager cured sound event.
COMMENT <p>Called by {@link net.minecraft.entity.mob.ZombieVillagerEntity#finishConversion(net.minecraft.server.world.ServerWorld) ZombieVillagerEntity#finishConversion}
FIELD field_31116 ENDER_DRAGON_DIES I
COMMENT An Ender Dragon dies.
COMMENT <br>Plays the ender dragon death sound event.
COMMENT <br>This is a global event.
COMMENT <p>Called by {@link net.minecraft.entity.boss.dragon.EnderDragonEntity#updatePostDeath() EnderDragonEntity#updatePostDeath}
FIELD field_31117 ANVIL_DESTROYED I
COMMENT An Anvil is destroyed from damage.
COMMENT <br>Plays the anvil destroyed sound event.
COMMENT <p>Called by {@link net.minecraft.block.AnvilBlock#onDestroyedOnLanding(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.entity.FallingBlockEntity) AnvilBlock#onDestroyedOnLanding},
COMMENT and {@link net.minecraft.screen.AnvilScreenHandler#onTakeOutput(net.minecraft.entity.player.PlayerEntity, net.minecraft.item.ItemStack) AnvilScreenHandler#onTakeOutput}
FIELD field_31118 ANVIL_USED I
COMMENT An Anvil is used.
COMMENT <br>Plays the anvil used sound event.
COMMENT <p>Called by {@link net.minecraft.screen.AnvilScreenHandler#onTakeOutput(net.minecraft.entity.player.PlayerEntity, net.minecraft.item.ItemStack) AnvilScreenHandler#onTakeOutput}
FIELD field_31119 ANVIL_LANDS I
COMMENT An Anvil lands after falling.
COMMENT <br>Plays the anvil landing sound event.
COMMENT <p>Called by {@link net.minecraft.block.AnvilBlock#onLanding(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.block.BlockState, net.minecraft.entity.FallingBlockEntity) AnvilBlock#onLanding}
FIELD field_31120 TRAVEL_THROUGH_PORTAL I
COMMENT A Portal is travelled through.
COMMENT <br>Plays the portal travel sound event directly through the client's sound manager.
COMMENT <p>Called by {@link net.minecraft.server.network.ServerPlayerEntity#moveToWorld(net.minecraft.server.world.ServerWorld) ServerPlayerEntity#moveToWorld}
FIELD field_31121 CHORUS_FLOWER_GROWS I
COMMENT A Chorus Flower grows.
COMMENT <br>Plays the chorus flower growing sound event.
COMMENT <p>Called by {@link net.minecraft.block.ChorusFlowerBlock#grow(net.minecraft.world.World, net.minecraft.util.math.BlockPos, int) ChorusFlowerBlock#grow}
FIELD field_31122 CHORUS_FLOWER_DIES I
COMMENT A Chorus Flower dies.
COMMENT <br>Plays the chorus flower death sound event.
COMMENT <p>Called by {@link net.minecraft.block.ChorusFlowerBlock#die(net.minecraft.world.World, net.minecraft.util.math.BlockPos) ChorusFlowerBlock#die}
FIELD field_31123 BREWING_STAND_BREWS I
COMMENT A Brewing Stand brews.
COMMENT <br>Plays the brewing stand brewing sound event.
COMMENT <p>Called by {@link net.minecraft.block.entity.BrewingStandBlockEntity#craft(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.util.collection.DefaultedList) BrewingStandBlockEntity#craft}
FIELD field_31124 IRON_TRAPDOOR_CLOSES I
COMMENT An Iron Trapdoor closes.
COMMENT <br>Plays the iron trapdoor closing sound event.
COMMENT <p>Called by {@link net.minecraft.block.TrapdoorBlock#playToggleSound(net.minecraft.entity.player.PlayerEntity, net.minecraft.world.World, net.minecraft.util.math.BlockPos, boolean) TrapdoorBlock#playToggleSound}
FIELD field_31125 IRON_TRAPDOOR_OPENS I
COMMENT An Iron Trapdoor opens.
COMMENT <br>Plays the iron trapdoor opening sound event.
COMMENT <p>Called by {@link net.minecraft.block.TrapdoorBlock#playToggleSound(net.minecraft.entity.player.PlayerEntity, net.minecraft.world.World, net.minecraft.util.math.BlockPos, boolean) TrapdoorBlock#playToggleSound}
FIELD field_31126 END_PORTAL_OPENED I
COMMENT An End Portal is opened.
COMMENT <br>Plays the end portal spawn sound event.
COMMENT <br>This is a global event.
COMMENT <p>Called by {@link net.minecraft.item.EnderEyeItem#useOnBlock(net.minecraft.item.ItemUsageContext) EnderEyeItem#useOnBlock}
FIELD field_31127 PHANTOM_BITES I
COMMENT A Phantom bites its victim.
COMMENT <br>Plays the phantom bite sound event.
COMMENT <p>Called by {@link net.minecraft.entity.mob.PhantomEntity.SwoopMovementGoal#tick() PhantomEntity.SwoopMovementGoal#tick}
FIELD field_31128 ZOMBIE_CONVERTS_TO_DROWNED I
COMMENT A Zombie converts into a Drowned.
COMMENT <br>Plays the zombie convert to drowned sound event.
COMMENT <p>Called by {@link net.minecraft.entity.mob.ZombieEntity#convertInWater() ZombieEntity#convertInWater}
FIELD field_31129 HUSK_CONVERTS_TO_ZOMBIE I
COMMENT A Husk converts into a Zombie.
COMMENT <br>Plays the husk convert to zombie sound event.
COMMENT <p>Called by {@link net.minecraft.entity.mob.HuskEntity#convertInWater() HuskEntity#convertInWater}
FIELD field_31130 GRINDSTONE_USED I
COMMENT A Grindstone is used.
COMMENT <br>Plays the grindstone used sound event.
COMMENT <p>Called by {@link net.minecraft.screen.GrindstoneScreenHandler GrindstoneScreenHandler}
FIELD field_31131 LECTERN_BOOK_PAGE_TURNED I
COMMENT A page is turned in a Book on a Lectern.
COMMENT <br>Plays the page turn sound event.
COMMENT <p>Called by {@link net.minecraft.block.LecternBlock#setPowered(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState) LecternBlock#setPowered}
FIELD field_31132 SMITHING_TABLE_USED I
COMMENT A Smithing Table is used.
COMMENT <br>Plays the smithing table used sound event.
COMMENT <p>Called by {@link net.minecraft.screen.SmithingScreenHandler#onTakeOutput(net.minecraft.entity.player.PlayerEntity, net.minecraft.item.ItemStack) SmithingScreenHandler#onTakeOutput}
FIELD field_31133 POINTED_DRIPSTONE_LANDS I
COMMENT Pointed Dripstone lands after falling.
COMMENT <br>Plays the pointed dripstone landing sound event.
COMMENT <p>Called by {@link net.minecraft.block.PointedDripstoneBlock#onDestroyedOnLanding(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.entity.FallingBlockEntity) PointedDripstoneBlock#onDestroyedOnLanding}
FIELD field_31134 POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON I
COMMENT Pointed Dripstone drips Lava into a Cauldron.
COMMENT <br>Plays the pointed dripstone dripping lava into cauldron sound event.
COMMENT <p>Called by {@link net.minecraft.block.CauldronBlock#fillFromDripstone(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.fluid.Fluid) CauldronBlock#fillFromDripstone}
FIELD field_31135 POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON I
COMMENT Pointed Dripstone drips Water into a Cauldron.
COMMENT <br>Plays the pointed dripstone dripping water into cauldron sound event.
COMMENT <p>Called by {@link net.minecraft.block.CauldronBlock#fillFromDripstone(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.fluid.Fluid) CauldronBlock#fillFromDripstone},
COMMENT and {@link net.minecraft.block.LeveledCauldronBlock#fillFromDripstone(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.fluid.Fluid) LeveledCauldronBlock#fillFromDripstone}
FIELD field_31136 SKELETON_CONVERTS_TO_STRAY I
COMMENT A Skeleton converts into a Stray.
COMMENT <br>Plays the skeleton convert to stray sound event.
COMMENT <p>Called by {@link net.minecraft.entity.mob.SkeletonEntity#convertToStray() SkeletonEntity#convertToStray}
FIELD field_31137 COMPOSTER_USED I
COMMENT An item is composted in a Composter.
COMMENT <br>Plays the appropriate composting sound event and spawns composter particles.
COMMENT <p>A {@code 1} should be passed as extra data if the use of the composter added to the level of compost inside.
COMMENT and {@link net.minecraft.block.dispenser.FallibleItemDispenserBehavior#playSound(net.minecraft.util.math.BlockPointer) FallibleItemDispenserBehavior#playSound}
FIELD field_31160 DISPENSER_LAUNCHES_PROJECTILE I
COMMENT A Dispenser launches a projectile.
COMMENT <br>Plays the dispenser launch sound event.
COMMENT <p>Called by {@link net.minecraft.block.dispenser.ProjectileDispenserBehavior#playSound(net.minecraft.util.math.BlockPointer) ProjectileDispenserBehavior#playSound}
FIELD field_31161 EYE_OF_ENDER_LAUNCHES I
COMMENT An Eye of Ender is launched.
COMMENT <br>Plays the eye of ender launching sound event.
COMMENT <p>Called by {@link net.minecraft.item.EnderEyeItem#use(net.minecraft.world.World, net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand) EnderEyeItem#use}
FIELD field_31162 FIREWORK_ROCKET_SHOOTS I
COMMENT A Firework Rocket is shot.
COMMENT <br>Plays the firework shoot sound event.
COMMENT <p>Called by {@link net.minecraft.block.dispenser.DispenserBehavior DispenserBehavior}
FIELD field_31163 IRON_DOOR_OPENS I
COMMENT An Iron Door is opened.
COMMENT <br>Plays the iron door opening sound event.
COMMENT <p>Called by {@link net.minecraft.block.DoorBlock#playOpenCloseSound(net.minecraft.world.World, net.minecraft.util.math.BlockPos, boolean) DoorBlock#playOpenCloseSound}
FIELD field_31164 WOODEN_DOOR_OPENS I
COMMENT A Wooden Door is opened.
COMMENT <br>Plays the wooden door opening sound event.