Schnittstelle EngineLevelAccess

Alle Superschnittstellen:
EngineInterface<net.minecraft.server.level.ServerLevel>
Alle bekannten Implementierungsklassen:
ServerLevelMixin

public interface EngineLevelAccess extends EngineInterface<net.minecraft.server.level.ServerLevel>
Controls server level ticking behavior when no players are present.
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    default void
    engine$setTickWhenEmpty(boolean tickWhenEmpty)
    Sets whether the level should continue ticking when empty of players.
    default boolean
    Returns whether the level should currently tick.

    Von Schnittstelle geerbte Methoden EngineInterface

    engine$self
  • Methodendetails

    • engine$setTickWhenEmpty

      default void engine$setTickWhenEmpty(boolean tickWhenEmpty)
      Sets whether the level should continue ticking when empty of players.
    • engine$shouldTick

      default boolean engine$shouldTick()
      Returns whether the level should currently tick.