Class GeneratorConfiguration.StructureGeneration
java.lang.Object
de.freesoccerhdx.advancedworldcreatorapi.GeneratorConfiguration.StructureGeneration
- Enclosing class:
- GeneratorConfiguration
Represents the Configuration of the Structureplacement
e.g. How often Structures like Villages or Mineshafts can spawn
-
Constructor Summary
ConstructorDescriptionCreates the Structure-Object with no allowed Structure to spawn by defaultStructureGeneration
(boolean useOverworld) Creates the Structure-Object with all the default Structureinformation from the Overworld -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStructureTypeInfo
(org.bukkit.StructureType structureType, GeneratorConfiguration.StructureInfo structureInfo) Adds a StructureType with its StructureInfo to the StructureGenerationHashMap<org.bukkit.StructureType,
GeneratorConfiguration.StructureInfo> Gets the full Data of the StructureGeneration for the World
-
Constructor Details
-
StructureGeneration
public StructureGeneration(boolean useOverworld) Creates the Structure-Object with all the default Structureinformation from the Overworld- Parameters:
useOverworld
- - Whether the World has default Overworld-Settings or not
-
StructureGeneration
public StructureGeneration()Creates the Structure-Object with no allowed Structure to spawn by default
-
-
Method Details
-
addStructureTypeInfo
public void addStructureTypeInfo(org.bukkit.StructureType structureType, GeneratorConfiguration.StructureInfo structureInfo) Adds a StructureType with its StructureInfo to the StructureGeneration- Parameters:
structureType
- The Structure to addstructureInfo
- The Create-Information
-
getStructureInfos
Gets the full Data of the StructureGeneration for the World- Returns:
- The StructureGeneration-Data
-