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> p_316478_, Vec3 p_233640_, GameEvent.Context p_233641_) -
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 p_234540_, Holder<GameEvent> p_316503_, GameEvent.Context p_250285_, Vec3 p_250758_) -
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> p_316597_, Vec3 p_215042_, GameEvent.Context p_215043_) void
WorldGenRegion.gameEvent
(Holder<GameEvent> p_316792_, Vec3 p_215164_, GameEvent.Context p_215165_) -
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 p_250009_, Holder<GameEvent> p_316687_, GameEvent.Context p_249478_, Vec3 p_250852_) -
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> p_316320_, BlockPos p_220409_, GameEvent.Context p_220410_) void
LevelAccessor.gameEvent
(Holder<GameEvent> p_316267_, Vec3 p_220405_, GameEvent.Context p_220406_) default void
LevelAccessor.gameEvent
(ResourceKey<GameEvent> p_316780_, BlockPos p_316509_, GameEvent.Context p_316524_) -
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 p_282061_, BlockPos p_282550_, Holder<GameEvent> p_316545_, GameEvent.Context p_281456_) boolean
SculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_282127_, BlockPos p_283268_, Holder<GameEvent> p_316115_, GameEvent.Context p_282856_) boolean
SculkShriekerBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) boolean
SculkCatalystBlockEntity.CatalystListener.handleGameEvent
(ServerLevel p_283470_, Holder<GameEvent> p_316661_, GameEvent.Context p_283014_, Vec3 p_282350_) -
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 p_223720_, BlockState p_223721_) static GameEvent.Context
GameEvent.Context.of
(BlockState p_223723_) Methods in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionboolean
GameEventListener.handleGameEvent
(ServerLevel p_223757_, Holder<GameEvent> p_316739_, GameEvent.Context p_249681_, Vec3 p_251048_) void
GameEventDispatcher.post
(Holder<GameEvent> p_316151_, Vec3 p_250613_, GameEvent.Context p_251777_) boolean
EuclideanGameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> p_316862_, Vec3 p_251445_, GameEvent.Context p_252317_, GameEventListenerRegistry.ListenerVisitor p_251422_) boolean
GameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> p_316434_, Vec3 p_249144_, GameEvent.Context p_249328_, GameEventListenerRegistry.ListenerVisitor p_250123_) Constructors in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifierConstructorDescriptionListenerInfo
(Holder<GameEvent> p_316198_, Vec3 p_249118_, GameEvent.Context p_251196_, GameEventListener p_251701_, Vec3 p_248854_) -
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 p_282960_, BlockPos p_282488_, Holder<GameEvent> p_316319_, GameEvent.Context p_283577_) void
VibrationSystem.Listener.forceScheduleVibration
(ServerLevel p_282808_, Holder<GameEvent> p_316321_, GameEvent.Context p_281652_, Vec3 p_281530_) boolean
VibrationSystem.Listener.handleGameEvent
(ServerLevel p_282254_, Holder<GameEvent> p_316513_, GameEvent.Context p_283664_, Vec3 p_282426_) default boolean
VibrationSystem.User.isValidVibration
(Holder<GameEvent> p_316804_, GameEvent.Context p_283373_) private void
VibrationSystem.Listener.scheduleVibration
(ServerLevel p_282037_, VibrationSystem.Data p_283229_, Holder<GameEvent> p_316858_, GameEvent.Context p_283344_, Vec3 p_281758_, Vec3 p_282990_) -
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)