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(GameEvent p_233639_, 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 TypeMethodDescriptionbooleanGameEventListenerRenderer.TrackedListener.handleGameEvent(ServerLevel p_234540_, GameEvent p_249278_, 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 TypeMethodDescriptionvoidServerLevel.gameEvent(GameEvent p_215041_, Vec3 p_215042_, GameEvent.Context p_215043_) voidWorldGenRegion.gameEvent(GameEvent p_215163_, 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 TypeMethodDescriptionbooleanAllay.JukeboxListener.handleGameEvent(ServerLevel p_250009_, GameEvent p_251513_, GameEvent.Context p_249478_, Vec3 p_250852_) booleanAllay.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
Methods in net.minecraft.world.entity.monster.warden with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionbooleanWarden.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
Methods in net.minecraft.world.level with parameters of type GameEvent.ContextModifier and TypeMethodDescriptiondefault voidLevelAccessor.gameEvent(GameEvent p_220408_, BlockPos p_220409_, GameEvent.Context p_220410_) voidLevelAccessor.gameEvent(GameEvent p_220404_, Vec3 p_220405_, GameEvent.Context p_220406_) -
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 TypeMethodDescriptionbooleanSculkCatalystBlockEntity.handleGameEvent(ServerLevel p_249401_, GameEvent p_251680_, GameEvent.Context p_248816_, Vec3 p_248534_) booleanSculkSensorBlockEntity.shouldListen(ServerLevel p_222811_, GameEventListener p_222812_, BlockPos p_222813_, GameEvent p_222814_, GameEvent.Context p_222815_) booleanSculkShriekerBlockEntity.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
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 p_223720_, BlockState p_223721_) static GameEvent.ContextGameEvent.Context.of(BlockState p_223723_) Methods in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionbooleanGameEventListener.handleGameEvent(ServerLevel p_223757_, GameEvent p_251491_, GameEvent.Context p_249681_, Vec3 p_251048_) voidGameEventDispatcher.post(GameEvent p_251754_, Vec3 p_250613_, GameEvent.Context p_251777_) booleanEuclideanGameEventListenerRegistry.visitInRangeListeners(GameEvent p_251377_, Vec3 p_251445_, GameEvent.Context p_252317_, GameEventListenerRegistry.ListenerVisitor p_251422_) booleanGameEventListenerRegistry.visitInRangeListeners(GameEvent p_251001_, Vec3 p_249144_, GameEvent.Context p_249328_, GameEventListenerRegistry.ListenerVisitor p_250123_) Constructors in net.minecraft.world.level.gameevent with parameters of type GameEvent.ContextModifierConstructorDescriptionListenerInfo(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
Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionvoidVibrationListener.forceGameEvent(ServerLevel p_250726_, GameEvent p_251544_, GameEvent.Context p_250365_, Vec3 p_249607_) booleanVibrationListener.handleGameEvent(ServerLevel p_251930_, GameEvent p_250161_, GameEvent.Context p_251443_, Vec3 p_250045_) default booleanVibrationListener.VibrationListenerConfig.isValidVibration(GameEvent p_223878_, GameEvent.Context p_223879_) voidVibrationListener.scheduleVibration(ServerLevel p_250210_, GameEvent p_251063_, GameEvent.Context p_249354_, Vec3 p_250310_, Vec3 p_249553_) booleanVibrationListener.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
Methods in net.minecraftforge.common with parameters of type GameEvent.ContextModifier and TypeMethodDescriptionstatic booleanForgeHooks.onVanillaGameEvent(Level level, GameEvent vanillaEvent, Vec3 pos, GameEvent.Context context) -
Uses of GameEvent.Context in net.minecraftforge.event
Fields in net.minecraftforge.event declared as GameEvent.ContextMethods in net.minecraftforge.event that return GameEvent.ContextConstructors in net.minecraftforge.event with parameters of type GameEvent.ContextModifierConstructorDescriptionVanillaGameEvent(Level level, GameEvent vanillaEvent, Vec3 position, GameEvent.Context context)