Class GameEvent

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

public class GameEvent extends Object
  • Field Details

    • 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_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
    • BLOCK_PRESS

      public static final GameEvent BLOCK_PRESS
    • BLOCK_SWITCH

      public static final GameEvent BLOCK_SWITCH
    • BLOCK_UNPRESS

      public static final GameEvent BLOCK_UNPRESS
    • BLOCK_UNSWITCH

      public static final GameEvent BLOCK_UNSWITCH
    • CONTAINER_CLOSE

      public static final GameEvent CONTAINER_CLOSE
    • CONTAINER_OPEN

      public static final GameEvent CONTAINER_OPEN
    • DISPENSE_FAIL

      public static final GameEvent DISPENSE_FAIL
    • DRINKING_FINISH

      public static final GameEvent DRINKING_FINISH
    • EAT

      public static final GameEvent EAT
    • ELYTRA_FREE_FALL

      public static final GameEvent ELYTRA_FREE_FALL
    • ENTITY_DAMAGED

      public static final GameEvent ENTITY_DAMAGED
    • ENTITY_KILLED

      public static final GameEvent ENTITY_KILLED
    • ENTITY_PLACE

      public static final GameEvent ENTITY_PLACE
    • EQUIP

      public static final GameEvent EQUIP
    • EXPLODE

      public static final GameEvent EXPLODE
    • FISHING_ROD_CAST

      public static final GameEvent FISHING_ROD_CAST
    • FISHING_ROD_REEL_IN

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

      public static final GameEvent MOB_INTERACT
    • LIGHTNING_STRIKE

      public static final GameEvent LIGHTNING_STRIKE
    • MINECART_MOVING

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

      public static final GameEvent RAVAGER_ROAR
    • RING_BELL

      public static final GameEvent RING_BELL
    • SHEAR

      public static final GameEvent SHEAR
    • SHULKER_CLOSE

      public static final GameEvent SHULKER_CLOSE
    • SHULKER_OPEN

      public static final GameEvent SHULKER_OPEN
    • SPLASH

      public static final GameEvent SPLASH
    • STEP

      public static final GameEvent STEP
    • SWIM

      public static final GameEvent SWIM
    • WOLF_SHAKING

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