Package org.bukkit.generator
Interface WorldInfo
- All Superinterfaces:
FeatureFlagSetHolder
- All Known Subinterfaces:
World
Holds various information of a World
-
Method Summary
Modifier and TypeMethodDescriptionGets theWorld.Environment
type of this worldint
Gets the maximum height of this world.int
Gets the minimum height of this world.@NotNull String
getName()
Gets the unique name of this worldlong
getSeed()
Gets the Seed for this world.@NotNull UUID
getUID()
Gets the Unique ID of this world@NotNull BiomeProvider
Get the vanillaBiomeProvider
for this world.Methods inherited from interface io.papermc.paper.world.flag.FeatureFlagSetHolder
getFeatureFlags, isEnabled
-
Method Details
-
getName
Gets the unique name of this world- Returns:
- Name of this world
-
getUID
Gets the Unique ID of this world- Returns:
- Unique ID of this world.
-
getEnvironment
Gets theWorld.Environment
type of this world- Returns:
- This worlds Environment type
-
getSeed
long getSeed()Gets the Seed for this world.- Returns:
- This worlds Seed
-
getMinHeight
int getMinHeight()Gets the minimum height of this world.If the min height is 0, there are only blocks from y=0.
- Returns:
- Minimum height of the world
-
getMaxHeight
int getMaxHeight()Gets the maximum height of this world.If the max height is 100, there are only blocks from y=0 to y=99.
- Returns:
- Maximum height of the world
-
vanillaBiomeProvider
Get the vanillaBiomeProvider
for this world.- Returns:
- vanilla biome provider
-