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.client.renderer.debug
Modifier and TypeMethodDescriptionboolean
GameEventListenerRenderer.TrackedListener.handleGameEvent
(ServerLevel p_234540_, GameEvent p_249278_, GameEvent.Context p_250285_, Vec3 p_250758_) -
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.VibrationUser.canReceiveVibration
(ServerLevel p_282038_, BlockPos p_283385_, GameEvent p_283669_, GameEvent.Context p_282208_) boolean
Allay.JukeboxListener.handleGameEvent
(ServerLevel p_250009_, GameEvent p_251513_, GameEvent.Context p_249478_, Vec3 p_250852_) -
Uses of GameEvent.Context in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionboolean
Warden.VibrationUser.canReceiveVibration
(ServerLevel p_282574_, BlockPos p_282323_, GameEvent p_283003_, GameEvent.Context p_282515_) -
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
CalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_282061_, BlockPos p_282550_, GameEvent p_281789_, GameEvent.Context p_281456_) boolean
SculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_282127_, BlockPos p_283268_, GameEvent p_282187_, GameEvent.Context p_282856_) boolean
SculkShriekerBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_281256_, BlockPos p_281528_, GameEvent p_282632_, GameEvent.Context p_282914_) boolean
SculkCatalystBlockEntity.CatalystListener.handleGameEvent
(ServerLevel p_283470_, GameEvent p_282184_, GameEvent.Context p_283014_, Vec3 p_282350_) -
Uses of GameEvent.Context in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionGameEvent.ListenerInfo.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
GameEventListener.handleGameEvent
(ServerLevel p_223757_, GameEvent p_251491_, GameEvent.Context p_249681_, Vec3 p_251048_) void
GameEventDispatcher.post
(GameEvent p_251754_, Vec3 p_250613_, GameEvent.Context p_251777_) boolean
EuclideanGameEventListenerRegistry.visitInRangeListeners
(GameEvent p_251377_, Vec3 p_251445_, GameEvent.Context p_252317_, GameEventListenerRegistry.ListenerVisitor p_251422_) boolean
GameEventListenerRegistry.visitInRangeListeners
(GameEvent p_251001_, Vec3 p_249144_, GameEvent.Context p_249328_, GameEventListenerRegistry.ListenerVisitor p_250123_) ModifierConstructorDescriptionListenerInfo
(GameEvent p_251490_, Vec3 p_249118_, GameEvent.Context p_251196_, GameEventListener p_251701_, Vec3 p_248854_) -
Uses of GameEvent.Context in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeMethodDescriptionboolean
VibrationSystem.User.canReceiveVibration
(ServerLevel p_282960_, BlockPos p_282488_, GameEvent p_282865_, GameEvent.Context p_283577_) void
VibrationSystem.Listener.forceScheduleVibration
(ServerLevel p_282808_, GameEvent p_281875_, GameEvent.Context p_281652_, Vec3 p_281530_) boolean
VibrationSystem.Listener.handleGameEvent
(ServerLevel p_282254_, GameEvent p_283599_, GameEvent.Context p_283664_, Vec3 p_282426_) default boolean
VibrationSystem.User.isValidVibration
(GameEvent p_282750_, GameEvent.Context p_283373_) private void
VibrationSystem.Listener.scheduleVibration
(ServerLevel p_282037_, VibrationSystem.Data p_283229_, GameEvent p_281778_, GameEvent.Context p_283344_, Vec3 p_281758_, Vec3 p_282990_) -
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)