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 cdointermediary net/minecraft/class_6088named net/minecraft/world/WorldEvents
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intAn Anvil is destroyed from damage.static intAn Anvil lands after falling.static intAn Anvil is used.static intA Bat takes off.static intA Blaze shoots a fireball or a Fire Charge is shot by a dispenser.static intA block is broken.static intA block is scraped.static intA block is waxed.static intA Brewing Stand brews.static intA Chorus Flower dies.static intA Chorus Flower grows.static intAn item is composted in a Composter.static intA Dispenser is activated.static intA Dispenser dispenses an item.static intA Dispenser fails to dispense an item.static intA Dispenser launches a projectile.static intA Dragon Breath Cloud spawns.static intElectricity sparks after Lightning hits a Lightning Rod or Oxidizable blocks.static intAn End Gateway spawns.static intAn End Portal Frame is filled with an Eye of Ender.static intAn End Portal is opened.static intAn Ender Dragon breaks a block.static intAn Ender Dragon dies.static intThe Ender Dragon is being resurrected.static intAn Ender Dragon shoots a fireball.static intA thrown Eye of Ender breaks.static intAn Eye of Ender is launched.static intA Fence Gate is closed.static intA Fence Gate is opened.static intstatic intFire is extinguished.static intA Firework Rocket is shot.static intA Ghast shoots a fireball.static intA Ghast warns its victim.static intA Grindstone is used.static intA Husk converts into a Zombie.static intAn instant Splash Potion is splashed.static intAn Iron Door is closed.static intAn Iron Door is opened.static intAn Iron Trapdoor closes.static intAn Iron Trapdoor opens.static intLava is extinguished.static intA page is turned in a Book on a Lectern.static intA Music Disc is played.static intA Phantom bites its victim.static intA plant is fertilized with Bone Meal or by a Bee, or a Turtle Egg is placed
Spawns happy villager particles.static intPointed Dripstone drips fluid particles.static intPointed Dripstone drips Lava into a Cauldron.static intPointed Dripstone drips Water into a Cauldron.static intPointed Dripstone lands after falling.static intA Redstone Torch burns out.static intA Skeleton converts into a Stray.static intA Smithing Table is used.static intA Spawner spawns a mob.static intA non-instant Splash Potion is splashed.static intA Portal is travelled through.static intWax is removed from a block.static intA Wet Sponge dries out in a hot dimension.static intA Wither breaks a block.static intA Wither shoots a wither skull.static intA Wither is spawned.static intA Wooden Door is closed.static intA Wooden Door is opened.static intA Wooden Trapdoor is closed.static intA Wooden Trapdoor is opened.static intA Zombie attacks an Iron Door.static intA Zombie attacks a Wooden Door.static intA Zombie breaks a Wooden Door.static intA Zombie converts into a Drowned.static intA Zombie infects a Villager.static intA Zombie Villager is cured. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DISPENSER_DISPENSES
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLcdo;a:Iintermediary field_31140Lnet/minecraft/class_6088;field_31140:Inamed DISPENSER_DISPENSESLnet/minecraft/world/WorldEvents;DISPENSER_DISPENSES:I
-
DISPENSER_FAILS
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLcdo;b:Iintermediary field_31159Lnet/minecraft/class_6088;field_31159:Inamed DISPENSER_FAILSLnet/minecraft/world/WorldEvents;DISPENSER_FAILS:I
-
DISPENSER_LAUNCHES_PROJECTILE
public static final int DISPENSER_LAUNCHES_PROJECTILEA Dispenser launches a projectile.
Plays the dispenser launch sound event.Called by
ProjectileDispenserBehavior#playSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLcdo;c:Iintermediary field_31160Lnet/minecraft/class_6088;field_31160:Inamed DISPENSER_LAUNCHES_PROJECTILELnet/minecraft/world/WorldEvents;DISPENSER_LAUNCHES_PROJECTILE:I
-
EYE_OF_ENDER_LAUNCHES
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official dLcdo;d:Iintermediary field_31161Lnet/minecraft/class_6088;field_31161:Inamed EYE_OF_ENDER_LAUNCHESLnet/minecraft/world/WorldEvents;EYE_OF_ENDER_LAUNCHES:I
-
FIREWORK_ROCKET_SHOOTS
public static final int FIREWORK_ROCKET_SHOOTSA Firework Rocket is shot.
Plays the firework shoot sound event.Called by
DispenserBehavior- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official eLcdo;e:Iintermediary field_31162Lnet/minecraft/class_6088;field_31162:Inamed FIREWORK_ROCKET_SHOOTSLnet/minecraft/world/WorldEvents;FIREWORK_ROCKET_SHOOTS:I
-
IRON_DOOR_OPENS
public static final int IRON_DOOR_OPENSAn Iron Door is opened.
Plays the iron door opening sound event.Called by
DoorBlock#playOpenCloseSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official fLcdo;f:Iintermediary field_31163Lnet/minecraft/class_6088;field_31163:Inamed IRON_DOOR_OPENSLnet/minecraft/world/WorldEvents;IRON_DOOR_OPENS:I
-
WOODEN_DOOR_OPENS
public static final int WOODEN_DOOR_OPENSA Wooden Door is opened.
Plays the wooden door opening sound event.Called by
DoorBlock#onUse, andDoorBlock#playOpenCloseSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official gLcdo;g:Iintermediary field_31164Lnet/minecraft/class_6088;field_31164:Inamed WOODEN_DOOR_OPENSLnet/minecraft/world/WorldEvents;WOODEN_DOOR_OPENS:I
-
WOODEN_TRAPDOOR_OPENS
public static final int WOODEN_TRAPDOOR_OPENSA Wooden Trapdoor is opened.
Plays the wooden trapdoor opening sound event.Called by
TrapdoorBlock#playToggleSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official hLcdo;h:Iintermediary field_31165Lnet/minecraft/class_6088;field_31165:Inamed WOODEN_TRAPDOOR_OPENSLnet/minecraft/world/WorldEvents;WOODEN_TRAPDOOR_OPENS:I
-
FENCE_GATE_OPENS
public static final int FENCE_GATE_OPENSA Fence Gate is opened.
Plays the fence gate opening sound event.Called by
FenceGateBlock#onUse, andFenceGateBlock#neighborUpdate- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official iLcdo;i:Iintermediary field_31166Lnet/minecraft/class_6088;field_31166:Inamed FENCE_GATE_OPENSLnet/minecraft/world/WorldEvents;FENCE_GATE_OPENS:I
-
FIRE_EXTINGUISHED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official jLcdo;j:Iintermediary field_31167Lnet/minecraft/class_6088;field_31167:Inamed FIRE_EXTINGUISHEDLnet/minecraft/world/WorldEvents;FIRE_EXTINGUISHED:I
-
MUSIC_DISC_PLAYED
public static final int MUSIC_DISC_PLAYEDA Music Disc is played.
Plays the appropriate music.
The Raw ID of the Music Disc item must be supplied as extra data.
A0should be passed to stop music.Called by
MusicDiscItem#useOnBlock, andJukeboxBlock#removeRecord- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official kLcdo;k:Iintermediary field_31168Lnet/minecraft/class_6088;field_31168:Inamed MUSIC_DISC_PLAYEDLnet/minecraft/world/WorldEvents;MUSIC_DISC_PLAYED:I
-
IRON_DOOR_CLOSES
public static final int IRON_DOOR_CLOSESAn Iron Door is closed.
Plays the iron door closing sound event.Called by
DoorBlock#playOpenCloseSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official lLcdo;l:Iintermediary field_31169Lnet/minecraft/class_6088;field_31169:Inamed IRON_DOOR_CLOSESLnet/minecraft/world/WorldEvents;IRON_DOOR_CLOSES:I
-
WOODEN_DOOR_CLOSES
public static final int WOODEN_DOOR_CLOSESA Wooden Door is closed.
Plays the wooden door closing sound event.Called by
DoorBlock#onUse, andDoorBlock#playOpenCloseSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official mLcdo;m:Iintermediary field_31170Lnet/minecraft/class_6088;field_31170:Inamed WOODEN_DOOR_CLOSESLnet/minecraft/world/WorldEvents;WOODEN_DOOR_CLOSES:I
-
WOODEN_TRAPDOOR_CLOSES
public static final int WOODEN_TRAPDOOR_CLOSESA Wooden Trapdoor is closed.
Plays the wooden trapdoor closing sound event.Called by
TrapdoorBlock#playToggleSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official nLcdo;n:Iintermediary field_31171Lnet/minecraft/class_6088;field_31171:Inamed WOODEN_TRAPDOOR_CLOSESLnet/minecraft/world/WorldEvents;WOODEN_TRAPDOOR_CLOSES:I
-
FENCE_GATE_CLOSES
public static final int FENCE_GATE_CLOSESA Fence Gate is closed.
Plays the fence gate closing sound event.Called by
FenceGateBlock#onUse, andFenceGateBlock#neighborUpdate- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official oLcdo;o:Iintermediary field_31172Lnet/minecraft/class_6088;field_31172:Inamed FENCE_GATE_CLOSESLnet/minecraft/world/WorldEvents;FENCE_GATE_CLOSES:I
-
GHAST_WARNS
public static final int GHAST_WARNSA Ghast warns its victim.
Plays the ghast warn sound event.Called by
GhastEntity.ShootFireballGoal#tick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official pLcdo;p:Iintermediary field_31173Lnet/minecraft/class_6088;field_31173:Inamed GHAST_WARNSLnet/minecraft/world/WorldEvents;GHAST_WARNS:I
-
GHAST_SHOOTS
public static final int GHAST_SHOOTSA Ghast shoots a fireball.
Plays the ghast shoot sound event.Called by
GhastEntity.ShootFireballGoal#tick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official qLcdo;q:Iintermediary field_31174Lnet/minecraft/class_6088;field_31174:Inamed GHAST_SHOOTSLnet/minecraft/world/WorldEvents;GHAST_SHOOTS:I
-
ENDER_DRAGON_SHOOTS
public static final int ENDER_DRAGON_SHOOTSAn Ender Dragon shoots a fireball.
Plays the ender dragon shoot sound event.Called by
StrafePlayerPhase#serverTick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official rLcdo;r:Iintermediary field_31175Lnet/minecraft/class_6088;field_31175:Inamed ENDER_DRAGON_SHOOTSLnet/minecraft/world/WorldEvents;ENDER_DRAGON_SHOOTS:I
-
BLAZE_SHOOTS
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official sLcdo;s:Iintermediary field_31176Lnet/minecraft/class_6088;field_31176:Inamed BLAZE_SHOOTSLnet/minecraft/world/WorldEvents;BLAZE_SHOOTS:I
-
ZOMBIE_ATTACKS_WOODEN_DOOR
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official tLcdo;t:Iintermediary field_31177Lnet/minecraft/class_6088;field_31177:Inamed ZOMBIE_ATTACKS_WOODEN_DOORLnet/minecraft/world/WorldEvents;ZOMBIE_ATTACKS_WOODEN_DOOR:I
-
ZOMBIE_ATTACKS_IRON_DOOR
public static final int ZOMBIE_ATTACKS_IRON_DOORA Zombie attacks an Iron Door.
Plays the zombie attacking iron door sound event.
Goes unused.- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official uLcdo;u:Iintermediary field_31178Lnet/minecraft/class_6088;field_31178:Inamed ZOMBIE_ATTACKS_IRON_DOORLnet/minecraft/world/WorldEvents;ZOMBIE_ATTACKS_IRON_DOOR:I
-
ZOMBIE_BREAKS_WOODEN_DOOR
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official vLcdo;v:Iintermediary field_31179Lnet/minecraft/class_6088;field_31179:Inamed ZOMBIE_BREAKS_WOODEN_DOORLnet/minecraft/world/WorldEvents;ZOMBIE_BREAKS_WOODEN_DOOR:I
-
WITHER_BREAKS_BLOCK
public static final int WITHER_BREAKS_BLOCKA Wither breaks a block.
Plays the wither breaking block sound event.Called by
WitherEntity#mobTick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official wLcdo;w:Iintermediary field_31180Lnet/minecraft/class_6088;field_31180:Inamed WITHER_BREAKS_BLOCKLnet/minecraft/world/WorldEvents;WITHER_BREAKS_BLOCK:I
-
WITHER_SPAWNS
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official xLcdo;x:Iintermediary field_31181Lnet/minecraft/class_6088;field_31181:Inamed WITHER_SPAWNSLnet/minecraft/world/WorldEvents;WITHER_SPAWNS:I
-
WITHER_SHOOTS
public static final int WITHER_SHOOTSA Wither shoots a wither skull.
Plays the wither shoot sound event.Called by
WitherEntity#shootSkullAt- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official yLcdo;y:Iintermediary field_31182Lnet/minecraft/class_6088;field_31182:Inamed WITHER_SHOOTSLnet/minecraft/world/WorldEvents;WITHER_SHOOTS:I
-
BAT_TAKES_OFF
public static final int BAT_TAKES_OFFA Bat takes off.
Plays the bat take off sound event.Called by
BatEntity#mobTick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official zLcdo;z:Iintermediary field_31183Lnet/minecraft/class_6088;field_31183:Inamed BAT_TAKES_OFFLnet/minecraft/world/WorldEvents;BAT_TAKES_OFF:I
-
ZOMBIE_INFECTS_VILLAGER
public static final int ZOMBIE_INFECTS_VILLAGERA Zombie infects a Villager.
Plays the zombie infect villager sound event.Called by
ZombieEntity#onKilledOther- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ALcdo;A:Iintermediary field_31114Lnet/minecraft/class_6088;field_31114:Inamed ZOMBIE_INFECTS_VILLAGERLnet/minecraft/world/WorldEvents;ZOMBIE_INFECTS_VILLAGER:I
-
ZOMBIE_VILLAGER_CURED
public static final int ZOMBIE_VILLAGER_CUREDA Zombie Villager is cured.
Plays the zombie villager cured sound event.Called by
ZombieVillagerEntity#finishConversion- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official BLcdo;B:Iintermediary field_31115Lnet/minecraft/class_6088;field_31115:Inamed ZOMBIE_VILLAGER_CUREDLnet/minecraft/world/WorldEvents;ZOMBIE_VILLAGER_CURED:I
-
ENDER_DRAGON_DIES
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official CLcdo;C:Iintermediary field_31116Lnet/minecraft/class_6088;field_31116:Inamed ENDER_DRAGON_DIESLnet/minecraft/world/WorldEvents;ENDER_DRAGON_DIES:I
-
ANVIL_DESTROYED
public static final int ANVIL_DESTROYEDAn Anvil is destroyed from damage.
Plays the anvil destroyed sound event.Called by
AnvilBlock#onDestroyedOnLanding, andAnvilScreenHandler#onTakeOutput- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official DLcdo;D:Iintermediary field_31117Lnet/minecraft/class_6088;field_31117:Inamed ANVIL_DESTROYEDLnet/minecraft/world/WorldEvents;ANVIL_DESTROYED:I
-
ANVIL_USED
public static final int ANVIL_USEDAn Anvil is used.
Plays the anvil used sound event.Called by
AnvilScreenHandler#onTakeOutput- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ELcdo;E:Iintermediary field_31118Lnet/minecraft/class_6088;field_31118:Inamed ANVIL_USEDLnet/minecraft/world/WorldEvents;ANVIL_USED:I
-
ANVIL_LANDS
public static final int ANVIL_LANDSAn Anvil lands after falling.
Plays the anvil landing sound event.Called by
AnvilBlock#onLanding- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official FLcdo;F:Iintermediary field_31119Lnet/minecraft/class_6088;field_31119:Inamed ANVIL_LANDSLnet/minecraft/world/WorldEvents;ANVIL_LANDS:I
-
TRAVEL_THROUGH_PORTAL
public static final int TRAVEL_THROUGH_PORTALA Portal is travelled through.
Plays the portal travel sound event directly through the client's sound manager.Called by
ServerPlayerEntity#moveToWorld- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official GLcdo;G:Iintermediary field_31120Lnet/minecraft/class_6088;field_31120:Inamed TRAVEL_THROUGH_PORTALLnet/minecraft/world/WorldEvents;TRAVEL_THROUGH_PORTAL:I
-
CHORUS_FLOWER_GROWS
public static final int CHORUS_FLOWER_GROWSA Chorus Flower grows.
Plays the chorus flower growing sound event.Called by
ChorusFlowerBlock#grow- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official HLcdo;H:Iintermediary field_31121Lnet/minecraft/class_6088;field_31121:Inamed CHORUS_FLOWER_GROWSLnet/minecraft/world/WorldEvents;CHORUS_FLOWER_GROWS:I
-
CHORUS_FLOWER_DIES
public static final int CHORUS_FLOWER_DIESA Chorus Flower dies.
Plays the chorus flower death sound event.Called by
ChorusFlowerBlock#die- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ILcdo;I:Iintermediary field_31122Lnet/minecraft/class_6088;field_31122:Inamed CHORUS_FLOWER_DIESLnet/minecraft/world/WorldEvents;CHORUS_FLOWER_DIES:I
-
BREWING_STAND_BREWS
public static final int BREWING_STAND_BREWSA Brewing Stand brews.
Plays the brewing stand brewing sound event.Called by
BrewingStandBlockEntity#craft- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official JLcdo;J:Iintermediary field_31123Lnet/minecraft/class_6088;field_31123:Inamed BREWING_STAND_BREWSLnet/minecraft/world/WorldEvents;BREWING_STAND_BREWS:I
-
IRON_TRAPDOOR_CLOSES
public static final int IRON_TRAPDOOR_CLOSESAn Iron Trapdoor closes.
Plays the iron trapdoor closing sound event.Called by
TrapdoorBlock#playToggleSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official KLcdo;K:Iintermediary field_31124Lnet/minecraft/class_6088;field_31124:Inamed IRON_TRAPDOOR_CLOSESLnet/minecraft/world/WorldEvents;IRON_TRAPDOOR_CLOSES:I
-
IRON_TRAPDOOR_OPENS
public static final int IRON_TRAPDOOR_OPENSAn Iron Trapdoor opens.
Plays the iron trapdoor opening sound event.Called by
TrapdoorBlock#playToggleSound- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official LLcdo;L:Iintermediary field_31125Lnet/minecraft/class_6088;field_31125:Inamed IRON_TRAPDOOR_OPENSLnet/minecraft/world/WorldEvents;IRON_TRAPDOOR_OPENS:I
-
END_PORTAL_OPENED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official MLcdo;M:Iintermediary field_31126Lnet/minecraft/class_6088;field_31126:Inamed END_PORTAL_OPENEDLnet/minecraft/world/WorldEvents;END_PORTAL_OPENED:I
-
PHANTOM_BITES
public static final int PHANTOM_BITESA Phantom bites its victim.
Plays the phantom bite sound event.Called by
PhantomEntity.SwoopMovementGoal#tick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official NLcdo;N:Iintermediary field_31127Lnet/minecraft/class_6088;field_31127:Inamed PHANTOM_BITESLnet/minecraft/world/WorldEvents;PHANTOM_BITES:I
-
ZOMBIE_CONVERTS_TO_DROWNED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official OLcdo;O:Iintermediary field_31128Lnet/minecraft/class_6088;field_31128:Inamed ZOMBIE_CONVERTS_TO_DROWNEDLnet/minecraft/world/WorldEvents;ZOMBIE_CONVERTS_TO_DROWNED:I
-
HUSK_CONVERTS_TO_ZOMBIE
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official PLcdo;P:Iintermediary field_31129Lnet/minecraft/class_6088;field_31129:Inamed HUSK_CONVERTS_TO_ZOMBIELnet/minecraft/world/WorldEvents;HUSK_CONVERTS_TO_ZOMBIE:I
-
GRINDSTONE_USED
public static final int GRINDSTONE_USEDA Grindstone is used.
Plays the grindstone used sound event.Called by
GrindstoneScreenHandler- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official QLcdo;Q:Iintermediary field_31130Lnet/minecraft/class_6088;field_31130:Inamed GRINDSTONE_USEDLnet/minecraft/world/WorldEvents;GRINDSTONE_USED:I
-
LECTERN_BOOK_PAGE_TURNED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official RLcdo;R:Iintermediary field_31131Lnet/minecraft/class_6088;field_31131:Inamed LECTERN_BOOK_PAGE_TURNEDLnet/minecraft/world/WorldEvents;LECTERN_BOOK_PAGE_TURNED:I
-
SMITHING_TABLE_USED
public static final int SMITHING_TABLE_USEDA Smithing Table is used.
Plays the smithing table used sound event.Called by
SmithingScreenHandler#onTakeOutput- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official SLcdo;S:Iintermediary field_31132Lnet/minecraft/class_6088;field_31132:Inamed SMITHING_TABLE_USEDLnet/minecraft/world/WorldEvents;SMITHING_TABLE_USED:I
-
POINTED_DRIPSTONE_LANDS
public static final int POINTED_DRIPSTONE_LANDSPointed Dripstone lands after falling.
Plays the pointed dripstone landing sound event.- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official TLcdo;T:Iintermediary field_31133Lnet/minecraft/class_6088;field_31133:Inamed POINTED_DRIPSTONE_LANDSLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_LANDS:I
-
POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON
public static final int POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRONPointed Dripstone drips Lava into a Cauldron.
Plays the pointed dripstone dripping lava into cauldron sound event.Called by
CauldronBlock#fillFromDripstone- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ULcdo;U:Iintermediary field_31134Lnet/minecraft/class_6088;field_31134:Inamed POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRONLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON:I
-
POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON
public static final int POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRONPointed Dripstone drips Water into a Cauldron.
Plays the pointed dripstone dripping water into cauldron sound event.Called by
CauldronBlock#fillFromDripstone, andLeveledCauldronBlock#fillFromDripstone- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official VLcdo;V:Iintermediary field_31135Lnet/minecraft/class_6088;field_31135:Inamed POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRONLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON:I
-
SKELETON_CONVERTS_TO_STRAY
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official WLcdo;W:Iintermediary field_31136Lnet/minecraft/class_6088;field_31136:Inamed SKELETON_CONVERTS_TO_STRAYLnet/minecraft/world/WorldEvents;SKELETON_CONVERTS_TO_STRAY:I
-
COMPOSTER_USED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official XLcdo;X:Iintermediary field_31137Lnet/minecraft/class_6088;field_31137:Inamed COMPOSTER_USEDLnet/minecraft/world/WorldEvents;COMPOSTER_USED:I
-
LAVA_EXTINGUISHED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official YLcdo;Y:Iintermediary field_31138Lnet/minecraft/class_6088;field_31138:Inamed LAVA_EXTINGUISHEDLnet/minecraft/world/WorldEvents;LAVA_EXTINGUISHED:I
-
REDSTONE_TORCH_BURNS_OUT
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ZLcdo;Z:Iintermediary field_31139Lnet/minecraft/class_6088;field_31139:Inamed REDSTONE_TORCH_BURNS_OUTLnet/minecraft/world/WorldEvents;REDSTONE_TORCH_BURNS_OUT:I
-
END_PORTAL_FRAME_FILLED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aaLcdo;aa:Iintermediary field_31141Lnet/minecraft/class_6088;field_31141:Inamed END_PORTAL_FRAME_FILLEDLnet/minecraft/world/WorldEvents;END_PORTAL_FRAME_FILLED:I
-
POINTED_DRIPSTONE_DRIPS
public static final int POINTED_DRIPSTONE_DRIPSPointed Dripstone drips fluid particles.
Spawns dripping fluid particles.Called by
PointedDripstoneBlock#dripTick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official abLcdo;ab:Iintermediary field_31142Lnet/minecraft/class_6088;field_31142:Inamed POINTED_DRIPSTONE_DRIPSLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS:I
-
field_33511
public static final int field_33511- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official acLcdo;ac:Iintermediary field_33511Lnet/minecraft/class_6088;field_33511:Inamed field_33511Lnet/minecraft/world/WorldEvents;field_33511:I
-
DISPENSER_ACTIVATED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official adLcdo;ad:Iintermediary field_31143Lnet/minecraft/class_6088;field_31143:Inamed DISPENSER_ACTIVATEDLnet/minecraft/world/WorldEvents;DISPENSER_ACTIVATED:I
-
BLOCK_BROKEN
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aeLcdo;ae:Iintermediary field_31144Lnet/minecraft/class_6088;field_31144:Inamed BLOCK_BROKENLnet/minecraft/world/WorldEvents;BLOCK_BROKEN:I
-
SPLASH_POTION_SPLASHED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official afLcdo;af:Iintermediary field_31145Lnet/minecraft/class_6088;field_31145:Inamed SPLASH_POTION_SPLASHEDLnet/minecraft/world/WorldEvents;SPLASH_POTION_SPLASHED:I
-
EYE_OF_ENDER_BREAKS
public static final int EYE_OF_ENDER_BREAKSA thrown Eye of Ender breaks.
Spawns several particles.Called by
EyeOfEnderEntity#tick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official agLcdo;ag:Iintermediary field_31146Lnet/minecraft/class_6088;field_31146:Inamed EYE_OF_ENDER_BREAKSLnet/minecraft/world/WorldEvents;EYE_OF_ENDER_BREAKS:I
-
SPAWNER_SPAWNS_MOB
public static final int SPAWNER_SPAWNS_MOBA Spawner spawns a mob.
Spawns smoke and flame particles.Called by
MobSpawnerLogic#serverTick- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ahLcdo;ah:Iintermediary field_31147Lnet/minecraft/class_6088;field_31147:Inamed SPAWNER_SPAWNS_MOBLnet/minecraft/world/WorldEvents;SPAWNER_SPAWNS_MOB:I
-
PLANT_FERTILIZED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aiLcdo;ai:Iintermediary field_31148Lnet/minecraft/class_6088;field_31148:Inamed PLANT_FERTILIZEDLnet/minecraft/world/WorldEvents;PLANT_FERTILIZED:I
-
DRAGON_BREATH_CLOUD_SPAWNS
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ajLcdo;aj:Iintermediary field_31149Lnet/minecraft/class_6088;field_31149:Inamed DRAGON_BREATH_CLOUD_SPAWNSLnet/minecraft/world/WorldEvents;DRAGON_BREATH_CLOUD_SPAWNS:I
-
INSTANT_SPLASH_POTION_SPLASHED
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official akLcdo;ak:Iintermediary field_31150Lnet/minecraft/class_6088;field_31150:Inamed INSTANT_SPLASH_POTION_SPLASHEDLnet/minecraft/world/WorldEvents;INSTANT_SPLASH_POTION_SPLASHED:I
-
ENDER_DRAGON_BREAKS_BLOCK
public static final int ENDER_DRAGON_BREAKS_BLOCKAn Ender Dragon breaks a block.
Spawns an explosion particle.Called by
EnderDragonEntity#destroyBlocks- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official alLcdo;al:Iintermediary field_31151Lnet/minecraft/class_6088;field_31151:Inamed ENDER_DRAGON_BREAKS_BLOCKLnet/minecraft/world/WorldEvents;ENDER_DRAGON_BREAKS_BLOCK:I
-
WET_SPONGE_DRIES_OUT
public static final int WET_SPONGE_DRIES_OUTA Wet Sponge dries out in a hot dimension.
Spawns cloud particles.Called by
WetSpongeBlock#onBlockAddedlic static final int WET_SPONGE_DRIES_OUT = 2009;- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official amLcdo;am:Iintermediary field_31152Lnet/minecraft/class_6088;field_31152:Inamed WET_SPONGE_DRIES_OUTLnet/minecraft/world/WorldEvents;WET_SPONGE_DRIES_OUT:I
-
END_GATEWAY_SPAWNS
public 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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official anLcdo;an:Iintermediary field_31153Lnet/minecraft/class_6088;field_31153:Inamed END_GATEWAY_SPAWNSLnet/minecraft/world/WorldEvents;END_GATEWAY_SPAWNS:I
-
ENDER_DRAGON_RESURRECTED
public static final int ENDER_DRAGON_RESURRECTEDThe Ender Dragon is being resurrected.
Plays the ender dragon growl sound event.Called by
EnderDragonSpawnState#run- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aoLcdo;ao:Iintermediary field_31154Lnet/minecraft/class_6088;field_31154:Inamed ENDER_DRAGON_RESURRECTEDLnet/minecraft/world/WorldEvents;ENDER_DRAGON_RESURRECTED:I
-
ELECTRICITY_SPARKS
public 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#cleanOxidizationAround- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official apLcdo;ap:Iintermediary field_31155Lnet/minecraft/class_6088;field_31155:Inamed ELECTRICITY_SPARKSLnet/minecraft/world/WorldEvents;ELECTRICITY_SPARKS:I
-
BLOCK_WAXED
public static final int BLOCK_WAXEDA block is waxed.
Plays the block waxing sound event and spawns waxing particles.Called by
HoneycombItem#useOnBlock- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aqLcdo;aq:Iintermediary field_31156Lnet/minecraft/class_6088;field_31156:Inamed BLOCK_WAXEDLnet/minecraft/world/WorldEvents;BLOCK_WAXED:I
-
WAX_REMOVED
public static final int WAX_REMOVEDWax is removed from a block.
Spawns wax removal particles.Called by
AxeItem#useOnBlock- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official arLcdo;ar:Iintermediary field_31157Lnet/minecraft/class_6088;field_31157:Inamed WAX_REMOVEDLnet/minecraft/world/WorldEvents;WAX_REMOVED:I
-
BLOCK_SCRAPED
public static final int BLOCK_SCRAPEDA block is scraped.
Spawns scraping particles.Called by
AxeItem#useOnBlock- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official asLcdo;as:Iintermediary field_31158Lnet/minecraft/class_6088;field_31158:Inamed BLOCK_SCRAPEDLnet/minecraft/world/WorldEvents;BLOCK_SCRAPED:I
-
-
Constructor Details
-
WorldEvents
public WorldEvents()
-