Class GameEvent

java.lang.Object
net.minecraft.world.level.gameevent.GameEvent

public class GameEvent extends Object
  • Field Details

    • BLOCK_ACTIVATE

      public static final GameEvent BLOCK_ACTIVATE
    • BLOCK_ATTACH

      public static final GameEvent BLOCK_ATTACH
    • BLOCK_CHANGE

      public static final GameEvent BLOCK_CHANGE
    • BLOCK_CLOSE

      public static final GameEvent BLOCK_CLOSE
    • BLOCK_DEACTIVATE

      public static final GameEvent BLOCK_DEACTIVATE
    • BLOCK_DESTROY

      public static final GameEvent BLOCK_DESTROY
    • BLOCK_DETACH

      public static final GameEvent BLOCK_DETACH
    • BLOCK_OPEN

      public static final GameEvent BLOCK_OPEN
    • BLOCK_PLACE

      public static final GameEvent BLOCK_PLACE
    • CONTAINER_CLOSE

      public static final GameEvent CONTAINER_CLOSE
    • CONTAINER_OPEN

      public static final GameEvent CONTAINER_OPEN
    • DISPENSE_FAIL

      public static final GameEvent DISPENSE_FAIL
    • DRINK

      public static final GameEvent DRINK
    • EAT

      public static final GameEvent EAT
    • ELYTRA_GLIDE

      public static final GameEvent ELYTRA_GLIDE
    • ENTITY_DAMAGE

      public static final GameEvent ENTITY_DAMAGE
    • ENTITY_DIE

      public static final GameEvent ENTITY_DIE
    • ENTITY_INTERACT

      public static final GameEvent ENTITY_INTERACT
    • ENTITY_PLACE

      public static final GameEvent ENTITY_PLACE
    • ENTITY_ROAR

      public static final GameEvent ENTITY_ROAR
    • ENTITY_SHAKE

      public static final GameEvent ENTITY_SHAKE
    • EQUIP

      public static final GameEvent EQUIP
    • EXPLODE

      public static final GameEvent EXPLODE
    • FLAP

      public static final GameEvent FLAP
    • FLUID_PICKUP

      public static final GameEvent FLUID_PICKUP
    • FLUID_PLACE

      public static final GameEvent FLUID_PLACE
    • HIT_GROUND

      public static final GameEvent HIT_GROUND
    • INSTRUMENT_PLAY

      public static final GameEvent INSTRUMENT_PLAY
    • ITEM_INTERACT_FINISH

      public static final GameEvent ITEM_INTERACT_FINISH
    • ITEM_INTERACT_START

      public static final GameEvent ITEM_INTERACT_START
    • JUKEBOX_PLAY

      public static final GameEvent JUKEBOX_PLAY
    • JUKEBOX_STOP_PLAY

      public static final GameEvent JUKEBOX_STOP_PLAY
    • LIGHTNING_STRIKE

      public static final GameEvent LIGHTNING_STRIKE
    • NOTE_BLOCK_PLAY

      public static final GameEvent NOTE_BLOCK_PLAY
    • PISTON_CONTRACT

      public static final GameEvent PISTON_CONTRACT
    • PISTON_EXTEND

      public static final GameEvent PISTON_EXTEND
    • PRIME_FUSE

      public static final GameEvent PRIME_FUSE
    • PROJECTILE_LAND

      public static final GameEvent PROJECTILE_LAND
    • PROJECTILE_SHOOT

      public static final GameEvent PROJECTILE_SHOOT
    • SCULK_SENSOR_TENDRILS_CLICKING

      public static final GameEvent SCULK_SENSOR_TENDRILS_CLICKING
    • SHEAR

      public static final GameEvent SHEAR
    • SHRIEK

      public static final GameEvent SHRIEK
    • SPLASH

      public static final GameEvent SPLASH
    • STEP

      public static final GameEvent STEP
    • SWIM

      public static final GameEvent SWIM
    • TELEPORT

      public static final GameEvent TELEPORT
    • DEFAULT_NOTIFICATION_RADIUS

      public static final int DEFAULT_NOTIFICATION_RADIUS
      See Also:
    • name

      private final String name
    • notificationRadius

      private final int notificationRadius
    • builtInRegistryHolder

      private final Holder.Reference<GameEvent> builtInRegistryHolder
  • Constructor Details

    • GameEvent

      public GameEvent(String p_157819_, int p_157820_)
  • Method Details