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 GameEvent -
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 Tag.Identified<GameEvent>GameEventTags.IGNORE_VIBRATIONS_SNEAKINGprotected static RequiredTagList<GameEvent>GameEventTags.REQUIRED_TAGSstatic 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 DefaultedRegistry<GameEvent>Registry.GAME_EVENTstatic 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 GameEventGameEvent.BLOCK_ATTACHstatic GameEventGameEvent.BLOCK_CHANGEstatic GameEventGameEvent.BLOCK_CLOSEstatic GameEventGameEvent.BLOCK_DESTROYstatic GameEventGameEvent.BLOCK_DETACHstatic GameEventGameEvent.BLOCK_OPENstatic GameEventGameEvent.BLOCK_PLACEstatic GameEventGameEvent.BLOCK_PRESSstatic GameEventGameEvent.BLOCK_SWITCHstatic GameEventGameEvent.BLOCK_UNPRESSstatic GameEventGameEvent.BLOCK_UNSWITCHstatic GameEventGameEvent.CONTAINER_CLOSEstatic GameEventGameEvent.CONTAINER_OPENstatic GameEventGameEvent.DISPENSE_FAILstatic GameEventGameEvent.DRINKING_FINISHstatic GameEventGameEvent.EATstatic GameEventGameEvent.ELYTRA_FREE_FALLstatic GameEventGameEvent.ENTITY_DAMAGEDstatic GameEventGameEvent.ENTITY_KILLEDstatic GameEventGameEvent.ENTITY_PLACEstatic GameEventGameEvent.EQUIPstatic GameEventGameEvent.EXPLODEstatic GameEventGameEvent.FISHING_ROD_CASTstatic GameEventGameEvent.FISHING_ROD_REEL_INstatic GameEventGameEvent.FLAPstatic GameEventGameEvent.FLUID_PICKUPstatic GameEventGameEvent.FLUID_PLACEstatic GameEventGameEvent.HIT_GROUNDstatic GameEventGameEvent.LIGHTNING_STRIKEstatic GameEventGameEvent.MINECART_MOVINGstatic GameEventGameEvent.MOB_INTERACTstatic GameEventGameEvent.PISTON_CONTRACTstatic GameEventGameEvent.PISTON_EXTENDstatic GameEventGameEvent.PRIME_FUSEstatic GameEventGameEvent.PROJECTILE_LANDstatic GameEventGameEvent.PROJECTILE_SHOOTstatic GameEventGameEvent.RAVAGER_ROARstatic GameEventGameEvent.RING_BELLstatic GameEventGameEvent.SHEARstatic GameEventGameEvent.SHULKER_CLOSEstatic GameEventGameEvent.SHULKER_OPENstatic GameEventGameEvent.SPLASHstatic GameEventGameEvent.STEPstatic GameEventGameEvent.SWIMstatic 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)