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 TypeMethodDescriptionvoid
ClientLevel.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 GameEvent
GameEventListenerRenderer.TrackedGameEvent.gameEvent
The field for thegameEvent
record component.Methods in net.minecraft.client.renderer.debug that return GameEventModifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.gameEvent()
Returns the value of thegameEvent
record component.Methods in net.minecraft.client.renderer.debug with parameters of type GameEventModifier and TypeMethodDescriptionboolean
GameEventListenerRenderer.TrackedListener.handleGameEvent
(ServerLevel p_234540_, GameEvent p_249278_, GameEvent.Context p_250285_, Vec3 p_250758_) void
GameEventListenerRenderer.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 aTrackedGameEvent
record class. -
Uses of GameEvent in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final DefaultedRegistry<GameEvent>
BuiltInRegistries.GAME_EVENT
static final ResourceKey<Registry<GameEvent>>
Registries.GAME_EVENT
-
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 void
DebugPackets.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 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
Fields in net.minecraft.tags with type parameters of type GameEventModifier and TypeFieldDescriptionGameEventTags.ALLAY_CAN_LISTEN
GameEventTags.IGNORE_VIBRATIONS_SNEAKING
GameEventTags.SHRIEKER_CAN_LISTEN
GameEventTags.VIBRATIONS
GameEventTags.WARDEN_CAN_LISTEN
Methods 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 TypeMethodDescriptionboolean
Allay.JukeboxListener.handleGameEvent
(ServerLevel p_250009_, GameEvent p_251513_, GameEvent.Context p_249478_, Vec3 p_250852_) void
Allay.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_) boolean
Allay.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 TypeMethodDescriptionvoid
Warden.onSignalReceive
(ServerLevel p_219362_, GameEventListener p_219363_, BlockPos p_219364_, GameEvent p_219365_, Entity p_219366_, Entity p_219367_, float p_219368_) boolean
Warden.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 InteractionResult
ContainerEntity.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 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
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 TypeMethodDescriptionboolean
SculkCatalystBlockEntity.handleGameEvent
(ServerLevel p_249401_, GameEvent p_251680_, GameEvent.Context p_248816_, Vec3 p_248534_) void
SculkSensorBlockEntity.onSignalReceive
(ServerLevel p_222803_, GameEventListener p_222804_, BlockPos p_222805_, GameEvent p_222806_, Entity p_222807_, Entity p_222808_, float p_222809_) void
SculkShriekerBlockEntity.onSignalReceive
(ServerLevel p_222848_, GameEventListener p_222849_, BlockPos p_222850_, GameEvent p_222851_, Entity p_222852_, Entity p_222853_, float p_222854_) boolean
SculkSensorBlockEntity.shouldListen
(ServerLevel p_222811_, GameEventListener p_222812_, BlockPos p_222813_, GameEvent p_222814_, GameEvent.Context p_222815_) boolean
SculkShriekerBlockEntity.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 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.DISPENSE_FAIL
static final GameEvent
GameEvent.DRINK
static final GameEvent
GameEvent.EAT
static final GameEvent
GameEvent.ELYTRA_GLIDE
static final GameEvent
GameEvent.ENTITY_DAMAGE
static final GameEvent
GameEvent.ENTITY_DIE
static final GameEvent
GameEvent.ENTITY_INTERACT
static final GameEvent
GameEvent.ENTITY_PLACE
static final GameEvent
GameEvent.ENTITY_ROAR
static final GameEvent
GameEvent.ENTITY_SHAKE
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.PISTON_CONTRACT
static final GameEvent
GameEvent.PISTON_EXTEND
static final GameEvent
GameEvent.PRIME_FUSE
static final GameEvent
GameEvent.PROJECTILE_LAND
static final GameEvent
GameEvent.PROJECTILE_SHOOT
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
Fields in net.minecraft.world.level.gameevent with type parameters of type GameEventModifier and TypeFieldDescriptionprivate final Holder.Reference<GameEvent>
GameEvent.builtInRegistryHolder
Methods in net.minecraft.world.level.gameevent that return GameEventModifier and TypeMethodDescriptionGameEvent.ListenerInfo.gameEvent()
private static GameEvent
private static GameEvent
Methods 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 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_) 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.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as GameEventModifier and TypeFieldDescriptionprivate final GameEvent
VibrationInfo.gameEvent
The field for thegameEvent
record component.Fields in net.minecraft.world.level.gameevent.vibrations with type parameters of type GameEventModifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.objects.Object2IntMap<GameEvent>
VibrationListener.VIBRATION_FREQUENCY_FOR_EVENT
Methods in net.minecraft.world.level.gameevent.vibrations that return GameEventModifier and TypeMethodDescriptionVibrationInfo.gameEvent()
Returns the value of thegameEvent
record 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 TypeMethodDescriptionvoid
VibrationListener.forceGameEvent
(ServerLevel p_250726_, GameEvent p_251544_, GameEvent.Context p_250365_, Vec3 p_249607_) static int
VibrationListener.getGameEventFrequency
(GameEvent p_252168_) boolean
VibrationListener.handleGameEvent
(ServerLevel p_251930_, GameEvent p_250161_, GameEvent.Context p_251443_, Vec3 p_250045_) default boolean
VibrationListener.VibrationListenerConfig.isValidVibration
(GameEvent p_223878_, GameEvent.Context p_223879_) void
VibrationListener.VibrationListenerConfig.onSignalReceive
(ServerLevel p_223865_, GameEventListener p_223866_, BlockPos p_223867_, GameEvent p_223868_, Entity p_223869_, Entity p_223870_, float p_223871_) void
VibrationListener.scheduleVibration
(ServerLevel p_250210_, GameEvent p_251063_, GameEvent.Context p_249354_, Vec3 p_250310_, Vec3 p_249553_) boolean
VibrationListener.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 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 aVibrationInfo
record class.VibrationInfo
(GameEvent p_252023_, float p_251086_, Vec3 p_250935_, Entity p_249432_) -
Uses of GameEvent in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type GameEventModifier and TypeMethodDescriptionstatic boolean
ForgeHooks.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)