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
    • 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_DISMOUNT

      public static final GameEvent ENTITY_DISMOUNT
    • ENTITY_INTERACT

      public static final GameEvent ENTITY_INTERACT
    • ENTITY_MOUNT

      public static final GameEvent ENTITY_MOUNT
    • 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
    • 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
    • RESONATE_1

      public static final GameEvent RESONATE_1
    • RESONATE_2

      public static final GameEvent RESONATE_2
    • RESONATE_3

      public static final GameEvent RESONATE_3
    • RESONATE_4

      public static final GameEvent RESONATE_4
    • RESONATE_5

      public static final GameEvent RESONATE_5
    • RESONATE_6

      public static final GameEvent RESONATE_6
    • RESONATE_7

      public static final GameEvent RESONATE_7
    • RESONATE_8

      public static final GameEvent RESONATE_8
    • RESONATE_9

      public static final GameEvent RESONATE_9
    • RESONATE_10

      public static final GameEvent RESONATE_10
    • RESONATE_11

      public static final GameEvent RESONATE_11
    • RESONATE_12

      public static final GameEvent RESONATE_12
    • RESONATE_13

      public static final GameEvent RESONATE_13
    • RESONATE_14

      public static final GameEvent RESONATE_14
    • RESONATE_15

      public static final GameEvent RESONATE_15
    • 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