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 named net/minecraft/world/WorldEventsintermediary net/minecraft/class_6088official dkk
-
Field Summary
FieldsModifier 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 plant is fertilized by a bee.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 intA cobweb is placed by the weaving effect.static final intAn item is composted in a composter.static final intA crafter crafts an item.static final intA crafter fails to craft.static final intA crafter shoots out an item.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 intstatic 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 intAn ominous item spawner spawns an item.static final intAn ominous trial spawner detects survival-mode players.static final intA phantom bites its victim.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 mace is used to execute a smash attack.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 intA trial spawner detects survival-mode players.static final intA trial spawner ejects loot.static final intA trial spawner spawns a mob.static final intA trial spawner spawns a mob.static final intA trial spawner becomes ominous.static final intA turtle egg is placed on sand.static final intA vault is activated.static final intA vault is deactivated.static final intA vault ejects loot.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 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:
- Mappings:
Namespace Name Mixin selector named DISPENSER_DISPENSESLnet/minecraft/world/WorldEvents;DISPENSER_DISPENSES:Iintermediary field_31140Lnet/minecraft/class_6088;field_31140:Iofficial aLdkk;a: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:
- Mappings:
Namespace Name Mixin selector named DISPENSER_FAILSLnet/minecraft/world/WorldEvents;DISPENSER_FAILS:Iintermediary field_31159Lnet/minecraft/class_6088;field_31159:Iofficial bLdkk;b: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:
- Mappings:
Namespace Name Mixin selector named DISPENSER_LAUNCHES_PROJECTILELnet/minecraft/world/WorldEvents;DISPENSER_LAUNCHES_PROJECTILE:Iintermediary field_31160Lnet/minecraft/class_6088;field_31160:Iofficial cLdkk;c: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:
- Mappings:
Namespace Name Mixin selector named FIREWORK_ROCKET_SHOOTSLnet/minecraft/world/WorldEvents;FIREWORK_ROCKET_SHOOTS:Iintermediary field_31162Lnet/minecraft/class_6088;field_31162:Iofficial dLdkk;d:I
-
FIRE_EXTINGUISHED
public static final int FIRE_EXTINGUISHEDFire is extinguished.
Plays the appropriate fire extinguish sound event.A
1should 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 named FIRE_EXTINGUISHEDLnet/minecraft/world/WorldEvents;FIRE_EXTINGUISHED:Iintermediary field_31167Lnet/minecraft/class_6088;field_31167:Iofficial eLdkk;e:I
-
JUKEBOX_STARTS_PLAYING
public 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
invalid reference
JukeboxBlockEntity#startPlaying- See Also:
- Mappings:
Namespace Name Mixin selector named JUKEBOX_STARTS_PLAYINGLnet/minecraft/world/WorldEvents;JUKEBOX_STARTS_PLAYING:Iintermediary field_42760Lnet/minecraft/class_6088;field_42760:Iofficial fLdkk;f:I
-
JUKEBOX_STOPS_PLAYING
public static final int JUKEBOX_STOPS_PLAYINGA jukebox stops playing a music disc.
Stops any music currently playing.Called by
invalid reference
JukeboxBlockEntity#stopPlaying- See Also:
- Mappings:
Namespace Name Mixin selector named JUKEBOX_STOPS_PLAYINGLnet/minecraft/world/WorldEvents;JUKEBOX_STOPS_PLAYING:Iintermediary field_42761Lnet/minecraft/class_6088;field_42761:Iofficial gLdkk;g: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:
- Mappings:
Namespace Name Mixin selector named GHAST_WARNSLnet/minecraft/world/WorldEvents;GHAST_WARNS:Iintermediary field_31173Lnet/minecraft/class_6088;field_31173:Iofficial hLdkk;h: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:
- Mappings:
Namespace Name Mixin selector named GHAST_SHOOTSLnet/minecraft/world/WorldEvents;GHAST_SHOOTS:Iintermediary field_31174Lnet/minecraft/class_6088;field_31174:Iofficial iLdkk;i: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:
- Mappings:
Namespace Name Mixin selector named ENDER_DRAGON_SHOOTSLnet/minecraft/world/WorldEvents;ENDER_DRAGON_SHOOTS:Iintermediary field_31175Lnet/minecraft/class_6088;field_31175:Iofficial jLdkk;j: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:
- Mappings:
Namespace Name Mixin selector named BLAZE_SHOOTSLnet/minecraft/world/WorldEvents;BLAZE_SHOOTS:Iintermediary field_31176Lnet/minecraft/class_6088;field_31176:Iofficial kLdkk;k: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:
- Mappings:
Namespace Name Mixin selector named ZOMBIE_ATTACKS_WOODEN_DOORLnet/minecraft/world/WorldEvents;ZOMBIE_ATTACKS_WOODEN_DOOR:Iintermediary field_31177Lnet/minecraft/class_6088;field_31177:Iofficial lLdkk;l: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:
- Mappings:
Namespace Name Mixin selector named ZOMBIE_ATTACKS_IRON_DOORLnet/minecraft/world/WorldEvents;ZOMBIE_ATTACKS_IRON_DOOR:Iintermediary field_31178Lnet/minecraft/class_6088;field_31178:Iofficial mLdkk;m: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:
- Mappings:
Namespace Name Mixin selector named ZOMBIE_BREAKS_WOODEN_DOORLnet/minecraft/world/WorldEvents;ZOMBIE_BREAKS_WOODEN_DOOR:Iintermediary field_31179Lnet/minecraft/class_6088;field_31179:Iofficial nLdkk;n: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:
- Mappings:
Namespace Name Mixin selector named WITHER_BREAKS_BLOCKLnet/minecraft/world/WorldEvents;WITHER_BREAKS_BLOCK:Iintermediary field_31180Lnet/minecraft/class_6088;field_31180:Iofficial oLdkk;o: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:
- Mappings:
Namespace Name Mixin selector named WITHER_SPAWNSLnet/minecraft/world/WorldEvents;WITHER_SPAWNS:Iintermediary field_31181Lnet/minecraft/class_6088;field_31181:Iofficial pLdkk;p: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:
- Mappings:
Namespace Name Mixin selector named WITHER_SHOOTSLnet/minecraft/world/WorldEvents;WITHER_SHOOTS:Iintermediary field_31182Lnet/minecraft/class_6088;field_31182:Iofficial qLdkk;q: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:
- Mappings:
Namespace Name Mixin selector named BAT_TAKES_OFFLnet/minecraft/world/WorldEvents;BAT_TAKES_OFF:Iintermediary field_31183Lnet/minecraft/class_6088;field_31183:Iofficial rLdkk;r: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:
- Mappings:
Namespace Name Mixin selector named ZOMBIE_INFECTS_VILLAGERLnet/minecraft/world/WorldEvents;ZOMBIE_INFECTS_VILLAGER:Iintermediary field_31114Lnet/minecraft/class_6088;field_31114:Iofficial sLdkk;s: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:
- Mappings:
Namespace Name Mixin selector named ZOMBIE_VILLAGER_CUREDLnet/minecraft/world/WorldEvents;ZOMBIE_VILLAGER_CURED:Iintermediary field_31115Lnet/minecraft/class_6088;field_31115:Iofficial tLdkk;t: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:
- Mappings:
Namespace Name Mixin selector named ENDER_DRAGON_DIESLnet/minecraft/world/WorldEvents;ENDER_DRAGON_DIES:Iintermediary field_31116Lnet/minecraft/class_6088;field_31116:Iofficial uLdkk;u: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:
- Mappings:
Namespace Name Mixin selector named ANVIL_DESTROYEDLnet/minecraft/world/WorldEvents;ANVIL_DESTROYED:Iintermediary field_31117Lnet/minecraft/class_6088;field_31117:Iofficial vLdkk;v:I
-
ANVIL_USED
public 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 named ANVIL_USEDLnet/minecraft/world/WorldEvents;ANVIL_USED:Iintermediary field_31118Lnet/minecraft/class_6088;field_31118:Iofficial wLdkk;w: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:
- Mappings:
Namespace Name Mixin selector named ANVIL_LANDSLnet/minecraft/world/WorldEvents;ANVIL_LANDS:Iintermediary field_31119Lnet/minecraft/class_6088;field_31119:Iofficial xLdkk;x:I
-
TRAVEL_THROUGH_PORTAL
public 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
invalid reference
ServerPlayerEntity#moveToWorld- See Also:
- Mappings:
Namespace Name Mixin selector named TRAVEL_THROUGH_PORTALLnet/minecraft/world/WorldEvents;TRAVEL_THROUGH_PORTAL:Iintermediary field_31120Lnet/minecraft/class_6088;field_31120:Iofficial yLdkk;y: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:
- Mappings:
Namespace Name Mixin selector named CHORUS_FLOWER_GROWSLnet/minecraft/world/WorldEvents;CHORUS_FLOWER_GROWS:Iintermediary field_31121Lnet/minecraft/class_6088;field_31121:Iofficial zLdkk;z: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:
- Mappings:
Namespace Name Mixin selector named CHORUS_FLOWER_DIESLnet/minecraft/world/WorldEvents;CHORUS_FLOWER_DIES:Iintermediary field_31122Lnet/minecraft/class_6088;field_31122:Iofficial ALdkk;A: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:
- Mappings:
Namespace Name Mixin selector named BREWING_STAND_BREWSLnet/minecraft/world/WorldEvents;BREWING_STAND_BREWS:Iintermediary field_31123Lnet/minecraft/class_6088;field_31123:Iofficial BLdkk;B: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:
- Mappings:
Namespace Name Mixin selector named END_PORTAL_OPENEDLnet/minecraft/world/WorldEvents;END_PORTAL_OPENED:Iintermediary field_31126Lnet/minecraft/class_6088;field_31126:Iofficial CLdkk;C: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:
- Mappings:
Namespace Name Mixin selector named PHANTOM_BITESLnet/minecraft/world/WorldEvents;PHANTOM_BITES:Iintermediary field_31127Lnet/minecraft/class_6088;field_31127:Iofficial DLdkk;D: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:
- Mappings:
Namespace Name Mixin selector named ZOMBIE_CONVERTS_TO_DROWNEDLnet/minecraft/world/WorldEvents;ZOMBIE_CONVERTS_TO_DROWNED:Iintermediary field_31128Lnet/minecraft/class_6088;field_31128:Iofficial ELdkk;E: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:
- Mappings:
Namespace Name Mixin selector named HUSK_CONVERTS_TO_ZOMBIELnet/minecraft/world/WorldEvents;HUSK_CONVERTS_TO_ZOMBIE:Iintermediary field_31129Lnet/minecraft/class_6088;field_31129:Iofficial FLdkk;F:I
-
GRINDSTONE_USED
public static final int GRINDSTONE_USEDA grindstone is used.
Plays the grindstone used sound event.Called by
GrindstoneScreenHandler- See Also:
- Mappings:
Namespace Name Mixin selector named GRINDSTONE_USEDLnet/minecraft/world/WorldEvents;GRINDSTONE_USED:Iintermediary field_31130Lnet/minecraft/class_6088;field_31130:Iofficial GLdkk;G: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:
- Mappings:
Namespace Name Mixin selector named LECTERN_BOOK_PAGE_TURNEDLnet/minecraft/world/WorldEvents;LECTERN_BOOK_PAGE_TURNED:Iintermediary field_31131Lnet/minecraft/class_6088;field_31131:Iofficial HLdkk;H: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:
- Mappings:
Namespace Name Mixin selector named SMITHING_TABLE_USEDLnet/minecraft/world/WorldEvents;SMITHING_TABLE_USED:Iintermediary field_31132Lnet/minecraft/class_6088;field_31132:Iofficial ILdkk;I:I
-
POINTED_DRIPSTONE_LANDS
public 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 named POINTED_DRIPSTONE_LANDSLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_LANDS:Iintermediary field_31133Lnet/minecraft/class_6088;field_31133:Iofficial JLdkk;J:I
-
POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON
public 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 named POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRONLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON:Iintermediary field_31134Lnet/minecraft/class_6088;field_31134:Iofficial KLdkk;K:I
-
POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON
public 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 named POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRONLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON:Iintermediary field_31135Lnet/minecraft/class_6088;field_31135:Iofficial LLdkk;L: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:
- Mappings:
Namespace Name Mixin selector named SKELETON_CONVERTS_TO_STRAYLnet/minecraft/world/WorldEvents;SKELETON_CONVERTS_TO_STRAY:Iintermediary field_31136Lnet/minecraft/class_6088;field_31136:Iofficial MLdkk;M:I
-
CRAFTER_CRAFTS
public static final int CRAFTER_CRAFTSA crafter crafts an item.
Plays the crafter craft sound event.Called by
CrafterBlock#transferOrSpawnStack- See Also:
- Mappings:
Namespace Name Mixin selector named CRAFTER_CRAFTSLnet/minecraft/world/WorldEvents;CRAFTER_CRAFTS:Iintermediary field_46805Lnet/minecraft/class_6088;field_46805:Iofficial NLdkk;N:I
-
CRAFTER_FAILS
public static final int CRAFTER_FAILSA crafter fails to craft.
Plays the crafter fail sound event.Called by
CrafterBlock#craft- See Also:
- Mappings:
Namespace Name Mixin selector named CRAFTER_FAILSLnet/minecraft/world/WorldEvents;CRAFTER_FAILS:Iintermediary field_46806Lnet/minecraft/class_6088;field_46806:Iofficial OLdkk;O:I
-
field_51787
public static final int field_51787- See Also:
- Mappings:
Namespace Name Mixin selector named field_51787Lnet/minecraft/world/WorldEvents;field_51787:Iintermediary field_51787Lnet/minecraft/class_6088;field_51787:Iofficial PLdkk;P: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:
- Mappings:
Namespace Name Mixin selector named COMPOSTER_USEDLnet/minecraft/world/WorldEvents;COMPOSTER_USED:Iintermediary field_31137Lnet/minecraft/class_6088;field_31137:Iofficial QLdkk;Q: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:
- Mappings:
Namespace Name Mixin selector named LAVA_EXTINGUISHEDLnet/minecraft/world/WorldEvents;LAVA_EXTINGUISHED:Iintermediary field_31138Lnet/minecraft/class_6088;field_31138:Iofficial RLdkk;R: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:
- Mappings:
Namespace Name Mixin selector named REDSTONE_TORCH_BURNS_OUTLnet/minecraft/world/WorldEvents;REDSTONE_TORCH_BURNS_OUT:Iintermediary field_31139Lnet/minecraft/class_6088;field_31139:Iofficial SLdkk;S: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:
- Mappings:
Namespace Name Mixin selector named END_PORTAL_FRAME_FILLEDLnet/minecraft/world/WorldEvents;END_PORTAL_FRAME_FILLED:Iintermediary field_31141Lnet/minecraft/class_6088;field_31141:Iofficial TLdkk;T:I
-
POINTED_DRIPSTONE_DRIPS
public 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 named POINTED_DRIPSTONE_DRIPSLnet/minecraft/world/WorldEvents;POINTED_DRIPSTONE_DRIPS:Iintermediary field_31142Lnet/minecraft/class_6088;field_31142:Iofficial ULdkk;U:I
-
BONE_MEAL_USED
public static final int BONE_MEAL_USEDBone meal is used.
Plays the bone meal item used sound event and spawns happy villager particles.The amount of particles to spawn must be supplied as extra data.
Called by
BoneMealItem#useOnBlock, an anonymous class inDispenserBehavior#registerDefaults, andBoneMealTask#keepRunning- See Also:
- Mappings:
Namespace Name Mixin selector named BONE_MEAL_USEDLnet/minecraft/world/WorldEvents;BONE_MEAL_USED:Iintermediary field_33511Lnet/minecraft/class_6088;field_33511:Iofficial VLdkk;V:I
-
DISPENSER_ACTIVATED
public static final int DISPENSER_ACTIVATEDA dispenser is activated.
Shoots 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 named DISPENSER_ACTIVATEDLnet/minecraft/world/WorldEvents;DISPENSER_ACTIVATED:Iintermediary field_31143Lnet/minecraft/class_6088;field_31143:Iofficial WLdkk;W: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:
- Mappings:
Namespace Name Mixin selector named BLOCK_BROKENLnet/minecraft/world/WorldEvents;BLOCK_BROKEN:Iintermediary field_31144Lnet/minecraft/class_6088;field_31144:Iofficial XLdkk;X: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:
- Mappings:
Namespace Name Mixin selector named SPLASH_POTION_SPLASHEDLnet/minecraft/world/WorldEvents;SPLASH_POTION_SPLASHED:Iintermediary field_31145Lnet/minecraft/class_6088;field_31145:Iofficial YLdkk;Y: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:
- Mappings:
Namespace Name Mixin selector named EYE_OF_ENDER_BREAKSLnet/minecraft/world/WorldEvents;EYE_OF_ENDER_BREAKS:Iintermediary field_31146Lnet/minecraft/class_6088;field_31146:Iofficial ZLdkk;Z: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:
- Mappings:
Namespace Name Mixin selector named SPAWNER_SPAWNS_MOBLnet/minecraft/world/WorldEvents;SPAWNER_SPAWNS_MOB:Iintermediary field_31147Lnet/minecraft/class_6088;field_31147:Iofficial aaLdkk;aa: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:
- Mappings:
Namespace Name Mixin selector named DRAGON_BREATH_CLOUD_SPAWNSLnet/minecraft/world/WorldEvents;DRAGON_BREATH_CLOUD_SPAWNS:Iintermediary field_31149Lnet/minecraft/class_6088;field_31149:Iofficial abLdkk;ab: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:
- Mappings:
Namespace Name Mixin selector named INSTANT_SPLASH_POTION_SPLASHEDLnet/minecraft/world/WorldEvents;INSTANT_SPLASH_POTION_SPLASHED:Iintermediary field_31150Lnet/minecraft/class_6088;field_31150:Iofficial acLdkk;ac: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:
- Mappings:
Namespace Name Mixin selector named ENDER_DRAGON_BREAKS_BLOCKLnet/minecraft/world/WorldEvents;ENDER_DRAGON_BREAKS_BLOCK:Iintermediary field_31151Lnet/minecraft/class_6088;field_31151:Iofficial adLdkk;ad:I
-
WET_SPONGE_DRIES_OUT
public 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 named WET_SPONGE_DRIES_OUTLnet/minecraft/world/WorldEvents;WET_SPONGE_DRIES_OUT:Iintermediary field_31152Lnet/minecraft/class_6088;field_31152:Iofficial aeLdkk;ae:I
-
CRAFTER_SHOOTS
public static final int CRAFTER_SHOOTSA crafter shoots out an item.
Shoots white smoke particles.The ordinal direction the crafter is facing must be supplied as extra data.
Called by
invalid reference
CrafterBlock#transferOrSpawnStack- See Also:
- Mappings:
Namespace Name Mixin selector named CRAFTER_SHOOTSLnet/minecraft/world/WorldEvents;CRAFTER_SHOOTS:Iintermediary field_46807Lnet/minecraft/class_6088;field_46807:Iofficial afLdkk;af:I
-
BEE_FERTILIZES_PLANT
public static final int BEE_FERTILIZES_PLANTA plant is fertilized by a bee.
Spawns happy villager particles.The amount of particles to spawn must be supplied as extra data.
Called by
BeeEntity.GrowCropsGoal#tick- See Also:
- Mappings:
Namespace Name Mixin selector named BEE_FERTILIZES_PLANTLnet/minecraft/world/WorldEvents;BEE_FERTILIZES_PLANT:Iintermediary field_47837Lnet/minecraft/class_6088;field_47837:Iofficial agLdkk;ag:I
-
TURTLE_EGG_PLACED
public static final int TURTLE_EGG_PLACEDA turtle egg is placed on sand.
Spawns happy villager particles.The amount of particles to spawn must be supplied as extra data.
Called by
TurtleEggBlock#onBlockAdded- See Also:
- Mappings:
Namespace Name Mixin selector named TURTLE_EGG_PLACEDLnet/minecraft/world/WorldEvents;TURTLE_EGG_PLACED:Iintermediary field_47838Lnet/minecraft/class_6088;field_47838:Iofficial ahLdkk;ah:I
-
SMASH_ATTACK
public static final int SMASH_ATTACKA mace is used to execute a smash attack.
Spawns dust pillar particles.The amount of particles to spawn must be supplied as extra data.
- See Also:
- Mappings:
Namespace Name Mixin selector named SMASH_ATTACKLnet/minecraft/world/WorldEvents;SMASH_ATTACK:Iintermediary field_50168Lnet/minecraft/class_6088;field_50168:Iofficial aiLdkk;ai: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:
- Mappings:
Namespace Name Mixin selector named END_GATEWAY_SPAWNSLnet/minecraft/world/WorldEvents;END_GATEWAY_SPAWNS:Iintermediary field_31153Lnet/minecraft/class_6088;field_31153:Iofficial ajLdkk;aj: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:
- Mappings:
Namespace Name Mixin selector named ENDER_DRAGON_RESURRECTEDLnet/minecraft/world/WorldEvents;ENDER_DRAGON_RESURRECTED:Iintermediary field_31154Lnet/minecraft/class_6088;field_31154:Iofficial akLdkk;ak: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#cleanOxidationAround- See Also:
- Mappings:
Namespace Name Mixin selector named ELECTRICITY_SPARKSLnet/minecraft/world/WorldEvents;ELECTRICITY_SPARKS:Iintermediary field_31155Lnet/minecraft/class_6088;field_31155:Iofficial alLdkk;al: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:
- Mappings:
Namespace Name Mixin selector named BLOCK_WAXEDLnet/minecraft/world/WorldEvents;BLOCK_WAXED:Iintermediary field_31156Lnet/minecraft/class_6088;field_31156:Iofficial amLdkk;am:I
-
WAX_REMOVED
public 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 named WAX_REMOVEDLnet/minecraft/world/WorldEvents;WAX_REMOVED:Iintermediary field_31157Lnet/minecraft/class_6088;field_31157:Iofficial anLdkk;an:I
-
BLOCK_SCRAPED
public static final int BLOCK_SCRAPEDA block is scraped.
Spawns scraping particles.Called by
AxeItem#useOnBlock- See Also:
- Mappings:
Namespace Name Mixin selector named BLOCK_SCRAPEDLnet/minecraft/world/WorldEvents;BLOCK_SCRAPED:Iintermediary field_31158Lnet/minecraft/class_6088;field_31158:Iofficial aoLdkk;ao:I
-
SCULK_CHARGE
public static final int SCULK_CHARGESculk releases a charge.
Spawns sculk charge particles.Called by
SculkSpreadManager#tick- See Also:
- Mappings:
Namespace Name Mixin selector named SCULK_CHARGELnet/minecraft/world/WorldEvents;SCULK_CHARGE:Iintermediary field_37586Lnet/minecraft/class_6088;field_37586:Iofficial apLdkk;ap:I
-
SCULK_SHRIEKS
public 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 named SCULK_SHRIEKSLnet/minecraft/world/WorldEvents;SCULK_SHRIEKS:Iintermediary field_38228Lnet/minecraft/class_6088;field_38228:Iofficial aqLdkk;aq:I
-
BLOCK_FINISHED_BRUSHING
public 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 named BLOCK_FINISHED_BRUSHINGLnet/minecraft/world/WorldEvents;BLOCK_FINISHED_BRUSHING:Iintermediary field_42759Lnet/minecraft/class_6088;field_42759:Iofficial arLdkk;ar:I
-
SNIFFER_EGG_CRACKS
public 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 named SNIFFER_EGG_CRACKSLnet/minecraft/world/WorldEvents;SNIFFER_EGG_CRACKS:Iintermediary field_43238Lnet/minecraft/class_6088;field_43238:Iofficial asLdkk;as:I
-
TRIAL_SPAWNER_SPAWNS_MOB
public static final int TRIAL_SPAWNER_SPAWNS_MOBA trial spawner spawns a mob. Triggered at the position of the spawner.
Spawns mob spawn particles.- See Also:
- Mappings:
Namespace Name Mixin selector named TRIAL_SPAWNER_SPAWNS_MOBLnet/minecraft/world/WorldEvents;TRIAL_SPAWNER_SPAWNS_MOB:Iintermediary field_47340Lnet/minecraft/class_6088;field_47340:Iofficial atLdkk;at:I
-
TRIAL_SPAWNER_SPAWNS_MOB_AT_SPAWN_POS
public static final int TRIAL_SPAWNER_SPAWNS_MOB_AT_SPAWN_POSA trial spawner spawns a mob. Triggered at the position of the spawned mob.
Plays the spawn sound and spawns mob spawn particles.- See Also:
- Mappings:
Namespace Name Mixin selector named TRIAL_SPAWNER_SPAWNS_MOB_AT_SPAWN_POSLnet/minecraft/world/WorldEvents;TRIAL_SPAWNER_SPAWNS_MOB_AT_SPAWN_POS:Iintermediary field_47341Lnet/minecraft/class_6088;field_47341:Iofficial auLdkk;au:I
-
TRIAL_SPAWNER_DETECTS_PLAYER
public static final int TRIAL_SPAWNER_DETECTS_PLAYERA trial spawner detects survival-mode players.
Plays the detection sound and spawns detection particles.The extra data denotes the number of players.
- See Also:
- Mappings:
Namespace Name Mixin selector named TRIAL_SPAWNER_DETECTS_PLAYERLnet/minecraft/world/WorldEvents;TRIAL_SPAWNER_DETECTS_PLAYER:Iintermediary field_47342Lnet/minecraft/class_6088;field_47342:Iofficial avLdkk;av:I
-
TRIAL_SPAWNER_EJECTS_ITEM
public static final int TRIAL_SPAWNER_EJECTS_ITEMA trial spawner ejects loot.
Plays the ejection sound and spawns ejection particles.- See Also:
- Mappings:
Namespace Name Mixin selector named TRIAL_SPAWNER_EJECTS_ITEMLnet/minecraft/world/WorldEvents;TRIAL_SPAWNER_EJECTS_ITEM:Iintermediary field_47343Lnet/minecraft/class_6088;field_47343:Iofficial awLdkk;aw:I
-
VAULT_ACTIVATES
public static final int VAULT_ACTIVATESA vault is activated.
Plays the activate sound and spawns smoke and small flame particles.Called by
VaultState.ACTIVE.- See Also:
- Mappings:
Namespace Name Mixin selector named VAULT_ACTIVATESLnet/minecraft/world/WorldEvents;VAULT_ACTIVATES:Iintermediary field_48852Lnet/minecraft/class_6088;field_48852:Iofficial axLdkk;ax:I
-
VAULT_DEACTIVATES
public static final int VAULT_DEACTIVATESA vault is deactivated.
Plays the deactivate sound and spawns small flame particles.Called by
VaultState.INACTIVE.- See Also:
- Mappings:
Namespace Name Mixin selector named VAULT_DEACTIVATESLnet/minecraft/world/WorldEvents;VAULT_DEACTIVATES:Iintermediary field_48853Lnet/minecraft/class_6088;field_48853:Iofficial ayLdkk;ay:I
-
VAULT_EJECTS_ITEM
public static final int VAULT_EJECTS_ITEMA vault ejects loot.
Spawns ejection particles.- See Also:
- Mappings:
Namespace Name Mixin selector named VAULT_EJECTS_ITEMLnet/minecraft/world/WorldEvents;VAULT_EJECTS_ITEM:Iintermediary field_48854Lnet/minecraft/class_6088;field_48854:Iofficial azLdkk;az:I
-
COBWEB_WEAVED
public static final int COBWEB_WEAVEDA cobweb is placed by the weaving effect.
Spawns poof particles and plays the cobweb place sound.- See Also:
- Mappings:
Namespace Name Mixin selector named COBWEB_WEAVEDLnet/minecraft/world/WorldEvents;COBWEB_WEAVED:Iintermediary field_50164Lnet/minecraft/class_6088;field_50164:Iofficial aALdkk;aA:I
-
OMINOUS_TRIAL_SPAWNER_DETECTS_PLAYER
public static final int OMINOUS_TRIAL_SPAWNER_DETECTS_PLAYERAn ominous trial spawner detects survival-mode players.
Plays the detection sound and spawns detection particles.The extra data denotes the number of players.
- See Also:
- Mappings:
Namespace Name Mixin selector named OMINOUS_TRIAL_SPAWNER_DETECTS_PLAYERLnet/minecraft/world/WorldEvents;OMINOUS_TRIAL_SPAWNER_DETECTS_PLAYER:Iintermediary field_50165Lnet/minecraft/class_6088;field_50165:Iofficial aBLdkk;aB:I
-
TRIAL_SPAWNER_TURNS_OMINOUS
public static final int TRIAL_SPAWNER_TURNS_OMINOUSA trial spawner becomes ominous.
Plays the activate sound and spawns both detection and omen particles.If a
0is passed as extra data, the activate sound will be played at 0.3 volume.
Otherwise, it is played at full volume.Called by
TrialSpawnerLogic.setOminous(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos), andTrialSpawnerData.updatePlayers(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.block.spawner.TrialSpawnerLogic).- See Also:
- Mappings:
Namespace Name Mixin selector named TRIAL_SPAWNER_TURNS_OMINOUSLnet/minecraft/world/WorldEvents;TRIAL_SPAWNER_TURNS_OMINOUS:Iintermediary field_50166Lnet/minecraft/class_6088;field_50166:Iofficial aCLdkk;aC:I
-
OMINOUS_ITEM_SPAWNER_SPAWNS_ITEM
public static final int OMINOUS_ITEM_SPAWNER_SPAWNS_ITEMAn ominous item spawner spawns an item.
Plays the item spawn sound and spawns mob spawn particles.Called by
OminousItemSpawnerEntity.spawnItem()- See Also:
- Mappings:
Namespace Name Mixin selector named OMINOUS_ITEM_SPAWNER_SPAWNS_ITEMLnet/minecraft/world/WorldEvents;OMINOUS_ITEM_SPAWNER_SPAWNS_ITEM:Iintermediary field_50167Lnet/minecraft/class_6088;field_50167:Iofficial aDLdkk;aD:I
-
-
Constructor Details
-
WorldEvents
public WorldEvents()
-