Class AdvancedWorldCreatorAPI

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
de.freesoccerhdx.advancedworldcreatorapi.AdvancedWorldCreatorAPI
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.event.Listener, org.bukkit.plugin.Plugin

public final class AdvancedWorldCreatorAPI extends org.bukkit.plugin.java.JavaPlugin implements org.bukkit.event.Listener
Represents the main class of the AdvancedWorldCreatorAPI
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.World
    Creates the World with the provided AdvancedWorldCreator Modified version of CraftServer.createWorld(WorldCreator)
    static boolean
    Allows to create a custom Environment or even override an existing one
    static boolean
    Simple Method to generate GeneratorSettingBase (How the Terrain will generate and which structures)

    Methods inherited from class org.bukkit.plugin.java.JavaPlugin

    getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isNaggable, onCommand, onDisable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toString

    Methods inherited from class org.bukkit.plugin.PluginBase

    equals, getName, hashCode

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AdvancedWorldCreatorAPI

      public AdvancedWorldCreatorAPI()
  • Method Details

    • createWorld

      public static org.bukkit.World createWorld(AdvancedWorldCreator creator)
      Creates the World with the provided AdvancedWorldCreator Modified version of CraftServer.createWorld(WorldCreator)
      Parameters:
      creator - The Custom AdvancedWorldCreator
      Returns:
      The World that will be created or exists already
    • registerCustomEnvironment

      public static boolean registerCustomEnvironment(EnvironmentBuilder builder)
      Allows to create a custom Environment or even override an existing one
      Parameters:
      builder - The EnvironmentBuilder to create the Environment
      Returns:
      true if creating and registering of the Environment was successful
    • registerGeneratorConfiguration

      public static boolean registerGeneratorConfiguration(GeneratorConfiguration generatorConfiguration)
      Simple Method to generate GeneratorSettingBase (How the Terrain will generate and which structures)
      Parameters:
      generatorConfiguration - The GeneratorConfiguration to generate the GeneratorSettingBase
      Returns:
      true if creating and registering of the GeneratorConfiguration was successful