类的使用
org.bukkit.WorldCreator
使用WorldCreator的程序包
-
org.bukkit中WorldCreator的使用
返回WorldCreator的org.bukkit中的方法修饰符和类型方法说明WorldCreator.biomeProvider(@Nullable String biomeProvider) Sets the biome provider that will be used to create or load the world.WorldCreator.biomeProvider(@Nullable String biomeProvider, @Nullable CommandSender output) Sets the biome provider that will be used to create or load the world.WorldCreator.biomeProvider(@Nullable BiomeProvider biomeProvider) Sets the biome provider that will be used to create or load the world.从指定的世界复制设置。WorldCreator.copy(@NotNull WorldCreator creator) 从指定的WorldCreator复制设置。WorldCreator.environment(World.Environment env) 设置用于创建或加载世界的环境。WorldCreator.generateStructures(boolean generate) 设置被这个生成器创建或加载的世界是否会拥有建筑。设置将被用于创建或加载世界的生成器。WorldCreator.generator(@Nullable String generator, @Nullable CommandSender output) 设置将用于创建或加载的生成器。WorldCreator.generator(@Nullable ChunkGenerator generator) 设置将被用于创建或加载世界的生成器。WorldCreator.generatorSettings(@NotNull String generatorSettings) Sets the generator settings of the world that will be created or loaded.WorldCreator.hardcore(boolean hardcore) Sets whether the world will be hardcore or not.WorldCreator.keepSpawnInMemory(boolean keepSpawnInMemory) 已过时。static @NotNull WorldCreator为指定的世界名创建一个新的WorldCreator。WorldCreator.seed(long seed) 设置用于创建这个世界的种子。设置将被创建或加载的世界的类型。参数类型为WorldCreator的org.bukkit中的方法修饰符和类型方法说明WorldCreator.copy(@NotNull WorldCreator creator) 从指定的WorldCreator复制设置。Bukkit.createWorld(@NotNull WorldCreator creator) 用给定的世界生成器来创建或者加载一个世界.Server.createWorld(@NotNull WorldCreator creator) 用给定的世界生成器来创建或者加载一个世界.
World.setChunkForceLoaded(int, int, boolean)以更好地控制