Uses of Record Class
net.minecraft.world.level.gameevent.GameEvent.Context
Package
Description
-
Uses of GameEvent.Context in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientLevel.gameEvent
(GameEvent p_233639_, Vec3 p_233640_, GameEvent.Context p_233641_) -
Uses of GameEvent.Context in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerLevel.gameEvent
(GameEvent p_215041_, Vec3 p_215042_, GameEvent.Context p_215043_) void
WorldGenRegion.gameEvent
(GameEvent p_215163_, Vec3 p_215164_, GameEvent.Context p_215165_) -
Uses of GameEvent.Context in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionboolean
Allay.AllayVibrationListenerConfig.shouldListen
(ServerLevel p_239787_, GameEventListener p_239788_, BlockPos p_239789_, GameEvent p_239790_, GameEvent.Context p_239791_) -
Uses of GameEvent.Context in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionboolean
Warden.shouldListen
(ServerLevel p_219370_, GameEventListener p_219371_, BlockPos p_219372_, GameEvent p_219373_, GameEvent.Context p_219374_) -
Uses of GameEvent.Context in net.minecraft.world.level
Modifier and TypeMethodDescriptiondefault void
LevelAccessor.gameEvent
(GameEvent p_220408_, BlockPos p_220409_, GameEvent.Context p_220410_) void
LevelAccessor.gameEvent
(GameEvent p_220404_, Vec3 p_220405_, GameEvent.Context p_220406_) -
Uses of GameEvent.Context in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionboolean
SculkSensorBlockEntity.shouldListen
(ServerLevel p_222811_, GameEventListener p_222812_, BlockPos p_222813_, GameEvent p_222814_, GameEvent.Context p_222815_) boolean
SculkShriekerBlockEntity.shouldListen
(ServerLevel p_222856_, GameEventListener p_222857_, BlockPos p_222858_, GameEvent p_222859_, GameEvent.Context p_222860_) -
Uses of GameEvent.Context in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionGameEvent.Message.context()
static GameEvent.Context
static GameEvent.Context
GameEvent.Context.of
(Entity p_223720_, BlockState p_223721_) static GameEvent.Context
GameEvent.Context.of
(BlockState p_223723_) Modifier and TypeMethodDescriptionboolean
EuclideanGameEventDispatcher.walkListeners
(GameEvent p_223692_, Vec3 p_223693_, GameEvent.Context p_223694_, BiConsumer<GameEventListener, Vec3> p_223695_) boolean
GameEventDispatcher.walkListeners
(GameEvent p_223748_, Vec3 p_223749_, GameEvent.Context p_223750_, BiConsumer<GameEventListener, Vec3> p_223751_) ModifierConstructorDescriptionMessage
(GameEvent p_223735_, Vec3 p_223736_, GameEvent.Context p_223737_, GameEventListener p_223738_, Vec3 p_223739_) -
Uses of GameEvent.Context in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeMethodDescriptiondefault boolean
VibrationListener.VibrationListenerConfig.isValidVibration
(GameEvent p_223878_, GameEvent.Context p_223879_) private void
VibrationListener.scheduleSignal
(ServerLevel p_223770_, GameEvent p_223771_, GameEvent.Context p_223772_, Vec3 p_223773_, Vec3 p_223774_) boolean
VibrationListener.VibrationListenerConfig.shouldListen
(ServerLevel p_223872_, GameEventListener p_223873_, BlockPos p_223874_, GameEvent p_223875_, GameEvent.Context p_223876_) -
Uses of GameEvent.Context in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.onVanillaGameEvent
(Level level, GameEvent vanillaEvent, Vec3 pos, GameEvent.Context context) -
Uses of GameEvent.Context in net.minecraftforge.event
ModifierConstructorDescriptionVanillaGameEvent
(Level level, GameEvent vanillaEvent, Vec3 position, GameEvent.Context context)