Uses of Interface
org.bukkit.World
| Package | Description |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.block |
Classes used to manipulate the voxels in a
world,
including special states. |
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.player | |
| org.bukkit.event.weather |
Events relating to weather. |
| org.bukkit.event.world | |
| org.bukkit.generator |
Classes to facilitate
world generation
implementation. |
| org.bukkit.map |
Classes to facilitate plugin handling of
map displays. |
| org.bukkit.util |
Multi and single purpose classes to facilitate various programmatic
concepts.
|
| org.bukkit.util.noise |
Classes dedicated to facilitating deterministic noise.
|
-
Uses of World in org.bukkit
Methods in org.bukkit that return World Modifier and Type Method Description static WorldBukkit. createWorld(WorldCreator creator)Creates or loads a world with the given name using the specified options.WorldServer. createWorld(WorldCreator creator)Creates or loads a world with the given name using the specified options.WorldWorldCreator. createWorld()Creates a world with the specified options.static WorldBukkit. getWorld(java.lang.String name)Gets the world with the given name.static WorldBukkit. getWorld(java.util.UUID uid)Gets the world from the given Unique ID.WorldChunk. getWorld()Gets the world containing this chunkWorldLocation. getWorld()Gets the world that this location resides inWorldServer. getWorld(java.lang.String name)Gets the world with the given name.WorldServer. getWorld(java.util.UUID uid)Gets the world from the given Unique ID.Methods in org.bukkit that return types with arguments of type World Modifier and Type Method Description static java.util.List<World>Bukkit. getWorlds()Gets a list of all worlds on this server.java.util.List<World>Server. getWorlds()Gets a list of all worlds on this server.Methods in org.bukkit with parameters of type World Modifier and Type Method Description WorldCreatorWorldCreator. copy(World world)Copies the options from the specified worldstatic ChunkGenerator.ChunkDataBukkit. createChunkData(World world)Create a ChunkData for use in a generator.ChunkGenerator.ChunkDataServer. createChunkData(World world)Create a ChunkData for use in a generator.static MapViewBukkit. createMap(World world)Create a new map with an automatically assigned ID.MapViewServer. createMap(World world)Create a new map with an automatically assigned ID.voidLocation. setWorld(World world)Sets the world that this location resides instatic booleanBukkit. unloadWorld(World world, boolean save)Unloads the given world.booleanServer. unloadWorld(World world, boolean save)Unloads the given world.Constructors in org.bukkit with parameters of type World Constructor Description Location(World world, double x, double y, double z)Constructs a new Location with the given coordinatesLocation(World world, double x, double y, double z, float yaw, float pitch)Constructs a new Location with the given coordinates and direction -
Uses of World in org.bukkit.block
-
Uses of World in org.bukkit.entity
Methods in org.bukkit.entity that return World Modifier and Type Method Description WorldEntity. getWorld()Gets the current world this entity resides in -
Uses of World in org.bukkit.event.player
Methods in org.bukkit.event.player that return World Modifier and Type Method Description WorldPlayerChangedWorldEvent. getFrom()Gets the world the player is switching from.Constructors in org.bukkit.event.player with parameters of type World Constructor Description PlayerChangedWorldEvent(Player player, World from) -
Uses of World in org.bukkit.event.weather
Fields in org.bukkit.event.weather declared as World Modifier and Type Field Description protected WorldWeatherEvent. worldMethods in org.bukkit.event.weather that return World Modifier and Type Method Description WorldWeatherEvent. getWorld()Returns the World where this event is occurringConstructors in org.bukkit.event.weather with parameters of type World Constructor Description LightningStrikeEvent(World world, LightningStrike bolt)ThunderChangeEvent(World world, boolean to)WeatherChangeEvent(World world, boolean to)WeatherEvent(World where) -
Uses of World in org.bukkit.event.world
Methods in org.bukkit.event.world that return World Modifier and Type Method Description WorldWorldEvent. getWorld()Gets the world primarily involved with this eventConstructors in org.bukkit.event.world with parameters of type World Constructor Description PortalCreateEvent(java.util.Collection<Block> blocks, World world, PortalCreateEvent.CreateReason reason)SpawnChangeEvent(World world, Location previousLocation)WorldEvent(World world)WorldInitEvent(World world)WorldLoadEvent(World world)WorldSaveEvent(World world)WorldUnloadEvent(World world) -
Uses of World in org.bukkit.generator
Methods in org.bukkit.generator with parameters of type World Modifier and Type Method Description booleanChunkGenerator. canSpawn(World world, int x, int z)Tests if the specified location is valid for a natural spawn positionprotected ChunkGenerator.ChunkDataChunkGenerator. createChunkData(World world)Create a ChunkData for a world.byte[]ChunkGenerator. generate(World world, java.util.Random random, int x, int z)Deprecated.byte[][]ChunkGenerator. generateBlockSections(World world, java.util.Random random, int x, int z, ChunkGenerator.BiomeGrid biomes)Deprecated.Magic valueChunkGenerator.ChunkDataChunkGenerator. generateChunkData(World world, java.util.Random random, int x, int z, ChunkGenerator.BiomeGrid biome)Shapes the chunk for the given coordinates.short[][]ChunkGenerator. generateExtBlockSections(World world, java.util.Random random, int x, int z, ChunkGenerator.BiomeGrid biomes)Deprecated.Magic valuejava.util.List<BlockPopulator>ChunkGenerator. getDefaultPopulators(World world)Gets a list of defaultBlockPopulators to apply to a given worldLocationChunkGenerator. getFixedSpawnLocation(World world, java.util.Random random)Gets a fixed spawn location to use for a given world.abstract voidBlockPopulator. populate(World world, java.util.Random random, Chunk source)Populates an area of blocks at or around the given chunk. -
Uses of World in org.bukkit.map
Methods in org.bukkit.map that return World Modifier and Type Method Description WorldMapView. getWorld()Get the world that this map is associated with.Methods in org.bukkit.map with parameters of type World Modifier and Type Method Description voidMapView. setWorld(World world)Set the world that this map is associated with. -
Uses of World in org.bukkit.util
Methods in org.bukkit.util with parameters of type World Modifier and Type Method Description LocationVector. toLocation(World world)Gets a Location version of this vector with yaw and pitch being 0.LocationVector. toLocation(World world, float yaw, float pitch)Gets a Location version of this vector.Constructors in org.bukkit.util with parameters of type World Constructor Description BlockIterator(World world, Vector start, Vector direction, double yOffset, int maxDistance)Constructs the BlockIterator -
Uses of World in org.bukkit.util.noise
Constructors in org.bukkit.util.noise with parameters of type World Constructor Description PerlinNoiseGenerator(World world)Creates a seeded perlin noise generator for the given worldPerlinOctaveGenerator(World world, int octaves)Creates a perlin octave generator for the given worldSimplexNoiseGenerator(World world)Creates a seeded simplex noise generator for the given worldSimplexOctaveGenerator(World world, int octaves)Creates a simplex octave generator for the given world