Class WorldEvents

java.lang.Object
net.minecraft.world.WorldEvents

public class WorldEvents extends Object
Constants of World Event IDs.

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 cgr
intermediary net/minecraft/class_6088
named net/minecraft/world/WorldEvents
  • Field Details

    • DISPENSER_DISPENSES

      public static final int DISPENSER_DISPENSES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcgr;a:I
      intermediary field_31140 Lnet/minecraft/class_6088;field_31140:I
      named DISPENSER_DISPENSES Lnet/minecraft/world/WorldEvents;DISPENSER_DISPENSES:I
    • DISPENSER_FAILS

      public static final int DISPENSER_FAILS
      A Dispenser fails to dispense an item.
      Plays the dispenser fail sound event.

      Called by DispenserBlock#dispense, DropperBlock#dispense, and FallibleItemDispenserBehavior#playSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcgr;b:I
      intermediary field_31159 Lnet/minecraft/class_6088;field_31159:I
      named DISPENSER_FAILS Lnet/minecraft/world/WorldEvents;DISPENSER_FAILS:I
    • DISPENSER_LAUNCHES_PROJECTILE

      public static final int DISPENSER_LAUNCHES_PROJECTILE
      A Dispenser launches a projectile.
      Plays the dispenser launch sound event.

      Called by ProjectileDispenserBehavior#playSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcgr;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_LAUNCHES

      public static final int EYE_OF_ENDER_LAUNCHES
      An 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 Lcgr;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_SHOOTS

      public static final int FIREWORK_ROCKET_SHOOTS
      A Firework Rocket is shot.
      Plays the firework shoot sound event.

      Called by DispenserBehavior

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lcgr;e:I
      intermediary field_31162 Lnet/minecraft/class_6088;field_31162:I
      named FIREWORK_ROCKET_SHOOTS Lnet/minecraft/world/WorldEvents;FIREWORK_ROCKET_SHOOTS:I
    • IRON_DOOR_OPENS

      public static final int IRON_DOOR_OPENS
      An Iron Door is opened.
      Plays the iron door opening sound event.

      Called by DoorBlock#playOpenCloseSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lcgr;f:I
      intermediary field_31163 Lnet/minecraft/class_6088;field_31163:I
      named IRON_DOOR_OPENS Lnet/minecraft/world/WorldEvents;IRON_DOOR_OPENS:I
    • WOODEN_DOOR_OPENS

      public static final int WOODEN_DOOR_OPENS
      A Wooden Door is opened.
      Plays the wooden door opening sound event.

      Called by DoorBlock#onUse, and DoorBlock#playOpenCloseSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lcgr;g:I
      intermediary field_31164 Lnet/minecraft/class_6088;field_31164:I
      named WOODEN_DOOR_OPENS Lnet/minecraft/world/WorldEvents;WOODEN_DOOR_OPENS:I
    • WOODEN_TRAPDOOR_OPENS

      public static final int WOODEN_TRAPDOOR_OPENS
      A Wooden Trapdoor is opened.
      Plays the wooden trapdoor opening sound event.

      Called by TrapdoorBlock#playToggleSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lcgr;h:I
      intermediary field_31165 Lnet/minecraft/class_6088;field_31165:I
      named WOODEN_TRAPDOOR_OPENS Lnet/minecraft/world/WorldEvents;WOODEN_TRAPDOOR_OPENS:I
    • FENCE_GATE_OPENS

      public static final int FENCE_GATE_OPENS
      A Fence Gate is opened.
      Plays the fence gate opening sound event.

      Called by FenceGateBlock#onUse, and FenceGateBlock#neighborUpdate

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lcgr;i:I
      intermediary field_31166 Lnet/minecraft/class_6088;field_31166:I
      named FENCE_GATE_OPENS Lnet/minecraft/world/WorldEvents;FENCE_GATE_OPENS:I
    • FIRE_EXTINGUISHED

      public static final int FIRE_EXTINGUISHED
      Fire is extinguished.
      Plays the appropriate fire extinguish sound event.
      A 1 should be supplied as extra data if an entity was extinguished, and 0 for a block.

      Called by AbstractFireBlock#onBreak, PotionEntity#extinguishFire, and ShovelItem#useOnBlock

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lcgr;j:I
      intermediary field_31167 Lnet/minecraft/class_6088;field_31167:I
      named FIRE_EXTINGUISHED Lnet/minecraft/world/WorldEvents;FIRE_EXTINGUISHED:I
    • MUSIC_DISC_PLAYED

      public static final int MUSIC_DISC_PLAYED
      A Music Disc is played.
      Plays the appropriate music.
      The Raw ID of the Music Disc item must be supplied as extra data.
      A 0 should be passed to stop music.

      Called by MusicDiscItem#useOnBlock, and JukeboxBlock#removeRecord

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lcgr;k:I
      intermediary field_31168 Lnet/minecraft/class_6088;field_31168:I
      named MUSIC_DISC_PLAYED Lnet/minecraft/world/WorldEvents;MUSIC_DISC_PLAYED:I
    • IRON_DOOR_CLOSES

      public static final int IRON_DOOR_CLOSES
      An Iron Door is closed.
      Plays the iron door closing sound event.

      Called by DoorBlock#playOpenCloseSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lcgr;l:I
      intermediary field_31169 Lnet/minecraft/class_6088;field_31169:I
      named IRON_DOOR_CLOSES Lnet/minecraft/world/WorldEvents;IRON_DOOR_CLOSES:I
    • WOODEN_DOOR_CLOSES

      public static final int WOODEN_DOOR_CLOSES
      A Wooden Door is closed.
      Plays the wooden door closing sound event.

      Called by DoorBlock#onUse, and DoorBlock#playOpenCloseSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lcgr;m:I
      intermediary field_31170 Lnet/minecraft/class_6088;field_31170:I
      named WOODEN_DOOR_CLOSES Lnet/minecraft/world/WorldEvents;WOODEN_DOOR_CLOSES:I
    • WOODEN_TRAPDOOR_CLOSES

      public static final int WOODEN_TRAPDOOR_CLOSES
      A Wooden Trapdoor is closed.
      Plays the wooden trapdoor closing sound event.

      Called by TrapdoorBlock#playToggleSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lcgr;n:I
      intermediary field_31171 Lnet/minecraft/class_6088;field_31171:I
      named WOODEN_TRAPDOOR_CLOSES Lnet/minecraft/world/WorldEvents;WOODEN_TRAPDOOR_CLOSES:I
    • FENCE_GATE_CLOSES

      public static final int FENCE_GATE_CLOSES
      A Fence Gate is closed.
      Plays the fence gate closing sound event.

      Called by FenceGateBlock#onUse, and FenceGateBlock#neighborUpdate

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o Lcgr;o:I
      intermediary field_31172 Lnet/minecraft/class_6088;field_31172:I
      named FENCE_GATE_CLOSES Lnet/minecraft/world/WorldEvents;FENCE_GATE_CLOSES:I
    • GHAST_WARNS

      public static final int GHAST_WARNS
      A Ghast warns its victim.
      Plays the ghast warn sound event.

      Called by GhastEntity.ShootFireballGoal#tick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official p Lcgr;p:I
      intermediary field_31173 Lnet/minecraft/class_6088;field_31173:I
      named GHAST_WARNS Lnet/minecraft/world/WorldEvents;GHAST_WARNS:I
    • GHAST_SHOOTS

      public static final int GHAST_SHOOTS
      A Ghast shoots a fireball.
      Plays the ghast shoot sound event.

      Called by GhastEntity.ShootFireballGoal#tick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official q Lcgr;q:I
      intermediary field_31174 Lnet/minecraft/class_6088;field_31174:I
      named GHAST_SHOOTS Lnet/minecraft/world/WorldEvents;GHAST_SHOOTS:I
    • ENDER_DRAGON_SHOOTS

      public static final int ENDER_DRAGON_SHOOTS
      An Ender Dragon shoots a fireball.
      Plays the ender dragon shoot sound event.

      Called by StrafePlayerPhase#serverTick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Lcgr;r:I
      intermediary field_31175 Lnet/minecraft/class_6088;field_31175:I
      named ENDER_DRAGON_SHOOTS Lnet/minecraft/world/WorldEvents;ENDER_DRAGON_SHOOTS:I
    • BLAZE_SHOOTS

      public static final int BLAZE_SHOOTS
      A Blaze shoots a fireball or a Fire Charge is shot by a dispenser.
      Plays the blaze shoot sound event.

      Called by BlazeEntity.ShootFireballGoal#tick, and DispenserBehavior

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lcgr;s:I
      intermediary field_31176 Lnet/minecraft/class_6088;field_31176:I
      named BLAZE_SHOOTS Lnet/minecraft/world/WorldEvents;BLAZE_SHOOTS:I
    • ZOMBIE_ATTACKS_WOODEN_DOOR

      public static final int ZOMBIE_ATTACKS_WOODEN_DOOR
      A 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 t Lcgr;t: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_DOOR

      public static final int ZOMBIE_ATTACKS_IRON_DOOR
      A Zombie attacks an Iron Door.
      Plays the zombie attacking iron door sound event.
      Goes unused.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lcgr;u: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_DOOR

      public static final int ZOMBIE_BREAKS_WOODEN_DOOR
      A 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 v Lcgr;v: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_BLOCK

      public static final int WITHER_BREAKS_BLOCK
      A Wither breaks a block.
      Plays the wither breaking block sound event.

      Called by WitherEntity#mobTick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official w Lcgr;w:I
      intermediary field_31180 Lnet/minecraft/class_6088;field_31180:I
      named WITHER_BREAKS_BLOCK Lnet/minecraft/world/WorldEvents;WITHER_BREAKS_BLOCK:I
    • WITHER_SPAWNS

      public static final int WITHER_SPAWNS
      A 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 x Lcgr;x:I
      intermediary field_31181 Lnet/minecraft/class_6088;field_31181:I
      named WITHER_SPAWNS Lnet/minecraft/world/WorldEvents;WITHER_SPAWNS:I
    • WITHER_SHOOTS

      public static final int WITHER_SHOOTS
      A Wither shoots a wither skull.
      Plays the wither shoot sound event.

      Called by WitherEntity#shootSkullAt

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official y Lcgr;y:I
      intermediary field_31182 Lnet/minecraft/class_6088;field_31182:I
      named WITHER_SHOOTS Lnet/minecraft/world/WorldEvents;WITHER_SHOOTS:I
    • BAT_TAKES_OFF

      public static final int BAT_TAKES_OFF
      A Bat takes off.
      Plays the bat take off sound event.

      Called by BatEntity#mobTick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lcgr;z: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_VILLAGER

      public static final int ZOMBIE_INFECTS_VILLAGER
      A Zombie infects a Villager.
      Plays the zombie infect villager sound event.

      Called by ZombieEntity#onKilledOther

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official A Lcgr;A: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_CURED

      public static final int ZOMBIE_VILLAGER_CURED
      A Zombie Villager is cured.
      Plays the zombie villager cured sound event.

      Called by ZombieVillagerEntity#finishConversion

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official B Lcgr;B: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_DIES

      public static final int ENDER_DRAGON_DIES
      An 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 C Lcgr;C:I
      intermediary field_31116 Lnet/minecraft/class_6088;field_31116:I
      named ENDER_DRAGON_DIES Lnet/minecraft/world/WorldEvents;ENDER_DRAGON_DIES:I
    • ANVIL_DESTROYED

      public static final int ANVIL_DESTROYED
      An Anvil is destroyed from damage.
      Plays the anvil destroyed sound event.

      Called by AnvilBlock#onDestroyedOnLanding, and AnvilScreenHandler#onTakeOutput

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official D Lcgr;D:I
      intermediary field_31117 Lnet/minecraft/class_6088;field_31117:I
      named ANVIL_DESTROYED Lnet/minecraft/world/WorldEvents;ANVIL_DESTROYED:I
    • ANVIL_USED

      public static final int ANVIL_USED
      An Anvil is used.
      Plays the anvil used sound event.

      Called by AnvilScreenHandler#onTakeOutput

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official E Lcgr;E:I
      intermediary field_31118 Lnet/minecraft/class_6088;field_31118:I
      named ANVIL_USED Lnet/minecraft/world/WorldEvents;ANVIL_USED:I
    • ANVIL_LANDS

      public static final int ANVIL_LANDS
      An Anvil lands after falling.
      Plays the anvil landing sound event.

      Called by AnvilBlock#onLanding

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official F Lcgr;F:I
      intermediary field_31119 Lnet/minecraft/class_6088;field_31119:I
      named ANVIL_LANDS Lnet/minecraft/world/WorldEvents;ANVIL_LANDS:I
    • TRAVEL_THROUGH_PORTAL

      public static final int TRAVEL_THROUGH_PORTAL
      A Portal is travelled 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 G Lcgr;G: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_GROWS

      public static final int CHORUS_FLOWER_GROWS
      A Chorus Flower grows.
      Plays the chorus flower growing sound event.

      Called by ChorusFlowerBlock#grow

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official H Lcgr;H: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_DIES

      public static final int CHORUS_FLOWER_DIES
      A Chorus Flower dies.
      Plays the chorus flower death sound event.

      Called by ChorusFlowerBlock#die

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official I Lcgr;I: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_BREWS

      public static final int BREWING_STAND_BREWS
      A Brewing Stand brews.
      Plays the brewing stand brewing sound event.

      Called by BrewingStandBlockEntity#craft

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official J Lcgr;J:I
      intermediary field_31123 Lnet/minecraft/class_6088;field_31123:I
      named BREWING_STAND_BREWS Lnet/minecraft/world/WorldEvents;BREWING_STAND_BREWS:I
    • IRON_TRAPDOOR_CLOSES

      public static final int IRON_TRAPDOOR_CLOSES
      An Iron Trapdoor closes.
      Plays the iron trapdoor closing sound event.

      Called by TrapdoorBlock#playToggleSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official K Lcgr;K:I
      intermediary field_31124 Lnet/minecraft/class_6088;field_31124:I
      named IRON_TRAPDOOR_CLOSES Lnet/minecraft/world/WorldEvents;IRON_TRAPDOOR_CLOSES:I
    • IRON_TRAPDOOR_OPENS

      public static final int IRON_TRAPDOOR_OPENS
      An Iron Trapdoor opens.
      Plays the iron trapdoor opening sound event.

      Called by TrapdoorBlock#playToggleSound

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official L Lcgr;L:I
      intermediary field_31125 Lnet/minecraft/class_6088;field_31125:I
      named IRON_TRAPDOOR_OPENS Lnet/minecraft/world/WorldEvents;IRON_TRAPDOOR_OPENS:I
    • END_PORTAL_OPENED

      public static final int END_PORTAL_OPENED
      An 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 M Lcgr;M:I
      intermediary field_31126 Lnet/minecraft/class_6088;field_31126:I
      named END_PORTAL_OPENED Lnet/minecraft/world/WorldEvents;END_PORTAL_OPENED:I
    • PHANTOM_BITES

      public static final int PHANTOM_BITES
      A Phantom bites its victim.
      Plays the phantom bite sound event.

      Called by PhantomEntity.SwoopMovementGoal#tick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official N Lcgr;N:I
      intermediary field_31127 Lnet/minecraft/class_6088;field_31127:I
      named PHANTOM_BITES Lnet/minecraft/world/WorldEvents;PHANTOM_BITES:I
    • ZOMBIE_CONVERTS_TO_DROWNED

      public static final int ZOMBIE_CONVERTS_TO_DROWNED
      A 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 O Lcgr;O: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_ZOMBIE

      public static final int HUSK_CONVERTS_TO_ZOMBIE
      A 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 P Lcgr;P: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_USED

      public static final int GRINDSTONE_USED
      A Grindstone is used.
      Plays the grindstone used sound event.

      Called by GrindstoneScreenHandler

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official Q Lcgr;Q:I
      intermediary field_31130 Lnet/minecraft/class_6088;field_31130:I
      named GRINDSTONE_USED Lnet/minecraft/world/WorldEvents;GRINDSTONE_USED:I
    • LECTERN_BOOK_PAGE_TURNED

      public static final int LECTERN_BOOK_PAGE_TURNED
      A 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 R Lcgr;R: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_USED

      public static final int SMITHING_TABLE_USED
      A Smithing Table is used.
      Plays the smithing table used sound event.

      Called by SmithingScreenHandler#onTakeOutput

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official S Lcgr;S: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_LANDS

      public static final int POINTED_DRIPSTONE_LANDS
      Pointed Dripstone lands after falling.
      Plays the pointed dripstone landing sound event.

      Called by PointedDripstoneBlock#onDestroyedOnLanding

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official T Lcgr;T: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_CAULDRON

      public static final int POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON
      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 U Lcgr;U: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_CAULDRON

      public static final int POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON
      Pointed Dripstone drips Water into a Cauldron.
      Plays the pointed dripstone dripping water into cauldron sound event.

      Called by CauldronBlock#fillFromDripstone, and LeveledCauldronBlock#fillFromDripstone

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official V Lcgr;V: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_STRAY

      public static final int SKELETON_CONVERTS_TO_STRAY
      A 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 W Lcgr;W: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_USED

      public static final int COMPOSTER_USED
      An item is composted in a Composter.
      Plays the appropriate composting sound event and spawns composter particles.

      A 1 should 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, and FarmerWorkTask#syncComposterEvent

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official X Lcgr;X:I
      intermediary field_31137 Lnet/minecraft/class_6088;field_31137:I
      named COMPOSTER_USED Lnet/minecraft/world/WorldEvents;COMPOSTER_USED:I
    • LAVA_EXTINGUISHED

      public static final int LAVA_EXTINGUISHED
      Lava is extinguished.
      Plays the lava extinguish sound event and spawns large smoke particles.

      Called by FluidBlock#playExtinguishSound, and LavaFluid#playExtinguishEvent

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official Y Lcgr;Y:I
      intermediary field_31138 Lnet/minecraft/class_6088;field_31138:I
      named LAVA_EXTINGUISHED Lnet/minecraft/world/WorldEvents;LAVA_EXTINGUISHED:I
    • REDSTONE_TORCH_BURNS_OUT

      public static final int REDSTONE_TORCH_BURNS_OUT
      A 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 Z Lcgr;Z: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_FILLED

      public static final int END_PORTAL_FRAME_FILLED
      An 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 aa Lcgr;aa: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_DRIPS

      public static final int POINTED_DRIPSTONE_DRIPS
      Pointed Dripstone drips fluid particles.
      Spawns dripping fluid particles.

      Called by PointedDripstoneBlock#dripTick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ab Lcgr;ab: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_USED

      public static final int BONE_MEAL_USED
      Bone meal is used.
      Plays the bone meal item used sound event and spawns happy villager particles.

      Called by BoneMealItem#useOnBlock, an anonymus class in DispenserBehavior#registerDefaults, and BoneMealTask#keepRunning

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ac Lcgr;ac:I
      intermediary field_33511 Lnet/minecraft/class_6088;field_33511:I
      named BONE_MEAL_USED Lnet/minecraft/world/WorldEvents;BONE_MEAL_USED:I
    • DISPENSER_ACTIVATED

      public static final int DISPENSER_ACTIVATED
      A 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 ad Lcgr;ad:I
      intermediary field_31143 Lnet/minecraft/class_6088;field_31143:I
      named DISPENSER_ACTIVATED Lnet/minecraft/world/WorldEvents;DISPENSER_ACTIVATED:I
    • BLOCK_BROKEN

      public static final int BLOCK_BROKEN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ae Lcgr;ae:I
      intermediary field_31144 Lnet/minecraft/class_6088;field_31144:I
      named BLOCK_BROKEN Lnet/minecraft/world/WorldEvents;BLOCK_BROKEN:I
    • SPLASH_POTION_SPLASHED

      public static final int SPLASH_POTION_SPLASHED
      A 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, and PotionEntity#onCollision

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official af Lcgr;af: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_BREAKS

      public static final int EYE_OF_ENDER_BREAKS
      A thrown Eye of Ender breaks.
      Spawns several particles.

      Called by EyeOfEnderEntity#tick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ag Lcgr;ag: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_MOB

      public static final int SPAWNER_SPAWNS_MOB
      A Spawner spawns a mob.
      Spawns smoke and flame particles.

      Called by MobSpawnerLogic#serverTick

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ah Lcgr;ah:I
      intermediary field_31147 Lnet/minecraft/class_6088;field_31147:I
      named SPAWNER_SPAWNS_MOB Lnet/minecraft/world/WorldEvents;SPAWNER_SPAWNS_MOB:I
    • PLANT_FERTILIZED

      public static final int PLANT_FERTILIZED
      A 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, and TurtleEggBlock#onBlockAdded

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ai Lcgr;ai:I
      intermediary field_31148 Lnet/minecraft/class_6088;field_31148:I
      named PLANT_FERTILIZED Lnet/minecraft/world/WorldEvents;PLANT_FERTILIZED:I
    • DRAGON_BREATH_CLOUD_SPAWNS

      public static final int DRAGON_BREATH_CLOUD_SPAWNS
      A 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 aj Lcgr;aj: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_SPLASHED

      public static final int INSTANT_SPLASH_POTION_SPLASHED
      An 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 ak Lcgr;ak: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_BLOCK

      public static final int ENDER_DRAGON_BREAKS_BLOCK
      An Ender Dragon breaks a block.
      Spawns an explosion particle.

      Called by EnderDragonEntity#destroyBlocks

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official al Lcgr;al: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_OUT

      public static final int WET_SPONGE_DRIES_OUT
      A Wet Sponge dries out in a hot dimension.
      Spawns cloud particles.

      Called by WetSpongeBlock#onBlockAdded lic static final int WET_SPONGE_DRIES_OUT = 2009;

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official am Lcgr;am: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_SPAWNS

      public static final int END_GATEWAY_SPAWNS
      An 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 an Lcgr;an: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_RESURRECTED

      public static final int ENDER_DRAGON_RESURRECTED
      The Ender Dragon is being resurrected.
      Plays the ender dragon growl sound event.

      Called by EnderDragonSpawnState#run

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ao Lcgr;ao:I
      intermediary field_31154 Lnet/minecraft/class_6088;field_31154:I
      named ENDER_DRAGON_RESURRECTED Lnet/minecraft/world/WorldEvents;ENDER_DRAGON_RESURRECTED:I
    • ELECTRICITY_SPARKS

      public static final int ELECTRICITY_SPARKS
      Electricity 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 -1 should be passed if the event is called by a lightning entity itself.

      Called by LightningRodBlock#setPowered, and LightningEntity#cleanOxidizationAround

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ap Lcgr;ap:I
      intermediary field_31155 Lnet/minecraft/class_6088;field_31155:I
      named ELECTRICITY_SPARKS Lnet/minecraft/world/WorldEvents;ELECTRICITY_SPARKS:I
    • BLOCK_WAXED

      public static final int BLOCK_WAXED
      A 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 aq Lcgr;aq:I
      intermediary field_31156 Lnet/minecraft/class_6088;field_31156:I
      named BLOCK_WAXED Lnet/minecraft/world/WorldEvents;BLOCK_WAXED:I
    • WAX_REMOVED

      public static final int WAX_REMOVED
      Wax is removed from a block.
      Spawns wax removal particles.

      Called by AxeItem#useOnBlock

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ar Lcgr;ar:I
      intermediary field_31157 Lnet/minecraft/class_6088;field_31157:I
      named WAX_REMOVED Lnet/minecraft/world/WorldEvents;WAX_REMOVED:I
    • BLOCK_SCRAPED

      public static final int BLOCK_SCRAPED
      A block is scraped.
      Spawns scraping particles.

      Called by AxeItem#useOnBlock

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official as Lcgr;as:I
      intermediary field_31158 Lnet/minecraft/class_6088;field_31158:I
      named BLOCK_SCRAPED Lnet/minecraft/world/WorldEvents;BLOCK_SCRAPED:I
  • Constructor Details

    • WorldEvents

      public WorldEvents()