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 TypeMethodDescriptionvoidClientLevel.gameEvent(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context) -
Uses of GameEvent.Context in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionbooleanGameEventListenerRenderer.TrackedListener.handleGameEvent(ServerLevel level, Holder<GameEvent> gameEvent, GameEvent.Context context, Vec3 pos) -
Uses of GameEvent.Context in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionvoidServerLevel.gameEvent(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context) voidWorldGenRegion.gameEvent(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context) -
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 TypeMethodDescriptionbooleanAllay.VibrationUser.canReceiveVibration(ServerLevel p_282038_, BlockPos p_283385_, Holder<GameEvent> p_316820_, GameEvent.Context p_282208_) booleanAllay.JukeboxListener.handleGameEvent(ServerLevel level, Holder<GameEvent> gameEvent, GameEvent.Context context, Vec3 pos) -
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 TypeMethodDescriptionbooleanWarden.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 voidLevelAccessor.gameEvent(Holder<GameEvent> gameEvent, BlockPos pos, GameEvent.Context context) voidLevelAccessor.gameEvent(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context) default voidLevelAccessor.gameEvent(ResourceKey<GameEvent> gameEvent, BlockPos pos, GameEvent.Context context) -
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 TypeMethodDescriptionbooleanCalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, GameEvent.Context context) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, GameEvent.Context context) booleanSculkShriekerBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) booleanSculkCatalystBlockEntity.CatalystListener.handleGameEvent(ServerLevel level, Holder<GameEvent> gameEvent, GameEvent.Context context, Vec3 pos) -
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.Contextstatic GameEvent.ContextGameEvent.Context.of(Entity sourceEntity, BlockState affectedState) static GameEvent.ContextGameEvent.Context.of(BlockState affectedState) Methods in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionbooleanGameEventListener.handleGameEvent(ServerLevel level, Holder<GameEvent> gameEvent, GameEvent.Context context, Vec3 pos) voidGameEventDispatcher.post(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context) booleanEuclideanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context, GameEventListenerRegistry.ListenerVisitor visitor) booleanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context, GameEventListenerRegistry.ListenerVisitor visitor) Constructors in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifierConstructorDescriptionListenerInfo(Holder<GameEvent> gameEvent, Vec3 source, GameEvent.Context context, GameEventListener recipient, Vec3 pos) -
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 TypeMethodDescriptionbooleanVibrationSystem.User.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, GameEvent.Context context) voidVibrationSystem.Listener.forceScheduleVibration(ServerLevel level, Holder<GameEvent> gameEvent, GameEvent.Context context, Vec3 pos) booleanVibrationSystem.Listener.handleGameEvent(ServerLevel level, Holder<GameEvent> gameEvent, GameEvent.Context context, Vec3 pos) default booleanVibrationSystem.User.isValidVibration(Holder<GameEvent> gameEvent, GameEvent.Context context) private voidVibrationSystem.Listener.scheduleVibration(ServerLevel level, VibrationSystem.Data data, Holder<GameEvent> gameEvent, GameEvent.Context context, Vec3 pos, Vec3 sensorPos) -
Uses of GameEvent.Context in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionstatic booleanCommonHooks.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)