Uses of Record Class
net.minecraft.world.event.GameEvent.class_7397
Packages that use GameEvent.class_7397
Package
Description
-
Uses of GameEvent.class_7397 in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionbooleanSculkSensorBlockEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.class_7397 class_7397) Returns whether the callback wants to accept this event.booleanSculkShriekerBlockEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.class_7397 class_7397) Returns whether the callback wants to accept this event.booleanSculkCatalystBlockEntity.listen(ServerWorld world, GameEvent event, GameEvent.class_7397 class_7397, Vec3d pos) Listens to an incoming game event. -
Uses of GameEvent.class_7397 in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionbooleanGameEventDebugRenderer.Listener.listen(ServerWorld world, GameEvent event, GameEvent.class_7397 class_7397, Vec3d pos) Listens to an incoming game event. -
Uses of GameEvent.class_7397 in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionvoidClientWorld.emitGameEvent(GameEvent gameEvent, Vec3d vec3d, GameEvent.class_7397 class_7397) Emits an game event. -
Uses of GameEvent.class_7397 in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionbooleanWardenEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.class_7397 class_7397) Returns whether the callback wants to accept this event. -
Uses of GameEvent.class_7397 in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionbooleanAllayEntity.listen(ServerWorld world, GameEvent event, GameEvent.class_7397 class_7397, Vec3d pos) Listens to an incoming game event. -
Uses of GameEvent.class_7397 in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionvoidServerWorld.emitGameEvent(GameEvent gameEvent, Vec3d vec3d, GameEvent.class_7397 class_7397) Emits an game event. -
Uses of GameEvent.class_7397 in net.minecraft.world
Methods in net.minecraft.world with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionvoidChunkRegion.emitGameEvent(GameEvent gameEvent, Vec3d vec3d, GameEvent.class_7397 class_7397) Emits an game event.voidWorldAccess.emitGameEvent(GameEvent gameEvent, Vec3d vec3d, GameEvent.class_7397 class_7397) Emits an game event.default voidWorldAccess.method_43276(GameEvent gameEvent, BlockPos blockPos, GameEvent.class_7397 class_7397) -
Uses of GameEvent.class_7397 in net.minecraft.world.event
Methods in net.minecraft.world.event that return GameEvent.class_7397Modifier and TypeMethodDescriptionstatic GameEvent.class_7397GameEvent.class_7397.method_43285(@Nullable Entity entity) static GameEvent.class_7397GameEvent.class_7397.method_43286(@Nullable Entity entity, @Nullable BlockState blockState) static GameEvent.class_7397GameEvent.class_7397.method_43287(@Nullable BlockState blockState) -
Uses of GameEvent.class_7397 in net.minecraft.world.event.listener
Methods in net.minecraft.world.event.listener with parameters of type GameEvent.class_7397Modifier and TypeMethodDescriptionbooleanSculkSensorListener.Callback.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.class_7397 class_7397) Returns whether the callback wants to accept this event.default booleanSculkSensorListener.Callback.canAccept(GameEvent gameEvent, GameEvent.class_7397 class_7397) voidGameEventDispatcher.dispatch(GameEvent event, Vec3d vec3d, GameEvent.class_7397 class_7397) Dispatches an event to all the listeners in this dispatcher.voidSimpleGameEventDispatcher.dispatch(GameEvent event, Vec3d vec3d, GameEvent.class_7397 class_7397) Dispatches an event to all the listeners in this dispatcher.private static booleanSimpleGameEventDispatcher.dispatchTo(ServerWorld world, GameEvent event, GameEvent.class_7397 class_7397, Vec3d pos, GameEventListener listener) booleanGameEventListener.listen(ServerWorld world, GameEvent event, GameEvent.class_7397 class_7397, Vec3d pos) Listens to an incoming game event.booleanSculkSensorListener.listen(ServerWorld world, GameEvent event, GameEvent.class_7397 class_7397, Vec3d pos) Listens to an incoming game event.private voidSculkSensorListener.listen(ServerWorld world, GameEvent gameEvent, GameEvent.class_7397 class_7397, Vec3d start, Vec3d end)