Uses of Record Class
net.minecraft.world.level.gameevent.GameEvent.Context
Packages that use GameEvent.Context
Package
Description
-
Uses of GameEvent.Context in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionvoid
ClientLevel.gameEvent
(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) -
Uses of GameEvent.Context in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionboolean
GameEventListenerRenderer.TrackedListener.handleGameEvent
(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) -
Uses of GameEvent.Context in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionvoid
ServerLevel.gameEvent
(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) void
WorldGenRegion.gameEvent
(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) -
Uses of GameEvent.Context in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionboolean
Allay.VibrationUser.canReceiveVibration
(ServerLevel p_282038_, BlockPos p_283385_, Holder<GameEvent> p_316820_, GameEvent.Context p_282208_) boolean
Allay.JukeboxListener.handleGameEvent
(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) -
Uses of GameEvent.Context in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionboolean
Warden.VibrationUser.canReceiveVibration
(ServerLevel p_282574_, BlockPos p_282323_, Holder<GameEvent> p_316784_, GameEvent.Context p_282515_) -
Uses of GameEvent.Context in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type GameEvent.ContextModifier and TypeMethodDescriptiondefault void
LevelAccessor.gameEvent
(Holder<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) void
LevelAccessor.gameEvent
(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) default void
LevelAccessor.gameEvent
(ResourceKey<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) -
Uses of GameEvent.Context in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionboolean
CalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) boolean
SculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) boolean
SculkShriekerBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) boolean
SculkCatalystBlockEntity.CatalystListener.handleGameEvent
(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) -
Uses of GameEvent.Context in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as GameEvent.ContextMethods in net.minecraft.world.level.gameevent that return GameEvent.ContextModifier and TypeMethodDescriptionGameEvent.ListenerInfo.context()
static GameEvent.Context
static GameEvent.Context
GameEvent.Context.of
(Entity pSourceEntity, BlockState pAffectedState) static GameEvent.Context
GameEvent.Context.of
(BlockState pAffectedState) Methods in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionboolean
GameEventListener.handleGameEvent
(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) void
GameEventDispatcher.post
(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) boolean
EuclideanGameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext, GameEventListenerRegistry.ListenerVisitor pVisitor) boolean
GameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext, GameEventListenerRegistry.ListenerVisitor pVisitor) Constructors in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifierConstructorDescriptionListenerInfo
(Holder<GameEvent> pGameEvent, Vec3 pSource, GameEvent.Context pContext, GameEventListener pRecipient, Vec3 pPos) -
Uses of GameEvent.Context in net.minecraft.world.level.gameevent.vibrations
Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionboolean
VibrationSystem.User.canReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) void
VibrationSystem.Listener.forceScheduleVibration
(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) boolean
VibrationSystem.Listener.handleGameEvent
(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) default boolean
VibrationSystem.User.isValidVibration
(Holder<GameEvent> pGameEvent, GameEvent.Context pContext) private void
VibrationSystem.Listener.scheduleVibration
(ServerLevel pLevel, VibrationSystem.Data pData, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos, Vec3 pSensorPos) -
Uses of GameEvent.Context in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionstatic boolean
CommonHooks.onVanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 pos, GameEvent.Context context) -
Uses of GameEvent.Context in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as GameEvent.ContextMethods in net.neoforged.neoforge.event that return GameEvent.ContextConstructors in net.neoforged.neoforge.event with parameters of type GameEvent.ContextModifierConstructorDescriptionVanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 position, GameEvent.Context context)