Uses of Class
net.minecraft.world.event.GameEvent
Package
Description
-
Uses of GameEvent in net.minecraft.block
-
Uses of GameEvent in net.minecraft.block.entity
Modifier and TypeMethodDescriptionvoid
SculkSensorBlockEntity.accept(World world, GameEventListener listener, GameEvent event, int distance)
Accepts a game event after delay.boolean
SculkSensorBlockEntity.accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)
Returns whether the callback wants to accept this event. -
Uses of GameEvent in net.minecraft.client.render.debug
-
Uses of GameEvent in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
-
Uses of GameEvent in net.minecraft.entity
Modifier and TypeMethodDescriptionvoid
Entity.emitGameEvent(GameEvent event)
void
Entity.emitGameEvent(GameEvent event, @Nullable Entity entity)
void
Entity.emitGameEvent(GameEvent event, @Nullable Entity entity, BlockPos pos)
void
Entity.emitGameEvent(GameEvent event, BlockPos pos)
-
Uses of GameEvent in net.minecraft.server.network
Modifier and TypeMethodDescriptionstatic void
DebugInfoSender.sendGameEvent(World world, GameEvent event, BlockPos pos)
-
Uses of GameEvent in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerWorld.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
-
Uses of GameEvent in net.minecraft.tag
Modifier and TypeFieldDescriptionstatic Tag.Identified<GameEvent>
GameEventTags.IGNORE_VIBRATIONS_SNEAKING
protected static RequiredTagList<GameEvent>
GameEventTags.REQUIRED_TAGS
static Tag.Identified<GameEvent>
GameEventTags.VIBRATIONS
Modifier and TypeMethodDescriptionGameEventTags.getTagGroup()
private static Tag.Identified<GameEvent>
-
Uses of GameEvent in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic DefaultedRegistry<GameEvent>
Registry.GAME_EVENT
static RegistryKey<Registry<GameEvent>>
Registry.GAME_EVENT_KEY
-
Uses of GameEvent in net.minecraft.world
Modifier and TypeMethodDescriptionvoid
ChunkRegion.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
protected void
World.emitGameEvent(@Nullable Entity entity, GameEvent gameEvent, BlockPos pos, int range)
default void
WorldAccess.emitGameEvent(@Nullable Entity entity, GameEvent event, Entity emitter)
void
WorldAccess.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
default void
WorldAccess.emitGameEvent(GameEvent event, Entity emitter)
default void
WorldAccess.emitGameEvent(GameEvent event, BlockPos pos)
-
Uses of GameEvent in net.minecraft.world.event
Modifier and TypeFieldDescriptionstatic GameEvent
GameEvent.BLOCK_ATTACH
static GameEvent
GameEvent.BLOCK_CHANGE
static GameEvent
GameEvent.BLOCK_CLOSE
static GameEvent
GameEvent.BLOCK_DESTROY
static GameEvent
GameEvent.BLOCK_DETACH
static GameEvent
GameEvent.BLOCK_OPEN
static GameEvent
GameEvent.BLOCK_PLACE
static GameEvent
GameEvent.BLOCK_PRESS
static GameEvent
GameEvent.BLOCK_SWITCH
static GameEvent
GameEvent.BLOCK_UNPRESS
static GameEvent
GameEvent.BLOCK_UNSWITCH
static GameEvent
GameEvent.CONTAINER_CLOSE
static GameEvent
GameEvent.CONTAINER_OPEN
static GameEvent
GameEvent.DISPENSE_FAIL
static GameEvent
GameEvent.DRINKING_FINISH
static GameEvent
GameEvent.EAT
static GameEvent
GameEvent.ELYTRA_FREE_FALL
static GameEvent
GameEvent.ENTITY_DAMAGED
static GameEvent
GameEvent.ENTITY_KILLED
static GameEvent
GameEvent.ENTITY_PLACE
static GameEvent
GameEvent.EQUIP
static GameEvent
GameEvent.EXPLODE
static GameEvent
GameEvent.FISHING_ROD_CAST
static GameEvent
GameEvent.FISHING_ROD_REEL_IN
static GameEvent
GameEvent.FLAP
static GameEvent
GameEvent.FLUID_PICKUP
static GameEvent
GameEvent.FLUID_PLACE
static GameEvent
GameEvent.HIT_GROUND
static GameEvent
GameEvent.LIGHTNING_STRIKE
static GameEvent
GameEvent.MINECART_MOVING
static GameEvent
GameEvent.MOB_INTERACT
static GameEvent
GameEvent.PISTON_CONTRACT
static GameEvent
GameEvent.PISTON_EXTEND
static GameEvent
GameEvent.PRIME_FUSE
static GameEvent
GameEvent.PROJECTILE_LAND
static GameEvent
GameEvent.PROJECTILE_SHOOT
static GameEvent
GameEvent.RAVAGER_ROAR
static GameEvent
GameEvent.RING_BELL
static GameEvent
GameEvent.SHEAR
static GameEvent
GameEvent.SHULKER_CLOSE
static GameEvent
GameEvent.SHULKER_OPEN
static GameEvent
GameEvent.SPLASH
static GameEvent
GameEvent.STEP
static GameEvent
GameEvent.SWIM
static GameEvent
GameEvent.WOLF_SHAKING
-
Uses of GameEvent in net.minecraft.world.event.listener
Modifier and TypeMethodDescriptionvoid
SculkSensorListener.Callback.accept(World world, GameEventListener listener, GameEvent event, int distance)
Accepts a game event after delay.boolean
SculkSensorListener.Callback.accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)
Returns whether the callback wants to accept this event.void
Dispatches an event to all the listeners in this dispatcher.void
Dispatches an event to all the listeners in this dispatcher.private boolean
SimpleGameEventDispatcher.dispatchTo(World world, GameEvent event, @Nullable Entity entity, BlockPos pos, GameEventListener listener)
boolean
Listens to an incoming game event.boolean
Listens to an incoming game event.private void
private boolean
SculkSensorListener.shouldActivate(GameEvent event, @Nullable Entity entity)