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.raid | |
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.
|
Modifier and Type | Method | Description |
---|---|---|
static World |
Bukkit.createWorld(WorldCreator creator) |
Creates or loads a world with the given name using the specified
options.
|
World |
Server.createWorld(WorldCreator creator) |
Creates or loads a world with the given name using the specified
options.
|
World |
WorldCreator.createWorld() |
Creates a world with the specified options.
|
static World |
Bukkit.getWorld(String name) |
Gets the world with the given name.
|
static World |
Bukkit.getWorld(UUID uid) |
Gets the world from the given Unique ID.
|
World |
Chunk.getWorld() |
Gets the world containing this chunk
|
World |
Location.getWorld() |
Gets the world that this location resides in
|
World |
Server.getWorld(String name) |
Gets the world with the given name.
|
World |
Server.getWorld(UUID uid) |
Gets the world from the given Unique ID.
|
Modifier and Type | Method | Description |
---|---|---|
static List<World> |
Bukkit.getWorlds() |
Gets a list of all worlds on this server.
|
List<World> |
Server.getWorlds() |
Gets a list of all worlds on this server.
|
Modifier and Type | Method | Description |
---|---|---|
WorldCreator |
WorldCreator.copy(World world) |
Copies the options from the specified world
|
static ChunkGenerator.ChunkData |
Bukkit.createChunkData(World world) |
Create a ChunkData for use in a generator.
|
ChunkGenerator.ChunkData |
Server.createChunkData(World world) |
Create a ChunkData for use in a generator.
|
static ItemStack |
Bukkit.createExplorerMap(World world,
Location location,
StructureType structureType) |
Create a new explorer map targeting the closest nearby structure of a
given
StructureType . |
static ItemStack |
Bukkit.createExplorerMap(World world,
Location location,
StructureType structureType,
int radius,
boolean findUnexplored) |
Create a new explorer map targeting the closest nearby structure of a
given
StructureType . |
ItemStack |
Server.createExplorerMap(World world,
Location location,
StructureType structureType) |
Create a new explorer map targeting the closest nearby structure of a
given
StructureType . |
ItemStack |
Server.createExplorerMap(World world,
Location location,
StructureType structureType,
int radius,
boolean findUnexplored) |
Create a new explorer map targeting the closest nearby structure of a
given
StructureType . |
static MapView |
Bukkit.createMap(World world) |
Create a new map with an automatically assigned ID.
|
MapView |
Server.createMap(World world) |
Create a new map with an automatically assigned ID.
|
void |
Location.setWorld(World world) |
Sets the world that this location resides in
|
static boolean |
Bukkit.unloadWorld(World world,
boolean save) |
Unloads the given world.
|
boolean |
Server.unloadWorld(World world,
boolean save) |
Unloads the given world.
|
Constructor | Description |
---|---|
Location(World world,
double x,
double y,
double z) |
Constructs a new Location with the given coordinates
|
Location(World world,
double x,
double y,
double z,
float yaw,
float pitch) |
Constructs a new Location with the given coordinates and direction
|
Modifier and Type | Method | Description |
---|---|---|
World |
Block.getWorld() |
Gets the world which contains this Block
|
World |
BlockState.getWorld() |
Gets the world which contains the block represented by this block state.
|
World |
DoubleChest.getWorld() |
Modifier and Type | Method | Description |
---|---|---|
World |
Entity.getWorld() |
Gets the current world this entity resides in
|
Modifier and Type | Method | Description |
---|---|---|
World |
PlayerChangedWorldEvent.getFrom() |
Gets the world the player is switching from.
|
Constructor | Description |
---|---|
PlayerChangedWorldEvent(Player player,
World from) |
Constructor | Description |
---|---|
RaidEvent(Raid raid,
World world) |
|
RaidFinishEvent(Raid raid,
World world,
List<Player> winners) |
|
RaidSpawnWaveEvent(Raid raid,
World world,
Raider leader,
List<Raider> raiders) |
|
RaidStopEvent(Raid raid,
World world,
RaidStopEvent.Reason reason) |
|
RaidTriggerEvent(Raid raid,
World world,
Player player) |
Modifier and Type | Field | Description |
---|---|---|
protected World |
WeatherEvent.world |
Modifier and Type | Method | Description |
---|---|---|
World |
WeatherEvent.getWorld() |
Returns the World where this event is occurring
|
Constructor | Description |
---|---|
LightningStrikeEvent(World world,
LightningStrike bolt) |
Deprecated.
|
LightningStrikeEvent(World world,
LightningStrike bolt,
LightningStrikeEvent.Cause cause) |
|
ThunderChangeEvent(World world,
boolean to) |
|
WeatherChangeEvent(World world,
boolean to) |
|
WeatherEvent(World where) |
Modifier and Type | Method | Description |
---|---|---|
World |
WorldEvent.getWorld() |
Gets the world primarily involved with this event
|
Constructor | Description |
---|---|
PortalCreateEvent(List<BlockState> blocks,
World world,
Entity entity,
PortalCreateEvent.CreateReason reason) |
|
PortalCreateEvent(List<BlockState> blocks,
World world,
PortalCreateEvent.CreateReason reason) |
Deprecated.
|
SpawnChangeEvent(World world,
Location previousLocation) |
|
WorldEvent(World world) |
|
WorldInitEvent(World world) |
|
WorldLoadEvent(World world) |
|
WorldSaveEvent(World world) |
|
WorldUnloadEvent(World world) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
ChunkGenerator.canSpawn(World world,
int x,
int z) |
Tests if the specified location is valid for a natural spawn position
|
protected ChunkGenerator.ChunkData |
ChunkGenerator.createChunkData(World world) |
Create a ChunkData for a world.
|
ChunkGenerator.ChunkData |
ChunkGenerator.generateChunkData(World world,
Random random,
int x,
int z,
ChunkGenerator.BiomeGrid biome) |
Shapes the chunk for the given coordinates.
|
List<BlockPopulator> |
ChunkGenerator.getDefaultPopulators(World world) |
Gets a list of default
BlockPopulator s to apply to a given
world |
Location |
ChunkGenerator.getFixedSpawnLocation(World world,
Random random) |
Gets a fixed spawn location to use for a given world.
|
abstract void |
BlockPopulator.populate(World world,
Random random,
Chunk source) |
Populates an area of blocks at or around the given chunk.
|
Modifier and Type | Method | Description |
---|---|---|
World |
MapView.getWorld() |
Get the world that this map is associated with.
|
Modifier and Type | Method | Description |
---|---|---|
void |
MapView.setWorld(World world) |
Set the world that this map is associated with.
|
Modifier and Type | Method | Description |
---|---|---|
Location |
Vector.toLocation(World world) |
Gets a Location version of this vector with yaw and pitch being 0.
|
Location |
Vector.toLocation(World world,
float yaw,
float pitch) |
Gets a Location version of this vector.
|
Constructor | Description |
---|---|
BlockIterator(World world,
Vector start,
Vector direction,
double yOffset,
int maxDistance) |
Constructs the BlockIterator.
|
Constructor | Description |
---|---|
PerlinNoiseGenerator(World world) |
Creates a seeded perlin noise generator for the given world
|
PerlinOctaveGenerator(World world,
int octaves) |
Creates a perlin octave generator for the given world
|
SimplexNoiseGenerator(World world) |
Creates a seeded simplex noise generator for the given world
|
SimplexOctaveGenerator(World world,
int octaves) |
Creates a simplex octave generator for the given world
|
Copyright © 2019. All rights reserved.