Uses of Record Class
net.minecraft.world.event.GameEvent.Emitter
Package
Description
-
Uses of GameEvent.Emitter in net.minecraft.block.entity
Modifier and TypeMethodDescriptionboolean
CalibratedSculkSensorBlockEntity.Callback.accepts
(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
SculkSensorBlockEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
SculkShriekerBlockEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
SculkCatalystBlockEntity.Listener.listen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event. -
Uses of GameEvent.Emitter in net.minecraft.client.render.debug
Modifier and TypeMethodDescriptionboolean
GameEventDebugRenderer.Listener.listen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event. -
Uses of GameEvent.Emitter in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.emitGameEvent
(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event. -
Uses of GameEvent.Emitter in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionboolean
WardenEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event. -
Uses of GameEvent.Emitter in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionboolean
AllayEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
AllayEntity.JukeboxEventListener.listen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event. -
Uses of GameEvent.Emitter in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerWorld.emitGameEvent
(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event. -
Uses of GameEvent.Emitter in net.minecraft.world
Modifier and TypeMethodDescriptionvoid
ChunkRegion.emitGameEvent
(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.default void
WorldAccess.emitGameEvent
(GameEvent event, BlockPos pos, GameEvent.Emitter emitter) void
WorldAccess.emitGameEvent
(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event. -
Uses of GameEvent.Emitter in net.minecraft.world.event
Modifier and TypeMethodDescriptionGameEvent.Message.getEmitter()
static GameEvent.Emitter
GameEvent.Emitter.of
(@Nullable BlockState affectedState) static GameEvent.Emitter
static GameEvent.Emitter
GameEvent.Emitter.of
(@Nullable Entity sourceEntity, @Nullable BlockState affectedState) Modifier and TypeMethodDescriptionboolean
Vibrations.Callback.accepts
(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.default boolean
Vibrations.Callback.canAccept
(GameEvent gameEvent, GameEvent.Emitter emitter) void
Vibrations.VibrationListener.forceListen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) boolean
Vibrations.VibrationListener.listen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private void
Vibrations.VibrationListener.listen
(ServerWorld world, Vibrations.ListenerData listenerData, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos, Vec3d listenerPos) ModifierConstructorDescriptionMessage
(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter, GameEventListener listener, Vec3d listenerPos) -
Uses of GameEvent.Emitter in net.minecraft.world.event.listener
Modifier and TypeMethodDescriptionboolean
GameEventDispatcher.dispatch
(GameEvent event, Vec3d pos, GameEvent.Emitter emitter, GameEventDispatcher.DispatchCallback callback) Dispatches an event to all the listeners in this dispatcher.void
GameEventDispatchManager.dispatch
(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter) boolean
SimpleGameEventDispatcher.dispatch
(GameEvent event, Vec3d pos, GameEvent.Emitter emitter, GameEventDispatcher.DispatchCallback callback) Dispatches an event to all the listeners in this dispatcher.boolean
GameEventListener.listen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.