Uses of Class
net.minecraft.world.level.gameevent.GameEvent
Packages that use GameEvent
Package
Description
- 
Uses of GameEvent in net.minecraft.client.multiplayerMethods 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.debugFields in net.minecraft.client.renderer.debug with type parameters of type GameEventModifier and TypeFieldDescriptionprivate final ResourceKey<GameEvent>GameEventListenerRenderer.TrackedGameEvent.gameEventThe field for thegameEventrecord component.Methods in net.minecraft.client.renderer.debug that return types with arguments of type GameEventModifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.gameEvent()Returns the value of thegameEventrecord component.Methods in net.minecraft.client.renderer.debug with parameters of type GameEventModifier and TypeMethodDescriptionbooleanGameEventListenerRenderer.TrackedListener.handleGameEvent(ServerLevel p_234540_, GameEvent p_249278_, GameEvent.Context p_250285_, Vec3 p_250758_) Method parameters in net.minecraft.client.renderer.debug with type arguments of type GameEventModifier and TypeMethodDescriptionvoidGameEventListenerRenderer.trackGameEvent(ResourceKey<GameEvent> p_294637_, Vec3 p_234515_) Constructor parameters in net.minecraft.client.renderer.debug with type arguments of type GameEventModifierConstructorDescription(package private)TrackedGameEvent(long timeStamp, ResourceKey<GameEvent> gameEvent, Vec3 position) Creates an instance of aTrackedGameEventrecord class.
- 
Uses of GameEvent in net.minecraft.core.registriesFields in net.minecraft.core.registries with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final DefaultedRegistry<GameEvent>BuiltInRegistries.GAME_EVENTstatic final ResourceKey<Registry<GameEvent>>Registries.GAME_EVENT
- 
Uses of GameEvent in net.minecraft.data.tagsFields 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.common.customFields in net.minecraft.network.protocol.common.custom with type parameters of type GameEventModifier and TypeFieldDescriptionprivate final ResourceKey<GameEvent>GameEventDebugPayload.typeThe field for thetyperecord component.Methods in net.minecraft.network.protocol.common.custom that return types with arguments of type GameEventModifier and TypeMethodDescriptionGameEventDebugPayload.type()Returns the value of thetyperecord component.Constructor parameters in net.minecraft.network.protocol.common.custom with type arguments of type GameEventModifierConstructorDescriptionGameEventDebugPayload(ResourceKey<GameEvent> type, Vec3 pos) Creates an instance of aGameEventDebugPayloadrecord class.
- 
Uses of GameEvent in net.minecraft.network.protocol.gameMethods 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.levelMethods 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.tagsFields 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.entityMethods in net.minecraft.world.entity with parameters of type GameEvent
- 
Uses of GameEvent in net.minecraft.world.entity.animal.allayMethods 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 TypeMethodDescriptionbooleanAllay.VibrationUser.canReceiveVibration(ServerLevel p_282038_, BlockPos p_283385_, GameEvent p_283669_, GameEvent.Context p_282208_) booleanAllay.JukeboxListener.handleGameEvent(ServerLevel p_250009_, GameEvent p_251513_, GameEvent.Context p_249478_, Vec3 p_250852_) voidAllay.VibrationUser.onReceiveVibration(ServerLevel p_281422_, BlockPos p_281449_, GameEvent p_281488_, Entity p_281794_, Entity p_281864_, float p_281642_) 
- 
Uses of GameEvent in net.minecraft.world.entity.monster.wardenMethods 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 TypeMethodDescriptionbooleanWarden.VibrationUser.canReceiveVibration(ServerLevel p_282574_, BlockPos p_282323_, GameEvent p_283003_, GameEvent.Context p_282515_) voidWarden.VibrationUser.onReceiveVibration(ServerLevel p_281325_, BlockPos p_282386_, GameEvent p_282261_, Entity p_281438_, Entity p_282582_, float p_283699_) 
- 
Uses of GameEvent in net.minecraft.world.levelMethods 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.entityMethods 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 TypeMethodDescriptionbooleanCalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_282061_, BlockPos p_282550_, GameEvent p_281789_, GameEvent.Context p_281456_) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_282127_, BlockPos p_283268_, GameEvent p_282187_, GameEvent.Context p_282856_) booleanSculkShriekerBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, GameEvent p_282632_, GameEvent.Context p_282914_) booleanSculkCatalystBlockEntity.CatalystListener.handleGameEvent(ServerLevel p_283470_, GameEvent p_282184_, GameEvent.Context p_283014_, Vec3 p_282350_) voidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_282851_, BlockPos p_281608_, GameEvent p_282979_, Entity p_282123_, Entity p_283090_, float p_283130_) voidSculkShriekerBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_283372_, BlockPos p_281679_, GameEvent p_282474_, Entity p_282286_, Entity p_281384_, float p_283119_) 
- 
Uses of GameEvent in net.minecraft.world.level.gameeventFields 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.DRINKstatic final GameEventGameEvent.EATstatic final GameEventGameEvent.ELYTRA_GLIDEstatic final GameEventGameEvent.ENTITY_ACTIONstatic final GameEventGameEvent.ENTITY_DAMAGEstatic final GameEventGameEvent.ENTITY_DIEstatic final GameEventGameEvent.ENTITY_DISMOUNTstatic final GameEventGameEvent.ENTITY_INTERACTstatic final GameEventGameEvent.ENTITY_MOUNTstatic final GameEventGameEvent.ENTITY_PLACEstatic final GameEventGameEvent.EQUIPstatic final GameEventGameEvent.EXPLODEstatic final GameEventGameEvent.FLAPstatic final GameEventGameEvent.FLUID_PICKUPstatic final GameEventGameEvent.FLUID_PLACEprivate final GameEventGameEvent.ListenerInfo.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.PRIME_FUSEstatic final GameEventGameEvent.PROJECTILE_LANDstatic final GameEventGameEvent.PROJECTILE_SHOOTstatic final GameEventGameEvent.RESONATE_1static final GameEventGameEvent.RESONATE_10static final GameEventGameEvent.RESONATE_11static final GameEventGameEvent.RESONATE_12static final GameEventGameEvent.RESONATE_13static final GameEventGameEvent.RESONATE_14static final GameEventGameEvent.RESONATE_15static final GameEventGameEvent.RESONATE_2static final GameEventGameEvent.RESONATE_3static final GameEventGameEvent.RESONATE_4static final GameEventGameEvent.RESONATE_5static final GameEventGameEvent.RESONATE_6static final GameEventGameEvent.RESONATE_7static final GameEventGameEvent.RESONATE_8static final GameEventGameEvent.RESONATE_9static final GameEventGameEvent.SCULK_SENSOR_TENDRILS_CLICKINGstatic final GameEventGameEvent.SHEARstatic final GameEventGameEvent.SHRIEKstatic final GameEventGameEvent.SPLASHstatic final GameEventGameEvent.STEPstatic final GameEventGameEvent.SWIMstatic final GameEventGameEvent.TELEPORTstatic final GameEventGameEvent.UNEQUIPFields 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.ListenerInfo.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 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_) Method parameters in net.minecraft.world.level.gameevent with type arguments of type GameEventConstructors in net.minecraft.world.level.gameevent with parameters of type GameEventModifierConstructorDescriptionListenerInfo(GameEvent p_251490_, Vec3 p_249118_, GameEvent.Context p_251196_, GameEventListener p_251701_, Vec3 p_248854_) 
- 
Uses of GameEvent in net.minecraft.world.level.gameevent.vibrationsFields in net.minecraft.world.level.gameevent.vibrations declared as GameEventModifier and TypeFieldDescriptionprivate final GameEventVibrationInfo.gameEventThe field for thegameEventrecord component.static final GameEvent[]VibrationSystem.RESONANCE_EVENTSFields in net.minecraft.world.level.gameevent.vibrations with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final ToIntFunction<GameEvent>VibrationSystem.VIBRATION_FREQUENCY_FOR_EVENTDeprecated.Methods in net.minecraft.world.level.gameevent.vibrations that return GameEventModifier and TypeMethodDescriptionVibrationInfo.gameEvent()Returns the value of thegameEventrecord component.static GameEventVibrationSystem.getResonanceEventByFrequency(int p_282105_) Methods in net.minecraft.world.level.gameevent.vibrations that return types with arguments of type GameEventMethods in net.minecraft.world.level.gameevent.vibrations with parameters of type GameEventModifier and TypeMethodDescriptionbooleanVibrationSystem.User.canReceiveVibration(ServerLevel p_282960_, BlockPos p_282488_, GameEvent p_282865_, GameEvent.Context p_283577_) voidVibrationSystem.Listener.forceScheduleVibration(ServerLevel p_282808_, GameEvent p_281875_, GameEvent.Context p_281652_, Vec3 p_281530_) static intVibrationSystem.getGameEventFrequency(GameEvent p_281355_) booleanVibrationSystem.Listener.handleGameEvent(ServerLevel p_282254_, GameEvent p_283599_, GameEvent.Context p_283664_, Vec3 p_282426_) default booleanVibrationSystem.User.isValidVibration(GameEvent p_282750_, GameEvent.Context p_283373_) voidVibrationSystem.User.onReceiveVibration(ServerLevel p_282148_, BlockPos p_282090_, GameEvent p_283663_, Entity p_281578_, Entity p_281308_, float p_281707_) private voidVibrationSystem.Listener.scheduleVibration(ServerLevel p_282037_, VibrationSystem.Data p_283229_, GameEvent p_281778_, GameEvent.Context p_283344_, Vec3 p_281758_, Vec3 p_282990_) Constructors in net.minecraft.world.level.gameevent.vibrations with parameters of type GameEventModifierConstructorDescriptionVibrationInfo(GameEvent p_249055_, float p_250190_, Vec3 p_251692_, UUID p_249849_, UUID p_249731_) VibrationInfo(GameEvent gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid, Entity entity) Creates an instance of aVibrationInforecord class.VibrationInfo(GameEvent p_252023_, float p_251086_, Vec3 p_250935_, Entity p_249432_) 
- 
Uses of GameEvent in net.neoforged.neoforge.commonMethods in net.neoforged.neoforge.common with parameters of type GameEventModifier and TypeMethodDescriptionstatic booleanCommonHooks.onVanillaGameEvent(Level level, GameEvent vanillaEvent, Vec3 pos, GameEvent.Context context) 
- 
Uses of GameEvent in net.neoforged.neoforge.eventFields in net.neoforged.neoforge.event declared as GameEventMethods in net.neoforged.neoforge.event that return GameEventConstructors in net.neoforged.neoforge.event with parameters of type GameEventModifierConstructorDescriptionVanillaGameEvent(Level level, GameEvent vanillaEvent, Vec3 position, GameEvent.Context context) 
- 
Uses of GameEvent in net.neoforged.neoforge.registries.datamaps.builtinFields in net.neoforged.neoforge.registries.datamaps.builtin with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final DataMapType<GameEvent,VibrationFrequency> NeoForgeDataMaps.VIBRATION_FREQUENCIESThe GameEvent data map that replacesVibrationSystem.VIBRATION_FREQUENCY_FOR_EVENT.
data mapinstead.