Uses of Class
net.minecraft.world.event.GameEvent
Packages that use GameEvent
Package
Description
-
Uses of GameEvent in net.minecraft.block
Fields in net.minecraft.block with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final Object2IntMap<GameEvent>SculkSensorBlock.FREQUENCIES -
Uses of GameEvent in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type GameEventModifier and TypeMethodDescriptionvoidSculkSensorBlockEntity.accept(World world, GameEventListener listener, GameEvent event, int distance) Accepts a game event after delay.booleanSculkSensorBlockEntity.accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity) Returns whether the callback wants to accept this event. -
Uses of GameEvent in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as GameEventMethods in net.minecraft.client.render.debug with parameters of type GameEventModifier and TypeMethodDescriptionvoidbooleanGameEventDebugRenderer.Listener.listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos) Listens to an incoming game event.Constructors in net.minecraft.client.render.debug with parameters of type GameEvent -
Uses of GameEvent in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type GameEventModifier and TypeMethodDescriptionvoidClientWorld.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos) -
Uses of GameEvent in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type GameEventModifier and TypeMethodDescriptionvoidEntity.emitGameEvent(GameEvent event) voidEntity.emitGameEvent(GameEvent event, @Nullable Entity entity) voidEntity.emitGameEvent(GameEvent event, @Nullable Entity entity, BlockPos pos) voidEntity.emitGameEvent(GameEvent event, BlockPos pos) -
Uses of GameEvent in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type GameEventModifier and TypeMethodDescriptionstatic voidDebugInfoSender.sendGameEvent(World world, GameEvent event, BlockPos pos) -
Uses of GameEvent in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type GameEventModifier and TypeMethodDescriptionvoidServerWorld.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos) -
Uses of GameEvent in net.minecraft.tag
Fields in net.minecraft.tag with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final Tag.Identified<GameEvent>GameEventTags.IGNORE_VIBRATIONS_SNEAKINGprotected static final RequiredTagList<GameEvent>GameEventTags.REQUIRED_TAGSstatic final Tag.Identified<GameEvent>GameEventTags.VIBRATIONSMethods in net.minecraft.tag that return types with arguments of type GameEventModifier and TypeMethodDescriptionGameEventTags.getTagGroup()private static Tag.Identified<GameEvent> -
Uses of GameEvent in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final DefaultedRegistry<GameEvent>Registry.GAME_EVENTstatic final RegistryKey<Registry<GameEvent>>Registry.GAME_EVENT_KEY -
Uses of GameEvent in net.minecraft.world
Methods in net.minecraft.world with parameters of type GameEventModifier and TypeMethodDescriptionvoidChunkRegion.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos) protected voidWorld.emitGameEvent(@Nullable Entity entity, GameEvent gameEvent, BlockPos pos, int range) default voidWorldAccess.emitGameEvent(@Nullable Entity entity, GameEvent event, Entity emitter) voidWorldAccess.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos) default voidWorldAccess.emitGameEvent(GameEvent event, Entity emitter) default voidWorldAccess.emitGameEvent(GameEvent event, BlockPos pos) -
Uses of GameEvent in net.minecraft.world.event
Fields in net.minecraft.world.event declared as GameEventModifier and TypeFieldDescriptionstatic final GameEventGameEvent.BLOCK_ATTACHstatic final GameEventGameEvent.BLOCK_CHANGEstatic final GameEventGameEvent.BLOCK_CLOSEstatic final GameEventGameEvent.BLOCK_DESTROYstatic final GameEventGameEvent.BLOCK_DETACHstatic final GameEventGameEvent.BLOCK_OPENstatic final GameEventGameEvent.BLOCK_PLACEstatic final GameEventGameEvent.BLOCK_PRESSstatic final GameEventGameEvent.BLOCK_SWITCHstatic final GameEventGameEvent.BLOCK_UNPRESSstatic final GameEventGameEvent.BLOCK_UNSWITCHstatic final GameEventGameEvent.CONTAINER_CLOSEstatic final GameEventGameEvent.CONTAINER_OPENstatic final GameEventGameEvent.DISPENSE_FAILstatic final GameEventGameEvent.DRINKING_FINISHstatic final GameEventGameEvent.EATstatic final GameEventGameEvent.ELYTRA_FREE_FALLstatic final GameEventGameEvent.ENTITY_DAMAGEDstatic final GameEventGameEvent.ENTITY_KILLEDstatic final GameEventGameEvent.ENTITY_PLACEstatic final GameEventGameEvent.EQUIPstatic final GameEventGameEvent.EXPLODEstatic final GameEventGameEvent.FISHING_ROD_CASTstatic final GameEventGameEvent.FISHING_ROD_REEL_INstatic final GameEventGameEvent.FLAPstatic final GameEventGameEvent.FLUID_PICKUPstatic final GameEventGameEvent.FLUID_PLACEstatic final GameEventGameEvent.HIT_GROUNDstatic final GameEventGameEvent.LIGHTNING_STRIKEstatic final GameEventGameEvent.MINECART_MOVINGstatic final GameEventGameEvent.MOB_INTERACTstatic final GameEventGameEvent.PISTON_CONTRACTstatic final GameEventGameEvent.PISTON_EXTENDstatic final GameEventGameEvent.PRIME_FUSEstatic final GameEventGameEvent.PROJECTILE_LANDstatic final GameEventGameEvent.PROJECTILE_SHOOTstatic final GameEventGameEvent.RAVAGER_ROARstatic final GameEventGameEvent.RING_BELLstatic final GameEventGameEvent.SHEARstatic final GameEventGameEvent.SHULKER_CLOSEstatic final GameEventGameEvent.SHULKER_OPENstatic final GameEventGameEvent.SPLASHstatic final GameEventGameEvent.STEPstatic final GameEventGameEvent.SWIMstatic final GameEventGameEvent.WOLF_SHAKINGMethods in net.minecraft.world.event that return GameEvent -
Uses of GameEvent in net.minecraft.world.event.listener
Fields in net.minecraft.world.event.listener with type parameters of type GameEventMethods in net.minecraft.world.event.listener with parameters of type GameEventModifier and TypeMethodDescriptionvoidSculkSensorListener.Callback.accept(World world, GameEventListener listener, GameEvent event, int distance) Accepts a game event after delay.booleanSculkSensorListener.Callback.accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity) Returns whether the callback wants to accept this event.voidDispatches an event to all the listeners in this dispatcher.voidDispatches an event to all the listeners in this dispatcher.private booleanSimpleGameEventDispatcher.dispatchTo(World world, GameEvent event, @Nullable Entity entity, BlockPos pos, GameEventListener listener) booleanListens to an incoming game event.booleanListens to an incoming game event.private voidprivate booleanSculkSensorListener.shouldActivate(GameEvent event, @Nullable Entity entity)