Interface EngineLevelAccess
- All Superinterfaces:
EngineInterface<net.minecraft.server.level.ServerLevel>
- All Known Implementing Classes:
ServerLevelMixin
Controls server level ticking behavior when no players are present.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidengine$setTickWhenEmpty(boolean tickWhenEmpty) Sets whether the level should continue ticking when empty of players.default booleanReturns whether the level should currently tick.Methods inherited from interface EngineInterface
engine$self
-
Method Details
-
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.
-