Uses of Class
net.minecraft.world.level.gameevent.GameEvent
Package
Description
-
Uses of GameEvent in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientLevel.gameEvent
(GameEvent p_233639_, Vec3 p_233640_, GameEvent.Context p_233641_) -
Uses of GameEvent in net.minecraft.client.renderer.debug
Modifier and TypeFieldDescriptionprivate final ResourceKey<GameEvent>
GameEventListenerRenderer.TrackedGameEvent.gameEvent
The field for thegameEvent
record component.Modifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.gameEvent()
Returns the value of thegameEvent
record component.Modifier and TypeMethodDescriptionboolean
GameEventListenerRenderer.TrackedListener.handleGameEvent
(ServerLevel p_234540_, GameEvent p_249278_, GameEvent.Context p_250285_, Vec3 p_250758_) Modifier and TypeMethodDescriptionvoid
GameEventListenerRenderer.trackGameEvent
(ResourceKey<GameEvent> p_294637_, Vec3 p_234515_) ModifierConstructorDescription(package private)
TrackedGameEvent
(long timeStamp, ResourceKey<GameEvent> gameEvent, Vec3 position) Creates an instance of aTrackedGameEvent
record class. -
Uses of GameEvent in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<GameEvent>
BuiltInRegistries.GAME_EVENT
static final ResourceKey<Registry<GameEvent>>
Registries.GAME_EVENT
-
Uses of GameEvent in net.minecraft.data.tags
Modifier and TypeFieldDescription(package private) static final GameEvent[]
GameEventTagsProvider.VIBRATIONS_EXCEPT_FLAP
-
Uses of GameEvent in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionprivate final ResourceKey<GameEvent>
GameEventDebugPayload.type
The field for thetype
record component.Modifier and TypeMethodDescriptionGameEventDebugPayload.type()
Returns the value of thetype
record component.ModifierConstructorDescriptionGameEventDebugPayload
(ResourceKey<GameEvent> type, Vec3 pos) Creates an instance of aGameEventDebugPayload
record class. -
Uses of GameEvent in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionstatic void
DebugPackets.sendGameEventInfo
(Level p_237888_, GameEvent p_237889_, Vec3 p_237890_) -
Uses of GameEvent in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerLevel.gameEvent
(GameEvent p_215041_, Vec3 p_215042_, GameEvent.Context p_215043_) void
WorldGenRegion.gameEvent
(GameEvent p_215163_, Vec3 p_215164_, GameEvent.Context p_215165_) -
Uses of GameEvent in net.minecraft.tags
Modifier and TypeFieldDescriptionGameEventTags.ALLAY_CAN_LISTEN
GameEventTags.IGNORE_VIBRATIONS_SNEAKING
GameEventTags.SHRIEKER_CAN_LISTEN
GameEventTags.VIBRATIONS
GameEventTags.WARDEN_CAN_LISTEN
-
Uses of GameEvent in net.minecraft.world.entity
-
Uses of GameEvent in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionboolean
Allay.VibrationUser.canReceiveVibration
(ServerLevel p_282038_, BlockPos p_283385_, GameEvent p_283669_, GameEvent.Context p_282208_) boolean
Allay.JukeboxListener.handleGameEvent
(ServerLevel p_250009_, GameEvent p_251513_, GameEvent.Context p_249478_, Vec3 p_250852_) void
Allay.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.warden
Modifier and TypeMethodDescriptionboolean
Warden.VibrationUser.canReceiveVibration
(ServerLevel p_282574_, BlockPos p_282323_, GameEvent p_283003_, GameEvent.Context p_282515_) void
Warden.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.level
Modifier and TypeMethodDescriptiondefault void
default void
default void
LevelAccessor.gameEvent
(GameEvent p_220408_, BlockPos p_220409_, GameEvent.Context p_220410_) void
LevelAccessor.gameEvent
(GameEvent p_220404_, Vec3 p_220405_, GameEvent.Context p_220406_) -
Uses of GameEvent in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionboolean
CalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_282061_, BlockPos p_282550_, GameEvent p_281789_, GameEvent.Context p_281456_) boolean
SculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_282127_, BlockPos p_283268_, GameEvent p_282187_, GameEvent.Context p_282856_) boolean
SculkShriekerBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_281256_, BlockPos p_281528_, GameEvent p_282632_, GameEvent.Context p_282914_) boolean
SculkCatalystBlockEntity.CatalystListener.handleGameEvent
(ServerLevel p_283470_, GameEvent p_282184_, GameEvent.Context p_283014_, Vec3 p_282350_) void
SculkSensorBlockEntity.VibrationUser.onReceiveVibration
(ServerLevel p_282851_, BlockPos p_281608_, GameEvent p_282979_, Entity p_282123_, Entity p_283090_, float p_283130_) void
SculkShriekerBlockEntity.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.gameevent
Modifier and TypeFieldDescriptionstatic final GameEvent
GameEvent.BLOCK_ACTIVATE
static final GameEvent
GameEvent.BLOCK_ATTACH
static final GameEvent
GameEvent.BLOCK_CHANGE
static final GameEvent
GameEvent.BLOCK_CLOSE
static final GameEvent
GameEvent.BLOCK_DEACTIVATE
static final GameEvent
GameEvent.BLOCK_DESTROY
static final GameEvent
GameEvent.BLOCK_DETACH
static final GameEvent
GameEvent.BLOCK_OPEN
static final GameEvent
GameEvent.BLOCK_PLACE
static final GameEvent
GameEvent.CONTAINER_CLOSE
static final GameEvent
GameEvent.CONTAINER_OPEN
static final GameEvent
GameEvent.DRINK
static final GameEvent
GameEvent.EAT
static final GameEvent
GameEvent.ELYTRA_GLIDE
static final GameEvent
GameEvent.ENTITY_ACTION
static final GameEvent
GameEvent.ENTITY_DAMAGE
static final GameEvent
GameEvent.ENTITY_DIE
static final GameEvent
GameEvent.ENTITY_DISMOUNT
static final GameEvent
GameEvent.ENTITY_INTERACT
static final GameEvent
GameEvent.ENTITY_MOUNT
static final GameEvent
GameEvent.ENTITY_PLACE
static final GameEvent
GameEvent.EQUIP
static final GameEvent
GameEvent.EXPLODE
static final GameEvent
GameEvent.FLAP
static final GameEvent
GameEvent.FLUID_PICKUP
static final GameEvent
GameEvent.FLUID_PLACE
private final GameEvent
GameEvent.ListenerInfo.gameEvent
static final GameEvent
GameEvent.HIT_GROUND
static final GameEvent
GameEvent.INSTRUMENT_PLAY
static final GameEvent
GameEvent.ITEM_INTERACT_FINISH
static final GameEvent
GameEvent.ITEM_INTERACT_START
static final GameEvent
GameEvent.JUKEBOX_PLAY
static final GameEvent
GameEvent.JUKEBOX_STOP_PLAY
static final GameEvent
GameEvent.LIGHTNING_STRIKE
static final GameEvent
GameEvent.NOTE_BLOCK_PLAY
static final GameEvent
GameEvent.PRIME_FUSE
static final GameEvent
GameEvent.PROJECTILE_LAND
static final GameEvent
GameEvent.PROJECTILE_SHOOT
static final GameEvent
GameEvent.RESONATE_1
static final GameEvent
GameEvent.RESONATE_10
static final GameEvent
GameEvent.RESONATE_11
static final GameEvent
GameEvent.RESONATE_12
static final GameEvent
GameEvent.RESONATE_13
static final GameEvent
GameEvent.RESONATE_14
static final GameEvent
GameEvent.RESONATE_15
static final GameEvent
GameEvent.RESONATE_2
static final GameEvent
GameEvent.RESONATE_3
static final GameEvent
GameEvent.RESONATE_4
static final GameEvent
GameEvent.RESONATE_5
static final GameEvent
GameEvent.RESONATE_6
static final GameEvent
GameEvent.RESONATE_7
static final GameEvent
GameEvent.RESONATE_8
static final GameEvent
GameEvent.RESONATE_9
static final GameEvent
GameEvent.SCULK_SENSOR_TENDRILS_CLICKING
static final GameEvent
GameEvent.SHEAR
static final GameEvent
GameEvent.SHRIEK
static final GameEvent
GameEvent.SPLASH
static final GameEvent
GameEvent.STEP
static final GameEvent
GameEvent.SWIM
static final GameEvent
GameEvent.TELEPORT
static final GameEvent
GameEvent.UNEQUIP
Modifier and TypeFieldDescriptionprivate final Holder.Reference<GameEvent>
GameEvent.builtInRegistryHolder
Modifier and TypeMethodDescriptionGameEvent.ListenerInfo.gameEvent()
private static GameEvent
private static GameEvent
Modifier and TypeMethodDescriptionboolean
GameEventListener.handleGameEvent
(ServerLevel p_223757_, GameEvent p_251491_, GameEvent.Context p_249681_, Vec3 p_251048_) void
GameEventDispatcher.post
(GameEvent p_251754_, Vec3 p_250613_, GameEvent.Context p_251777_) boolean
EuclideanGameEventListenerRegistry.visitInRangeListeners
(GameEvent p_251377_, Vec3 p_251445_, GameEvent.Context p_252317_, GameEventListenerRegistry.ListenerVisitor p_251422_) boolean
GameEventListenerRegistry.visitInRangeListeners
(GameEvent p_251001_, Vec3 p_249144_, GameEvent.Context p_249328_, GameEventListenerRegistry.ListenerVisitor p_250123_) ModifierConstructorDescriptionListenerInfo
(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.vibrations
Modifier and TypeFieldDescriptionprivate final GameEvent
VibrationInfo.gameEvent
The field for thegameEvent
record component.static final GameEvent[]
VibrationSystem.RESONANCE_EVENTS
Modifier and TypeFieldDescriptionstatic final ToIntFunction<GameEvent>
VibrationSystem.VIBRATION_FREQUENCY_FOR_EVENT
Deprecated.Modifier and TypeMethodDescriptionVibrationInfo.gameEvent()
Returns the value of thegameEvent
record component.static GameEvent
VibrationSystem.getResonanceEventByFrequency
(int p_282105_) Modifier and TypeMethodDescriptionboolean
VibrationSystem.User.canReceiveVibration
(ServerLevel p_282960_, BlockPos p_282488_, GameEvent p_282865_, GameEvent.Context p_283577_) void
VibrationSystem.Listener.forceScheduleVibration
(ServerLevel p_282808_, GameEvent p_281875_, GameEvent.Context p_281652_, Vec3 p_281530_) static int
VibrationSystem.getGameEventFrequency
(GameEvent p_281355_) boolean
VibrationSystem.Listener.handleGameEvent
(ServerLevel p_282254_, GameEvent p_283599_, GameEvent.Context p_283664_, Vec3 p_282426_) default boolean
VibrationSystem.User.isValidVibration
(GameEvent p_282750_, GameEvent.Context p_283373_) void
VibrationSystem.User.onReceiveVibration
(ServerLevel p_282148_, BlockPos p_282090_, GameEvent p_283663_, Entity p_281578_, Entity p_281308_, float p_281707_) private void
VibrationSystem.Listener.scheduleVibration
(ServerLevel p_282037_, VibrationSystem.Data p_283229_, GameEvent p_281778_, GameEvent.Context p_283344_, Vec3 p_281758_, Vec3 p_282990_) ModifierConstructorDescriptionVibrationInfo
(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 aVibrationInfo
record class.VibrationInfo
(GameEvent p_252023_, float p_251086_, Vec3 p_250935_, Entity p_249432_) -
Uses of GameEvent in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic boolean
CommonHooks.onVanillaGameEvent
(Level level, GameEvent vanillaEvent, Vec3 pos, GameEvent.Context context) -
Uses of GameEvent in net.neoforged.neoforge.event
ModifierConstructorDescriptionVanillaGameEvent
(Level level, GameEvent vanillaEvent, Vec3 position, GameEvent.Context context) -
Uses of GameEvent in net.neoforged.neoforge.registries.datamaps.builtin
Modifier and TypeFieldDescriptionstatic final DataMapType<GameEvent,
VibrationFrequency> NeoForgeDataMaps.VIBRATION_FREQUENCIES
The GameEvent data map that replacesVibrationSystem.VIBRATION_FREQUENCY_FOR_EVENT
.
data map
instead.