Klasse GeneratorConfiguration.StructureGeneration
java.lang.Object
de.freesoccerhdx.advancedworldcreatorapi.GeneratorConfiguration.StructureGeneration
- Umschließende Klasse:
GeneratorConfiguration
Represents the Configuration of the Structureplacement
e.g. How often Structures like Villages or Mineshafts can spawn
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates 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 -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
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
-
Konstruktordetails
-
StructureGeneration
public StructureGeneration(boolean useOverworld) Creates the Structure-Object with all the default Structureinformation from the Overworld- Parameter:
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
-
-
Methodendetails
-
addStructureTypeInfo
public void addStructureTypeInfo(org.bukkit.StructureType structureType, GeneratorConfiguration.StructureInfo structureInfo) Adds a StructureType with its StructureInfo to the StructureGeneration- Parameter:
structureType
- The Structure to addstructureInfo
- The Create-Information
-
getStructureInfos
Gets the full Data of the StructureGeneration for the World- Gibt zurück:
- The StructureGeneration-Data
-