Uses of Class
net.minecraft.world.level.gameevent.GameEvent
Packages that use GameEvent
Package
Description
-
Uses of GameEvent in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type GameEventModifier and TypeMethodDescriptionvoidClientLevel.gameEvent(GameEvent p_233639_, Vec3 p_233640_, GameEvent.Context p_233641_) -
Uses of GameEvent in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as GameEventModifier and TypeFieldDescriptionprivate final GameEventGameEventListenerRenderer.TrackedGameEvent.gameEventThe field for thegameEventrecord component.Methods in net.minecraft.client.renderer.debug that return GameEventModifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.gameEvent()Returns the value of thegameEventrecord component.Methods in net.minecraft.client.renderer.debug with parameters of type GameEventModifier and TypeMethodDescriptionvoidGameEventListenerRenderer.trackGameEvent(GameEvent p_234514_, Vec3 p_234515_) Constructors in net.minecraft.client.renderer.debug with parameters of type GameEventModifierConstructorDescription(package private)TrackedGameEvent(long timeStamp, GameEvent gameEvent, Vec3 position) Creates an instance of aTrackedGameEventrecord class. -
Uses of GameEvent in net.minecraft.core
Fields in net.minecraft.core with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final DefaultedRegistry<GameEvent>Registry.GAME_EVENTstatic final ResourceKey<Registry<GameEvent>>Registry.GAME_EVENT_REGISTRY -
Uses of GameEvent in net.minecraft.data.tags
Fields in net.minecraft.data.tags declared as GameEventModifier and TypeFieldDescription(package private) static final GameEvent[]GameEventTagsProvider.VIBRATIONS_EXCEPT_FLAP -
Uses of GameEvent in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type GameEventModifier and TypeMethodDescriptionstatic voidDebugPackets.sendGameEventInfo(Level p_237888_, GameEvent p_237889_, Vec3 p_237890_) -
Uses of GameEvent in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type GameEventModifier 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 in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type GameEventModifier and TypeFieldDescriptionGameEventTags.ALLAY_CAN_LISTENGameEventTags.IGNORE_VIBRATIONS_SNEAKINGGameEventTags.SHRIEKER_CAN_LISTENGameEventTags.VIBRATIONSGameEventTags.WARDEN_CAN_LISTENMethods in net.minecraft.tags that return types with arguments of type GameEvent -
Uses of GameEvent in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type GameEvent -
Uses of GameEvent in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay that return types with arguments of type GameEventMethods in net.minecraft.world.entity.animal.allay with parameters of type GameEventModifier and TypeMethodDescriptionvoidAllay.AllayVibrationListenerConfig.onSignalReceive(ServerLevel p_239108_, GameEventListener p_239109_, BlockPos p_239110_, GameEvent p_239111_, @Nullable Entity p_239112_, @Nullable Entity p_239113_, float p_239114_) booleanAllay.AllayVibrationListenerConfig.shouldListen(ServerLevel p_239787_, GameEventListener p_239788_, BlockPos p_239789_, GameEvent p_239790_, GameEvent.Context p_239791_) -
Uses of GameEvent in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden that return types with arguments of type GameEventMethods in net.minecraft.world.entity.monster.warden with parameters of type GameEventModifier and TypeMethodDescriptionvoidWarden.onSignalReceive(ServerLevel p_219362_, GameEventListener p_219363_, BlockPos p_219364_, GameEvent p_219365_, Entity p_219366_, Entity p_219367_, float p_219368_) booleanWarden.shouldListen(ServerLevel p_219370_, GameEventListener p_219371_, BlockPos p_219372_, GameEvent p_219373_, GameEvent.Context p_219374_) -
Uses of GameEvent in net.minecraft.world.entity.vehicle
Method parameters in net.minecraft.world.entity.vehicle with type arguments of type GameEventModifier and TypeMethodDescriptiondefault InteractionResultContainerEntity.interactWithChestVehicle(BiConsumer<GameEvent, Entity> p_219932_, Player p_219933_) -
Uses of GameEvent in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type GameEventModifier and TypeMethodDescriptiondefault voiddefault voiddefault 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 in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.objects.Object2IntMap<GameEvent>SculkSensorBlock.VIBRATION_FREQUENCY_FOR_EVENT -
Uses of GameEvent in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return types with arguments of type GameEventMethods in net.minecraft.world.level.block.entity with parameters of type GameEventModifier and TypeMethodDescriptionvoidSculkSensorBlockEntity.onSignalReceive(ServerLevel p_222803_, GameEventListener p_222804_, BlockPos p_222805_, GameEvent p_222806_, Entity p_222807_, Entity p_222808_, float p_222809_) voidSculkShriekerBlockEntity.onSignalReceive(ServerLevel p_222848_, GameEventListener p_222849_, BlockPos p_222850_, GameEvent p_222851_, Entity p_222852_, Entity p_222853_, float p_222854_) 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 in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as GameEventModifier and TypeFieldDescriptionstatic final GameEventGameEvent.BLOCK_ACTIVATEstatic final GameEventGameEvent.BLOCK_ATTACHstatic final GameEventGameEvent.BLOCK_CHANGEstatic final GameEventGameEvent.BLOCK_CLOSEstatic final GameEventGameEvent.BLOCK_DEACTIVATEstatic final GameEventGameEvent.BLOCK_DESTROYstatic final GameEventGameEvent.BLOCK_DETACHstatic final GameEventGameEvent.BLOCK_OPENstatic final GameEventGameEvent.BLOCK_PLACEstatic final GameEventGameEvent.CONTAINER_CLOSEstatic final GameEventGameEvent.CONTAINER_OPENstatic final GameEventGameEvent.DISPENSE_FAILstatic final GameEventGameEvent.DRINKstatic final GameEventGameEvent.EATstatic final GameEventGameEvent.ELYTRA_GLIDEstatic final GameEventGameEvent.ENTITY_DAMAGEstatic final GameEventGameEvent.ENTITY_DIEstatic final GameEventGameEvent.ENTITY_INTERACTstatic final GameEventGameEvent.ENTITY_PLACEstatic final GameEventGameEvent.ENTITY_ROARstatic final GameEventGameEvent.ENTITY_SHAKEstatic final GameEventGameEvent.EQUIPstatic final GameEventGameEvent.EXPLODEstatic final GameEventGameEvent.FLAPstatic final GameEventGameEvent.FLUID_PICKUPstatic final GameEventGameEvent.FLUID_PLACEprivate final GameEventGameEvent.Message.gameEventstatic final GameEventGameEvent.HIT_GROUNDstatic final GameEventGameEvent.INSTRUMENT_PLAYstatic final GameEventGameEvent.ITEM_INTERACT_FINISHstatic final GameEventGameEvent.ITEM_INTERACT_STARTstatic final GameEventGameEvent.JUKEBOX_PLAYstatic final GameEventGameEvent.JUKEBOX_STOP_PLAYstatic final GameEventGameEvent.LIGHTNING_STRIKEstatic final GameEventGameEvent.NOTE_BLOCK_PLAYstatic final GameEventGameEvent.PISTON_CONTRACTstatic final GameEventGameEvent.PISTON_EXTENDstatic final GameEventGameEvent.PRIME_FUSEstatic final GameEventGameEvent.PROJECTILE_LANDstatic final GameEventGameEvent.PROJECTILE_SHOOTstatic final GameEventGameEvent.SCULK_SENSOR_TENDRILS_CLICKINGstatic final GameEventGameEvent.SHEARstatic final GameEventGameEvent.SHRIEKstatic final GameEventGameEvent.SPLASHstatic final GameEventGameEvent.STEPstatic final GameEventGameEvent.SWIMstatic final GameEventGameEvent.TELEPORTFields in net.minecraft.world.level.gameevent with type parameters of type GameEventModifier and TypeFieldDescriptionprivate final Holder.Reference<GameEvent>GameEvent.builtInRegistryHolderMethods in net.minecraft.world.level.gameevent that return GameEventModifier and TypeMethodDescriptionGameEvent.Message.gameEvent()private static GameEventprivate static GameEventMethods in net.minecraft.world.level.gameevent that return types with arguments of type GameEventMethods in net.minecraft.world.level.gameevent with parameters of type GameEventModifier and TypeMethodDescriptionbooleanEuclideanGameEventDispatcher.walkListeners(GameEvent p_223692_, Vec3 p_223693_, GameEvent.Context p_223694_, BiConsumer<GameEventListener, Vec3> p_223695_) booleanGameEventDispatcher.walkListeners(GameEvent p_223748_, Vec3 p_223749_, GameEvent.Context p_223750_, BiConsumer<GameEventListener, Vec3> p_223751_) Method parameters in net.minecraft.world.level.gameevent with type arguments of type GameEventConstructors in net.minecraft.world.level.gameevent with parameters of type GameEventModifierConstructorDescriptionMessage(GameEvent p_223735_, Vec3 p_223736_, GameEvent.Context p_223737_, GameEventListener p_223738_, Vec3 p_223739_) -
Uses of GameEvent in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as GameEventModifier and TypeFieldDescriptionprivate final GameEventVibrationListener.ReceivingEvent.gameEventThe field for thegameEventrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return GameEventModifier and TypeMethodDescriptionVibrationListener.ReceivingEvent.gameEvent()Returns the value of thegameEventrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return types with arguments of type GameEventModifier and TypeMethodDescriptionVibrationListener.VibrationListenerConfig.getListenableEvents()Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type GameEventModifier and TypeMethodDescriptiondefault booleanVibrationListener.VibrationListenerConfig.isValidVibration(GameEvent p_223878_, GameEvent.Context p_223879_) voidVibrationListener.VibrationListenerConfig.onSignalReceive(ServerLevel p_223865_, GameEventListener p_223866_, BlockPos p_223867_, GameEvent p_223868_, Entity p_223869_, Entity p_223870_, float p_223871_) private voidVibrationListener.scheduleSignal(ServerLevel p_223770_, GameEvent p_223771_, GameEvent.Context p_223772_, Vec3 p_223773_, Vec3 p_223774_) booleanVibrationListener.VibrationListenerConfig.shouldListen(ServerLevel p_223872_, GameEventListener p_223873_, BlockPos p_223874_, GameEvent p_223875_, GameEvent.Context p_223876_) Constructors in net.minecraft.world.level.gameevent.vibrations with parameters of type GameEventModifierConstructorDescriptionReceivingEvent(GameEvent p_223817_, float p_223818_, Vec3 p_223819_, UUID p_223820_, UUID p_223821_) ReceivingEvent(GameEvent gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid, Entity entity) Creates an instance of aReceivingEventrecord class.ReceivingEvent(GameEvent p_223812_, float p_223813_, Vec3 p_223814_, Entity p_223815_) -
Uses of GameEvent in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type GameEventModifier and TypeMethodDescriptionstatic booleanForgeHooks.onVanillaGameEvent(Level level, GameEvent vanillaEvent, Vec3 pos, GameEvent.Context context) -
Uses of GameEvent in net.minecraftforge.event
Fields in net.minecraftforge.event declared as GameEventMethods in net.minecraftforge.event that return GameEventConstructors in net.minecraftforge.event with parameters of type GameEventModifierConstructorDescriptionVanillaGameEvent(Level level, GameEvent vanillaEvent, Vec3 position, GameEvent.Context context)