Contents
Class TimeoutCondition
java.lang.Object
com.hypixel.hytale.builtin.instances.removal.TimeoutCondition
- All Implemented Interfaces:
RemovalCondition
-
Field Summary
FieldsFields inherited from interface RemovalCondition
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleanshouldRemoveWorld(Store<ChunkStore> store) Tests the world to see whether it should be removed or not.
-
Field Details
-
CODEC
-
-
Constructor Details
-
TimeoutCondition
public TimeoutCondition() -
TimeoutCondition
public TimeoutCondition(double timeoutSeconds)
-
-
Method Details
-
getTimeoutSeconds
public double getTimeoutSeconds() -
shouldRemoveWorld
Description copied from interface:RemovalConditionTests the world to see whether it should be removed or not.- Specified by:
shouldRemoveWorldin interfaceRemovalCondition- Parameters:
store- The world to test.- Returns:
- Whether to remove the world.
-