Contents
Class LocationCondition.Config
java.lang.Object
com.hypixel.hytale.builtin.adventure.worldevents.condition.LocationCondition.Config
- All Implemented Interfaces:
EventCondition.Config
- Enclosing class:
LocationCondition
-
Field Summary
FieldsFields inherited from interface EventCondition.Config
ARRAY_CODEC, EMPTY_ARRAY, TYPE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a new live condition instance from this config.voidCalled at asset-load time so the config can register anyContextKeyvalues it references and perform any other validation of the configuration.
-
Field Details
-
CODEC
-
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
create
Description copied from interface:EventCondition.ConfigCreates a new live condition instance from this config. Called once per stage start.- Specified by:
createin interfaceEventCondition.Config- Returns:
- a fresh, unstarted condition ready to be submitted to the
ConditionManager
-
validate
Description copied from interface:EventCondition.ConfigCalled at asset-load time so the config can register anyContextKeyvalues it references and perform any other validation of the configuration.- Specified by:
validatein interfaceEventCondition.Config- Parameters:
validator- the validator to register key references with
-