Class WorldEvents
World Events are used to trigger things on the client from the server side. Most commonly, playing sound events or spawning particles.
Some events have an extra data integer sent alongside them.
 
Some events are global, meaning they will be sent to every player regardless of their position.
 
Events are sent from the server to the client using WorldEventS2CPacket,
 received on the client by ClientPlayNetworkHandler#onWorldEvent,
 synced by ClientWorld#syncWorldEvent and
 ClientWorld#syncGlobalEvent (for regular and global events respectively), and
 finally processed by WorldRenderer#processWorldEvent and
 WorldRenderer#processGlobalEvent (for regular and global events respectively).
- Mappings:
- Namespace - Name - official - ctw- intermediary - net/minecraft/class_6088- named - net/minecraft/world/WorldEvents
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intAn anvil is destroyed from damage.static final intAn anvil lands after falling.static final intAn anvil is used.static final intA bat takes off.static final intA blaze shoots a fireball or a fire charge is shot by a dispenser.static final intA block is broken.static final intA block has been completely brushed.static final intA block is scraped.static final intA block is waxed.static final intBone meal is used.static final intA brewing stand brews.static final intA chorus flower dies.static final intA chorus flower grows.static final intAn item is composted in a composter.static final intA dispenser is activated.static final intA dispenser dispenses an item.static final intA dispenser fails to dispense an item.static final intA dispenser launches a projectile.static final intA dragon breath cloud spawns.static final intElectricity sparks after lightning hits a lightning rod or oxidizable blocks.static final intAn end gateway spawns.static final intAn end portal frame is filled with an eye of ender.static final intAn end portal is opened.static final intAn ender dragon breaks a block.static final intAn ender dragon dies.static final intThe ender dragon is being resurrected.static final intAn ender dragon shoots a fireball.static final intA thrown eye of ender breaks.static final intAn eye of ender is launched.static final intFire is extinguished.static final intA firework rocket is shot.static final intA ghast shoots a fireball.static final intA ghast warns its victim.static final intA grindstone is used.static final intA husk converts into a zombie.static final intAn instant splash potion is splashed.static final intA jukebox starts playing a music disc.static final intA jukebox stops playing a music disc.static final intLava is extinguished.static final intA page is turned in a book on a lectern.static final intA phantom bites its victim.static final intA plant is fertilized with bone meal or by a bee, or a turtle egg is placed.static final intA pointed dripstone drips fluid particles.static final intA pointed dripstone drips lava into a cauldron.static final intA pointed dripstone drips water into a cauldron.static final intA pointed dripstone lands after falling.static final intA redstone torch burns out.static final intSculk releases a charge.static final intA sculk shrieker shrieks.static final intA skeleton converts into a stray.static final intA smithing table is used.static final intA sniffer egg cracks.static final intA spawner spawns a mob.static final intA non-instant splash potion is splashed.static final intA portal is traveled through.static final intWax is removed from a block.static final intA wet sponge dries out in an ultrawarm dimension.static final intA wither breaks a block.static final intA wither shoots a wither skull.static final intA wither is spawned.static final intA zombie attacks an iron door.static final intA zombie attacks a wooden door.static final intA zombie breaks a wooden door.static final intA zombie converts into a drowned.static final intA zombie infects a villager.static final intA zombie villager is cured.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
DISPENSER_DISPENSESpublic static final int DISPENSER_DISPENSESA dispenser dispenses an item.
 Plays the dispensing sound event.Called by BoatDispenserBehavior#playSound,FallibleItemDispenserBehavior#playSound,ItemDispenserBehavior#playSound, andMinecartItem#DISPENSER_BEHAVIOR- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lctw;a:I- intermediary - field_31140- Lnet/minecraft/class_6088;field_31140:I- named - DISPENSER_DISPENSES- Lnet/minecraft/world/WorldEvents;DISPENSER_DISPENSES:I
 
- 
DISPENSER_FAILSpublic static final int DISPENSER_FAILSA dispenser fails to dispense an item.
 Plays the dispenser fail sound event.Called by DispenserBlock#dispense,DropperBlock#dispense, andFallibleItemDispenserBehavior#playSound- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lctw;b:I- intermediary - field_31159- Lnet/minecraft/class_6088;field_31159:I- named - DISPENSER_FAILS- Lnet/minecraft/world/WorldEvents;DISPENSER_FAILS:I
 
- 
DISPENSER_LAUNCHES_PROJECTILEpublic static final int DISPENSER_LAUNCHES_PROJECTILEA dispenser launches a projectile.
 Plays the dispenser launch sound event.Called by ProjectileDispenserBehavior#playSound- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lctw;c:I- intermediary - field_31160- Lnet/minecraft/class_6088;field_31160:I- named - DISPENSER_LAUNCHES_PROJECTILE- Lnet/minecraft/world/WorldEvents;DISPENSER_LAUNCHES_PROJECTILE:I
 
- 
EYE_OF_ENDER_LAUNCHESpublic static final int EYE_OF_ENDER_LAUNCHESAn eye of ender is launched.
 Plays the eye of ender launching sound event.Called by EnderEyeItem#use- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lctw;d:I- intermediary - field_31161- Lnet/minecraft/class_6088;field_31161:I- named - EYE_OF_ENDER_LAUNCHES- Lnet/minecraft/world/WorldEvents;EYE_OF_ENDER_LAUNCHES:I
 
- 
FIREWORK_ROCKET_SHOOTSpublic static final int FIREWORK_ROCKET_SHOOTSA firework rocket is shot.
 Plays the firework shoot sound event.Called by DispenserBehavior- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - e- Lctw;e:I- intermediary - field_31162- Lnet/minecraft/class_6088;field_31162:I- named - FIREWORK_ROCKET_SHOOTS- Lnet/minecraft/world/WorldEvents;FIREWORK_ROCKET_SHOOTS:I
 
- 
FIRE_EXTINGUISHEDpublic static final int FIRE_EXTINGUISHEDFire is extinguished.
 Plays the appropriate fire extinguish sound event.
 A1should be supplied as extra data if an entity was extinguished, and0for a block.Called by AbstractFireBlock#onBreak,PotionEntity#extinguishFire, andShovelItem#useOnBlock- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - f- Lctw;f:I- intermediary - field_31167- Lnet/minecraft/class_6088;field_31167:I- named - FIRE_EXTINGUISHED- Lnet/minecraft/world/WorldEvents;FIRE_EXTINGUISHED:I
 
- 
JUKEBOX_STARTS_PLAYINGpublic static final int JUKEBOX_STARTS_PLAYINGA jukebox starts playing a music disc.
 Plays the appropriate music.The raw ID of the music disc item must be supplied as extra data. Called by JukeboxBlockEntity#startPlaying- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - g- Lctw;g:I- intermediary - field_42760- Lnet/minecraft/class_6088;field_42760:I- named - JUKEBOX_STARTS_PLAYING- Lnet/minecraft/world/WorldEvents;JUKEBOX_STARTS_PLAYING:I
 
- 
JUKEBOX_STOPS_PLAYINGpublic static final int JUKEBOX_STOPS_PLAYINGA jukebox stops playing a music disc.
 Stops any music currently playing.Called by JukeboxBlockEntity#stopPlaying- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - h- Lctw;h:I- intermediary - field_42761- Lnet/minecraft/class_6088;field_42761:I- named - JUKEBOX_STOPS_PLAYING- Lnet/minecraft/world/WorldEvents;JUKEBOX_STOPS_PLAYING:I
 
- 
GHAST_WARNSpublic static final int GHAST_WARNSA ghast warns its victim.
 Plays the ghast warn sound event.Called by GhastEntity.ShootFireballGoal#tick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - i- Lctw;i:I- intermediary - field_31173- Lnet/minecraft/class_6088;field_31173:I- named - GHAST_WARNS- Lnet/minecraft/world/WorldEvents;GHAST_WARNS:I
 
- 
GHAST_SHOOTSpublic static final int GHAST_SHOOTSA ghast shoots a fireball.
 Plays the ghast shoot sound event.Called by GhastEntity.ShootFireballGoal#tick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - j- Lctw;j:I- intermediary - field_31174- Lnet/minecraft/class_6088;field_31174:I- named - GHAST_SHOOTS- Lnet/minecraft/world/WorldEvents;GHAST_SHOOTS:I
 
- 
ENDER_DRAGON_SHOOTSpublic static final int ENDER_DRAGON_SHOOTSAn ender dragon shoots a fireball.
 Plays the ender dragon shoot sound event.Called by StrafePlayerPhase#serverTick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - k- Lctw;k:I- intermediary - field_31175- Lnet/minecraft/class_6088;field_31175:I- named - ENDER_DRAGON_SHOOTS- Lnet/minecraft/world/WorldEvents;ENDER_DRAGON_SHOOTS:I
 
- 
BLAZE_SHOOTSpublic static final int BLAZE_SHOOTSA blaze shoots a fireball or a fire charge is shot by a dispenser.
 Plays the blaze shoot sound event.Called by BlazeEntity.ShootFireballGoal#tick, andDispenserBehavior- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - l- Lctw;l:I- intermediary - field_31176- Lnet/minecraft/class_6088;field_31176:I- named - BLAZE_SHOOTS- Lnet/minecraft/world/WorldEvents;BLAZE_SHOOTS:I
 
- 
ZOMBIE_ATTACKS_WOODEN_DOORpublic static final int ZOMBIE_ATTACKS_WOODEN_DOORA zombie attacks a wooden door.
 Plays the zombie attacking wooden door sound event.Called by BreakDoorGoal#tick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - m- Lctw;m:I- intermediary - field_31177- Lnet/minecraft/class_6088;field_31177:I- named - ZOMBIE_ATTACKS_WOODEN_DOOR- Lnet/minecraft/world/WorldEvents;ZOMBIE_ATTACKS_WOODEN_DOOR:I
 
- 
ZOMBIE_ATTACKS_IRON_DOORpublic static final int ZOMBIE_ATTACKS_IRON_DOORA zombie attacks an iron door.
 Plays the zombie attacking iron door sound event.
 Goes unused.- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - n- Lctw;n:I- intermediary - field_31178- Lnet/minecraft/class_6088;field_31178:I- named - ZOMBIE_ATTACKS_IRON_DOOR- Lnet/minecraft/world/WorldEvents;ZOMBIE_ATTACKS_IRON_DOOR:I
 
- 
ZOMBIE_BREAKS_WOODEN_DOORpublic static final int ZOMBIE_BREAKS_WOODEN_DOORA zombie breaks a wooden door.
 Plays the zombie breaking wooden door sound event.Called by BreakDoorGoal#tick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - o- Lctw;o:I- intermediary - field_31179- Lnet/minecraft/class_6088;field_31179:I- named - ZOMBIE_BREAKS_WOODEN_DOOR- Lnet/minecraft/world/WorldEvents;ZOMBIE_BREAKS_WOODEN_DOOR:I
 
- 
WITHER_BREAKS_BLOCKpublic static final int WITHER_BREAKS_BLOCKA wither breaks a block.
 Plays the wither breaking block sound event.Called by WitherEntity#mobTick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - p- Lctw;p:I- intermediary - field_31180- Lnet/minecraft/class_6088;field_31180:I- named - WITHER_BREAKS_BLOCK- Lnet/minecraft/world/WorldEvents;WITHER_BREAKS_BLOCK:I
 
- 
WITHER_SPAWNSpublic static final int WITHER_SPAWNSA wither is spawned.
 Plays the wither spawn sound event.
 This is a global event.Called by WitherEntity#mobTick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - q- Lctw;q:I- intermediary - field_31181- Lnet/minecraft/class_6088;field_31181:I- named - WITHER_SPAWNS- Lnet/minecraft/world/WorldEvents;WITHER_SPAWNS:I
 
- 
WITHER_SHOOTSpublic static final int WITHER_SHOOTSA wither shoots a wither skull.
 Plays the wither shoot sound event.Called by WitherEntity#shootSkullAt- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - r- Lctw;r:I- intermediary - field_31182- Lnet/minecraft/class_6088;field_31182:I- named - WITHER_SHOOTS- Lnet/minecraft/world/WorldEvents;WITHER_SHOOTS:I
 
- 
BAT_TAKES_OFFpublic static final int BAT_TAKES_OFFA bat takes off.
 Plays the bat take off sound event.Called by BatEntity#mobTick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - s- Lctw;s:I- intermediary - field_31183- Lnet/minecraft/class_6088;field_31183:I- named - BAT_TAKES_OFF- Lnet/minecraft/world/WorldEvents;BAT_TAKES_OFF:I
 
- 
ZOMBIE_INFECTS_VILLAGERpublic static final int ZOMBIE_INFECTS_VILLAGERA zombie infects a villager.
 Plays the zombie infect villager sound event.Called by ZombieEntity#onKilledOther- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - t- Lctw;t:I- intermediary - field_31114- Lnet/minecraft/class_6088;field_31114:I- named - ZOMBIE_INFECTS_VILLAGER- Lnet/minecraft/world/WorldEvents;ZOMBIE_INFECTS_VILLAGER:I
 
- 
ZOMBIE_VILLAGER_CUREDpublic static final int ZOMBIE_VILLAGER_CUREDA zombie villager is cured.
 Plays the zombie villager cured sound event.Called by ZombieVillagerEntity#finishConversion- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - u- Lctw;u:I- intermediary - field_31115- Lnet/minecraft/class_6088;field_31115:I- named - ZOMBIE_VILLAGER_CURED- Lnet/minecraft/world/WorldEvents;ZOMBIE_VILLAGER_CURED:I
 
- 
ENDER_DRAGON_DIESpublic static final int ENDER_DRAGON_DIESAn ender dragon dies.
 Plays the ender dragon death sound event.
 This is a global event.Called by EnderDragonEntity#updatePostDeath- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - v- Lctw;v:I- intermediary - field_31116- Lnet/minecraft/class_6088;field_31116:I- named - ENDER_DRAGON_DIES- Lnet/minecraft/world/WorldEvents;ENDER_DRAGON_DIES:I
 
- 
ANVIL_DESTROYEDpublic static final int ANVIL_DESTROYEDAn anvil is destroyed from damage.
 Plays the anvil destroyed sound event.Called by AnvilBlock#onDestroyedOnLanding, andAnvilScreenHandler#onTakeOutput- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - w- Lctw;w:I- intermediary - field_31117- Lnet/minecraft/class_6088;field_31117:I- named - ANVIL_DESTROYED- Lnet/minecraft/world/WorldEvents;ANVIL_DESTROYED:I
 
- 
ANVIL_USEDpublic static final int ANVIL_USEDAn anvil is used.
 Plays the anvil used sound event.Called by AnvilScreenHandler#onTakeOutput- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - x- Lctw;x:I- intermediary - field_31118- Lnet/minecraft/class_6088;field_31118:I- named - ANVIL_USED- Lnet/minecraft/world/WorldEvents;ANVIL_USED:I
 
- 
ANVIL_LANDSpublic static final int ANVIL_LANDSAn anvil lands after falling.
 Plays the anvil landing sound event.Called by AnvilBlock#onLanding- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - y- Lctw;y:I- intermediary - field_31119- Lnet/minecraft/class_6088;field_31119:I- named - ANVIL_LANDS- Lnet/minecraft/world/WorldEvents;ANVIL_LANDS:I
 
- 
TRAVEL_THROUGH_PORTALpublic static final int TRAVEL_THROUGH_PORTALA portal is traveled through.
 Plays the portal travel sound event directly through the client's sound manager.Called by ServerPlayerEntity#moveToWorld- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - z- Lctw;z:I- intermediary - field_31120- Lnet/minecraft/class_6088;field_31120:I- named - TRAVEL_THROUGH_PORTAL- Lnet/minecraft/world/WorldEvents;TRAVEL_THROUGH_PORTAL:I
 
- 
CHORUS_FLOWER_GROWSpublic static final int CHORUS_FLOWER_GROWSA chorus flower grows.
 Plays the chorus flower growing sound event.Called by ChorusFlowerBlock#grow- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - A- Lctw;A:I- intermediary - field_31121- Lnet/minecraft/class_6088;field_31121:I- named - CHORUS_FLOWER_GROWS- Lnet/minecraft/world/WorldEvents;CHORUS_FLOWER_GROWS:I
 
- 
CHORUS_FLOWER_DIESpublic static final int CHORUS_FLOWER_DIESA chorus flower dies.
 Plays the chorus flower death sound event.Called by ChorusFlowerBlock#die- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - B- Lctw;B:I- intermediary - field_31122- Lnet/minecraft/class_6088;field_31122:I- named - CHORUS_FLOWER_DIES- Lnet/minecraft/world/WorldEvents;CHORUS_FLOWER_DIES:I
 
- 
BREWING_STAND_BREWSpublic static final int BREWING_STAND_BREWSA brewing stand brews.
 Plays the brewing stand brewing sound event.Called by BrewingStandBlockEntity#craft- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - C- Lctw;C:I- intermediary - field_31123- Lnet/minecraft/class_6088;field_31123:I- named - BREWING_STAND_BREWS- Lnet/minecraft/world/WorldEvents;BREWING_STAND_BREWS:I
 
- 
END_PORTAL_OPENEDpublic static final int END_PORTAL_OPENEDAn end portal is opened.
 Plays the end portal spawn sound event.
 This is a global event.Called by EnderEyeItem#useOnBlock- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - D- Lctw;D:I- intermediary - field_31126- Lnet/minecraft/class_6088;field_31126:I- named - END_PORTAL_OPENED- Lnet/minecraft/world/WorldEvents;END_PORTAL_OPENED:I
 
- 
PHANTOM_BITESpublic static final int PHANTOM_BITESA phantom bites its victim.
 Plays the phantom bite sound event.Called by PhantomEntity.SwoopMovementGoal#tick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - E- Lctw;E:I- intermediary - field_31127- Lnet/minecraft/class_6088;field_31127:I- named - PHANTOM_BITES- Lnet/minecraft/world/WorldEvents;PHANTOM_BITES:I
 
- 
ZOMBIE_CONVERTS_TO_DROWNEDpublic static final int ZOMBIE_CONVERTS_TO_DROWNEDA zombie converts into a drowned.
 Plays the zombie convert to drowned sound event.Called by ZombieEntity#convertInWater- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - F- Lctw;F:I- intermediary - field_31128- Lnet/minecraft/class_6088;field_31128:I- named - ZOMBIE_CONVERTS_TO_DROWNED- Lnet/minecraft/world/WorldEvents;ZOMBIE_CONVERTS_TO_DROWNED:I
 
- 
HUSK_CONVERTS_TO_ZOMBIEpublic static final int HUSK_CONVERTS_TO_ZOMBIEA husk converts into a zombie.
 Plays the husk convert to zombie sound event.Called by HuskEntity#convertInWater- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - G- Lctw;G:I- intermediary - field_31129- Lnet/minecraft/class_6088;field_31129:I- named - HUSK_CONVERTS_TO_ZOMBIE- Lnet/minecraft/world/WorldEvents;HUSK_CONVERTS_TO_ZOMBIE:I
 
- 
GRINDSTONE_USEDpublic static final int GRINDSTONE_USEDA grindstone is used.
 Plays the grindstone used sound event.Called by GrindstoneScreenHandler- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - H- Lctw;H:I- intermediary - field_31130- Lnet/minecraft/class_6088;field_31130:I- named - GRINDSTONE_USED- Lnet/minecraft/world/WorldEvents;GRINDSTONE_USED:I
 
- 
LECTERN_BOOK_PAGE_TURNEDpublic static final int LECTERN_BOOK_PAGE_TURNEDA page is turned in a book on a lectern.
 Plays the page turn sound event.Called by LecternBlock#setPowered- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - I- Lctw;I:I- intermediary - field_31131- Lnet/minecraft/class_6088;field_31131:I- named - LECTERN_BOOK_PAGE_TURNED- Lnet/minecraft/world/WorldEvents;LECTERN_BOOK_PAGE_TURNED:I
 
- 
SMITHING_TABLE_USEDpublic static final int SMITHING_TABLE_USEDA smithing table is used.
 Plays the smithing table used sound event.Called by SmithingScreenHandler#onTakeOutput- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - J- Lctw;J:I- intermediary - field_31132- Lnet/minecraft/class_6088;field_31132:I- named - SMITHING_TABLE_USED- Lnet/minecraft/world/WorldEvents;SMITHING_TABLE_USED:I
 
- 
POINTED_DRIPSTONE_LANDSpublic static final int POINTED_DRIPSTONE_LANDSA pointed dripstone lands after falling.
 Plays the pointed dripstone landing sound event.- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - K- Lctw;K:I- intermediary - field_31133- Lnet/minecraft/class_6088;field_31133:I- named - POINTED_DRIPSTONE_LANDS- Lnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_LANDS:I
 
- 
POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRONpublic static final int POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRONA pointed dripstone drips lava into a cauldron.
 Plays the pointed dripstone dripping lava into cauldron sound event.Called by CauldronBlock#fillFromDripstone- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - L- Lctw;L:I- intermediary - field_31134- Lnet/minecraft/class_6088;field_31134:I- named - POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON- Lnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON:I
 
- 
POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRONpublic static final int POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRONA pointed dripstone drips water into a cauldron.
 Plays the pointed dripstone dripping water into cauldron sound event.Called by CauldronBlock#fillFromDripstone, andLeveledCauldronBlock#fillFromDripstone- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - M- Lctw;M:I- intermediary - field_31135- Lnet/minecraft/class_6088;field_31135:I- named - POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON- Lnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON:I
 
- 
SKELETON_CONVERTS_TO_STRAYpublic static final int SKELETON_CONVERTS_TO_STRAYA skeleton converts into a stray.
 Plays the skeleton convert to stray sound event.Called by SkeletonEntity#convertToStray- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - N- Lctw;N:I- intermediary - field_31136- Lnet/minecraft/class_6088;field_31136:I- named - SKELETON_CONVERTS_TO_STRAY- Lnet/minecraft/world/WorldEvents;SKELETON_CONVERTS_TO_STRAY:I
 
- 
COMPOSTER_USEDpublic static final int COMPOSTER_USEDAn item is composted in a composter.
 Plays the appropriate composting sound event and spawns composter particles.A 1should be passed as extra data if the use of the composter added to the level of compost inside.Called by ComposterBlock#onUse,ComposterBlock.ComposterInventory#markDirty, andFarmerWorkTask#syncComposterEvent- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - O- Lctw;O:I- intermediary - field_31137- Lnet/minecraft/class_6088;field_31137:I- named - COMPOSTER_USED- Lnet/minecraft/world/WorldEvents;COMPOSTER_USED:I
 
- 
LAVA_EXTINGUISHEDpublic static final int LAVA_EXTINGUISHEDLava is extinguished.
 Plays the lava extinguish sound event and spawns large smoke particles.Called by FluidBlock#playExtinguishSound, andLavaFluid#playExtinguishEvent- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - P- Lctw;P:I- intermediary - field_31138- Lnet/minecraft/class_6088;field_31138:I- named - LAVA_EXTINGUISHED- Lnet/minecraft/world/WorldEvents;LAVA_EXTINGUISHED:I
 
- 
REDSTONE_TORCH_BURNS_OUTpublic static final int REDSTONE_TORCH_BURNS_OUTA redstone torch burns out.
 Plays the redstone torch burn out sound event and spawns smoke particles.Called by RedstoneTorchBlock#scheduledTick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - Q- Lctw;Q:I- intermediary - field_31139- Lnet/minecraft/class_6088;field_31139:I- named - REDSTONE_TORCH_BURNS_OUT- Lnet/minecraft/world/WorldEvents;REDSTONE_TORCH_BURNS_OUT:I
 
- 
END_PORTAL_FRAME_FILLEDpublic static final int END_PORTAL_FRAME_FILLEDAn end portal frame is filled with an eye of ender.
 Plays the end portal frame filled sound event and spawns smoke particles.Called by EnderEyeItem#useOnBlock- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - R- Lctw;R:I- intermediary - field_31141- Lnet/minecraft/class_6088;field_31141:I- named - END_PORTAL_FRAME_FILLED- Lnet/minecraft/world/WorldEvents;END_PORTAL_FRAME_FILLED:I
 
- 
POINTED_DRIPSTONE_DRIPSpublic static final int POINTED_DRIPSTONE_DRIPSA pointed dripstone drips fluid particles.
 Spawns dripping fluid particles.Called by PointedDripstoneBlock#dripTick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - S- Lctw;S:I- intermediary - field_31142- Lnet/minecraft/class_6088;field_31142:I- named - POINTED_DRIPSTONE_DRIPS- Lnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS:I
 
- 
BONE_MEAL_USEDpublic static final int BONE_MEAL_USEDBone meal is used.
 Plays the bone meal item used sound event and spawns happy villager particles.Called by BoneMealItem#useOnBlock, an anonymous class inDispenserBehavior#registerDefaults, andBoneMealTask#keepRunning- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - T- Lctw;T:I- intermediary - field_33511- Lnet/minecraft/class_6088;field_33511:I- named - BONE_MEAL_USED- Lnet/minecraft/world/WorldEvents;BONE_MEAL_USED:I
 
- 
DISPENSER_ACTIVATEDpublic static final int DISPENSER_ACTIVATEDA dispenser is activated.
 Spawns smoke particles.
 The ordinal direction the dispenser is facing must be supplied as extra data.Called by ItemDispenserBehavior#spawnParticles- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - U- Lctw;U:I- intermediary - field_31143- Lnet/minecraft/class_6088;field_31143:I- named - DISPENSER_ACTIVATED- Lnet/minecraft/world/WorldEvents;DISPENSER_ACTIVATED:I
 
- 
BLOCK_BROKENpublic static final int BLOCK_BROKENA block is broken.
 Plays the appropriate block breaking sound event and spawns block breaking particles.The raw ID of the block must be supplied as extra data. Called by Block#spawnBreakParticles,TallPlantBlock#onBreakInCreative,BreakDoorGoal#tick,CarvedPumpkinBlock#trySpawnEntity,EatGrassGoal#tick,FoxEntity#tick,PowderSnowBlock#tryDrainFluid,RabbitEntity.EatCarrotCropGoal#tick,SpongeBlock#update,TurtleEggBlock#breakEgg,TurtleEggBlock#randomTick,TurtleEntity#tickMovement,WitherSkullBlock#onPlaced, andWorld#breakBlock- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - V- Lctw;V:I- intermediary - field_31144- Lnet/minecraft/class_6088;field_31144:I- named - BLOCK_BROKEN- Lnet/minecraft/world/WorldEvents;BLOCK_BROKEN:I
 
- 
SPLASH_POTION_SPLASHEDpublic static final int SPLASH_POTION_SPLASHEDA non-instant splash potion is splashed.
 Plays the splash potion breaking sound event and spawns splash potion particles.The hex color of the potion must be supplied as extra data. For instant effects such as Instant Health and Instant Damage, use INSTANT_SPLASH_POTION_SPLASHED.Called by ExperienceBottleEntity#onCollision, andPotionEntity#onCollision- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - W- Lctw;W:I- intermediary - field_31145- Lnet/minecraft/class_6088;field_31145:I- named - SPLASH_POTION_SPLASHED- Lnet/minecraft/world/WorldEvents;SPLASH_POTION_SPLASHED:I
 
- 
EYE_OF_ENDER_BREAKSpublic static final int EYE_OF_ENDER_BREAKSA thrown eye of ender breaks.
 Spawns several particles.Called by EyeOfEnderEntity#tick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - X- Lctw;X:I- intermediary - field_31146- Lnet/minecraft/class_6088;field_31146:I- named - EYE_OF_ENDER_BREAKS- Lnet/minecraft/world/WorldEvents;EYE_OF_ENDER_BREAKS:I
 
- 
SPAWNER_SPAWNS_MOBpublic static final int SPAWNER_SPAWNS_MOBA spawner spawns a mob.
 Spawns smoke and flame particles.Called by MobSpawnerLogic#serverTick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - Y- Lctw;Y:I- intermediary - field_31147- Lnet/minecraft/class_6088;field_31147:I- named - SPAWNER_SPAWNS_MOB- Lnet/minecraft/world/WorldEvents;SPAWNER_SPAWNS_MOB:I
 
- 
PLANT_FERTILIZEDpublic static final int PLANT_FERTILIZEDA plant is fertilized with bone meal or by a bee, or a turtle egg is placed.
 Spawns happy villager particles.Called by BeeEntity.GrowCropsGoal#tick,BoneMealItem#useOnBlock,BoneMealTask#keepRunning,DispenserBehavior, andTurtleEggBlock#onBlockAdded- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - Z- Lctw;Z:I- intermediary - field_31148- Lnet/minecraft/class_6088;field_31148:I- named - PLANT_FERTILIZED- Lnet/minecraft/world/WorldEvents;PLANT_FERTILIZED:I
 
- 
DRAGON_BREATH_CLOUD_SPAWNSpublic static final int DRAGON_BREATH_CLOUD_SPAWNSA dragon breath cloud spawns.
 Plays the dragon fireball explode sound event and spawns dragon breath particles.Called by DragonFireballEntity#onCollision- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - aa- Lctw;aa:I- intermediary - field_31149- Lnet/minecraft/class_6088;field_31149:I- named - DRAGON_BREATH_CLOUD_SPAWNS- Lnet/minecraft/world/WorldEvents;DRAGON_BREATH_CLOUD_SPAWNS:I
 
- 
INSTANT_SPLASH_POTION_SPLASHEDpublic static final int INSTANT_SPLASH_POTION_SPLASHEDAn instant splash potion is splashed.
 Plays the splash potion breaking sound event and spawns instant splash potion particles.The hex color of the potion must be supplied as extra data. For non-instant effects, use SPLASH_POTION_SPLASHED.Called by PotionEntity#onCollision- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ab- Lctw;ab:I- intermediary - field_31150- Lnet/minecraft/class_6088;field_31150:I- named - INSTANT_SPLASH_POTION_SPLASHED- Lnet/minecraft/world/WorldEvents;INSTANT_SPLASH_POTION_SPLASHED:I
 
- 
ENDER_DRAGON_BREAKS_BLOCKpublic static final int ENDER_DRAGON_BREAKS_BLOCKAn ender dragon breaks a block.
 Spawns an explosion particle.Called by EnderDragonEntity#destroyBlocks- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ac- Lctw;ac:I- intermediary - field_31151- Lnet/minecraft/class_6088;field_31151:I- named - ENDER_DRAGON_BREAKS_BLOCK- Lnet/minecraft/world/WorldEvents;ENDER_DRAGON_BREAKS_BLOCK:I
 
- 
WET_SPONGE_DRIES_OUTpublic static final int WET_SPONGE_DRIES_OUTA wet sponge dries out in an ultrawarm dimension.
 Spawns cloud particles.Called by WetSpongeBlock#onBlockAdded- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ad- Lctw;ad:I- intermediary - field_31152- Lnet/minecraft/class_6088;field_31152:I- named - WET_SPONGE_DRIES_OUT- Lnet/minecraft/world/WorldEvents;WET_SPONGE_DRIES_OUT:I
 
- 
END_GATEWAY_SPAWNSpublic static final int END_GATEWAY_SPAWNSAn end gateway spawns.
 Plays the end gateway spawn sound event and spawns an explosion emitter particle.Called by EnderDragonFight#generateEndGateway- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ae- Lctw;ae:I- intermediary - field_31153- Lnet/minecraft/class_6088;field_31153:I- named - END_GATEWAY_SPAWNS- Lnet/minecraft/world/WorldEvents;END_GATEWAY_SPAWNS:I
 
- 
ENDER_DRAGON_RESURRECTEDpublic static final int ENDER_DRAGON_RESURRECTEDThe ender dragon is being resurrected.
 Plays the ender dragon growl sound event.Called by EnderDragonSpawnState#run- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - af- Lctw;af:I- intermediary - field_31154- Lnet/minecraft/class_6088;field_31154:I- named - ENDER_DRAGON_RESURRECTED- Lnet/minecraft/world/WorldEvents;ENDER_DRAGON_RESURRECTED:I
 
- 
ELECTRICITY_SPARKSpublic static final int ELECTRICITY_SPARKSElectricity sparks after lightning hits a lightning rod or oxidizable blocks.
 Spawns electric spark particles.The ordinal direction the lightning rod is facing must be supplied as extra data. 
 A-1should be passed if the event is called by a lightning entity itself.Called by LightningRodBlock#setPowered, andLightningEntity#cleanOxidationAround- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ag- Lctw;ag:I- intermediary - field_31155- Lnet/minecraft/class_6088;field_31155:I- named - ELECTRICITY_SPARKS- Lnet/minecraft/world/WorldEvents;ELECTRICITY_SPARKS:I
 
- 
BLOCK_WAXEDpublic static final int BLOCK_WAXEDA block is waxed.
 Plays the block waxing sound event and spawns waxing particles.Called by HoneycombItem#useOnBlock- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ah- Lctw;ah:I- intermediary - field_31156- Lnet/minecraft/class_6088;field_31156:I- named - BLOCK_WAXED- Lnet/minecraft/world/WorldEvents;BLOCK_WAXED:I
 
- 
WAX_REMOVEDpublic static final int WAX_REMOVEDWax is removed from a block.
 Spawns wax removal particles.Called by AxeItem#useOnBlock- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ai- Lctw;ai:I- intermediary - field_31157- Lnet/minecraft/class_6088;field_31157:I- named - WAX_REMOVED- Lnet/minecraft/world/WorldEvents;WAX_REMOVED:I
 
- 
BLOCK_SCRAPEDpublic static final int BLOCK_SCRAPEDA block is scraped.
 Spawns scraping particles.Called by AxeItem#useOnBlock- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - aj- Lctw;aj:I- intermediary - field_31158- Lnet/minecraft/class_6088;field_31158:I- named - BLOCK_SCRAPED- Lnet/minecraft/world/WorldEvents;BLOCK_SCRAPED:I
 
- 
SCULK_CHARGEpublic static final int SCULK_CHARGESculk releases a charge.
 Spawns sculk charge particles.Called by SculkSpreadManager#tick- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ak- Lctw;ak:I- intermediary - field_37586- Lnet/minecraft/class_6088;field_37586:I- named - SCULK_CHARGE- Lnet/minecraft/world/WorldEvents;SCULK_CHARGE:I
 
- 
SCULK_SHRIEKSpublic static final int SCULK_SHRIEKSA sculk shrieker shrieks.
 Spawns shriek particles and plays the shriek sound event.Called by SculkShriekerBlockEntity#shriek- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - al- Lctw;al:I- intermediary - field_38228- Lnet/minecraft/class_6088;field_38228:I- named - SCULK_SHRIEKS- Lnet/minecraft/world/WorldEvents;SCULK_SHRIEKS:I
 
- 
BLOCK_FINISHED_BRUSHINGpublic static final int BLOCK_FINISHED_BRUSHINGA block has been completely brushed.
 Spawns block break particles and plays the block's brushing complete sound.The block's raw ID must be supplied as extra data. Called by BrushableBlockEntity#finishBrushing- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - am- Lctw;am:I- intermediary - field_42759- Lnet/minecraft/class_6088;field_42759:I- named - BLOCK_FINISHED_BRUSHING- Lnet/minecraft/world/WorldEvents;BLOCK_FINISHED_BRUSHING:I
 
- 
SNIFFER_EGG_CRACKSpublic static final int SNIFFER_EGG_CRACKSA sniffer egg cracks.
 Spawns between 1 and 3 egg crack particles.If a 1is passed as extra data, between 3 and 6 egg crack particles are spawned instead.Called by SnifferEggBlock#onBlockAdded- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - an- Lctw;an:I- intermediary - field_43238- Lnet/minecraft/class_6088;field_43238:I- named - SNIFFER_EGG_CRACKS- Lnet/minecraft/world/WorldEvents;SNIFFER_EGG_CRACKS:I
 
 
- 
- 
Constructor Details- 
WorldEventspublic WorldEvents()
 
-