classpublicPriority 3
UniquePrefabGenerator
com.hypixel.hytale.server.worldgen.prefab.unique.UniquePrefabGenerator
5
Methods
5
Public Methods
5
Fields
1
Constructors
Constants
intUNIQUE_ZONE_PLACEMENT_HEURISTIC_ITERATIONS= 8
Constructors
public
UniquePrefabGenerator(String name, PrefabCategory category, IWeightedMap<WorldGenPrefabSupplier> prefabs, UniquePrefabConfiguration configuration, int zoneIndex)Methods
Public Methods (5)
public
WorldGenPrefabSupplier generatePrefab(Random random)@Nullable
public
PrefabCategory getCategory()public
UniquePrefabConfiguration getConfiguration()public
String getName()public
IWeightedMap<WorldGenPrefabSupplier> getPrefabs()Fields
Protected Fields (5)
protected
PrefabCategory categoryprotected
UniquePrefabConfiguration configurationprotected
String nameprotected
IWeightedMap<WorldGenPrefabSupplier> prefabsprotected
int zoneIndex