Klasse AdvancedWorldCreator

java.lang.Object
org.bukkit.WorldCreator
de.freesoccerhdx.advancedworldcreatorapi.AdvancedWorldCreator

public class AdvancedWorldCreator extends org.bukkit.WorldCreator
This class is used to create a new world with the AdvancedWorldCreatorAPI
  • Konstruktordetails

    • AdvancedWorldCreator

      public AdvancedWorldCreator(String worldname)
      Creates an empty WorldCreationOptions for the given world name
      Parameter:
      worldname - Name of the world that will be created
  • Methodendetails

    • getStructurePlacementOverride

      public StructurePlacementOverride getStructurePlacementOverride()
    • setStructurePlacementOverride

      public void setStructurePlacementOverride(StructurePlacementOverride structurePlacementOverride)
    • setGeneratorConfiguration

      public void setGeneratorConfiguration(GeneratorConfiguration generatorConfiguration)
      Sets the GeneratorConfiguration to create a more modifier World. null as Argument will remove the GeneratorConfiguration and will generate the World with vanilla behaviour
      Parameter:
      generatorConfiguration - The Custom GeneratorConfiguration
    • getGeneratorConfiguration

      public GeneratorConfiguration getGeneratorConfiguration()
      Gets the GeneratorConfiguration or null if not set before
      Gibt zurück:
      GeneratorConfiguration
    • setEnvironmentBuilder

      public void setEnvironmentBuilder(EnvironmentBuilder environmentBuilder)
      Sets the EnvironmentBuilder to create a Custom World.Environment null as Argument will remove the EnvironmentBuilder and will set the World.Environment to Normal, otherwise to Custom
      Parameter:
      environmentBuilder - The Builder for the Custom Environment
    • getEnvironmentBuilder

      public EnvironmentBuilder getEnvironmentBuilder()
      Gets the EnvironmentBuilder or null if not set before
      Gibt zurück:
      The @EnvironmentBuilder
    • createWorld

      public org.bukkit.World createWorld()
      Setzt außer Kraft:
      createWorld in Klasse org.bukkit.WorldCreator