Uses of Class
org.bukkit.WorldCreator
Packages that use WorldCreator
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of WorldCreator in org.bukkit
Methods in org.bukkit that return WorldCreatorModifier and TypeMethodDescription@NotNull WorldCreatorWorldCreator.biomeProvider(@Nullable String biomeProvider) Sets the biome provider that will be used to create or load the world.@NotNull WorldCreatorWorldCreator.biomeProvider(@Nullable String biomeProvider, @Nullable CommandSender output) Sets the biome provider that will be used to create or load the world.@NotNull WorldCreatorWorldCreator.biomeProvider(@Nullable BiomeProvider biomeProvider) Sets the biome provider that will be used to create or load the world.@NotNull WorldCreatorWorldCreator.bonusChest(boolean bonusChest) Sets whether a bonus chest should be generated or not.@NotNull WorldCreatorCopies the options from the specified world@NotNull WorldCreatorWorldCreator.copy(@NotNull WorldCreator creator) Copies the options from the specifiedWorldCreator@NotNull WorldCreatorWorldCreator.environment(World.Environment env) Sets the environment that will be used to create or load the world@NotNull WorldCreatorWorldCreator.generateStructures(boolean generate) Sets whether or not worlds created or loaded with this creator will have structures.@NotNull WorldCreatorSets the generator that will be used to create or load the world.@NotNull WorldCreatorWorldCreator.generator(@Nullable String generator, @Nullable CommandSender output) Sets the generator that will be used to create or load the world.@NotNull WorldCreatorWorldCreator.generator(@Nullable ChunkGenerator generator) Sets the generator that will be used to create or load the world.@NotNull WorldCreatorWorldCreator.generatorSettings(@NotNull String generatorSettings) Sets the generator settings of the world that will be created or loaded.@NotNull WorldCreatorWorldCreator.hardcore(boolean hardcore) Sets whether the world will be hardcore or not.@NotNull WorldCreatorWorldCreator.keepSpawnLoaded(net.kyori.adventure.util.TriState keepSpawnLoaded) Deprecated, for removal: This API element is subject to removal in a future version.completely unfunctional as the server no longer has always loaded spawn chunks.static @NotNull WorldCreatorCreates a newWorldCreatorfor the given world namestatic @NotNull WorldCreatorWorldCreator.ofKey(@NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given key.static @NotNull WorldCreatorWorldCreator.ofNameAndKey(@NotNull String levelName, @NotNull NamespacedKey worldKey) Creates an empty WorldCreator for the given world name and key@NotNull WorldCreatorWorldCreator.seed(long seed) Sets the seed that will be used to create this world@NotNull WorldCreatorSets the type of the world that will be created or loadedMethods in org.bukkit with parameters of type WorldCreatorModifier and TypeMethodDescription@NotNull WorldCreatorWorldCreator.copy(@NotNull WorldCreator creator) Copies the options from the specifiedWorldCreatorstatic @Nullable WorldBukkit.createWorld(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.@Nullable WorldServer.createWorld(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.