Contents
Class PrefabSpawner.Config
java.lang.Object
com.hypixel.hytale.builtin.adventure.worldevents.condition.spawner.PrefabSpawner.Config
- All Implemented Interfaces:
Spawner.Config
- Enclosing class:
PrefabSpawner
-
Field Summary
FieldsFields inherited from interface Spawner.Config
ARRAY_CODEC, EMPTY_ARRAY, TYPE_CODEC -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CODEC
-
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
create
Description copied from interface:Spawner.ConfigCreates a newSpawnerinstance from this config.- Specified by:
createin interfaceSpawner.Config- Returns:
- a fresh spawner ready for use
-
validate
Description copied from interface:Spawner.ConfigCalled at asset-load time so the config can register anyContextKeyvalues it defines or references.- Specified by:
validatein interfaceSpawner.Config- Parameters:
validator- the validator to register key references with
-