HyCodeYourTale
classpublicPriority 3

PrefabSpawnerState

com.hypixel.hytale.server.core.modules.prefabspawner.PrefabSpawnerState

extends BlockState

10

Methods

10

Public Methods

5

Fields

1

Constructors

Constants

BuilderCodec<PrefabSpawnerState.PrefabSpawnerSettingsPageEventData>CODEC= BuilderCodec.builder( PrefabSpawnerState.PrefabSpawnerSettingsPageEventData.class, Pr...
Codec<PrefabSpawnerState>CODEC= BuilderCodec.builder(PrefabSpawnerState.class, PrefabSpawnerState::new, BlockState.BASE_CODEC) ...
KeyedCodec<Boolean>FIT_HEIGHTMAP_CODEC= new KeyedCodec<>("FitHeightmap", Codec.BOOLEAN)
KeyedCodec<Boolean>INHERIT_HEIGHT_CONDITION_CODEC= new KeyedCodec<>("InheritHeightCondition", Codec.BOOLEAN)
KeyedCodec<Boolean>INHERIT_SEED_CODEC= new KeyedCodec<>("InheritSeed", Codec.BOOLEAN)
StringKEY_DEFAULT_WEIGHT= "@DefaultWeight"
StringKEY_FIT_HEIGHTMAP= "@FitHeightmap"
StringKEY_INHERIT_HEIGHT_CONDITION= "@InheritHeightCondition"
StringKEY_INHERIT_SEED= "@InheritSeed"
StringKEY_PREFAB_PATH= "@PrefabPath"
StringKEY_PREFAB_WEIGHTS= "@PrefabWeights"
StringPREFAB_SPAWNER_TYPE= "prefabspawner"
KeyedCodec<PrefabWeights>PREFAB_WEIGHTS_CODEC= new KeyedCodec<>("PrefabWeights", PrefabWeights.CODEC)

Constructors

public
PrefabSpawnerState()

Methods

Public Methods (10)

public
String getPrefabPath()
public
PrefabWeights getPrefabWeights()
public
boolean isFitHeightmap()
public
boolean isInheritHeightCondition()
public
boolean isInheritSeed()
public
void setFitHeightmap(boolean fitHeightmap)
public
void setInheritHeightCondition(boolean inheritHeightCondition)
public
void setInheritSeed(boolean inheritSeed)
public
void setPrefabPath(String prefabPath)
public
void setPrefabWeights(PrefabWeights prefabWeights)

Fields

Private/Package Fields (5)

privateboolean fitHeightmap
privateboolean inheritHeightCondition
privateboolean inheritSeed
privateString prefabPath
privatePrefabWeights prefabWeights

Related Classes