Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
org.bukkit.material |
Classes that represents various voxel types and states.
|
Modifier and Type | Method | Description |
---|---|---|
static <T extends Keyed> |
Bukkit.getTag(String registry,
NamespacedKey tag,
Class<T> clazz) |
Gets a tag which has already been defined within the server.
|
<T extends Keyed> |
Server.getTag(String registry,
NamespacedKey tag,
Class<T> clazz) |
Gets a tag which has already been defined within the server.
|
World |
Location.getWorld() |
Gets the world that this location resides in
|
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 |
---|---|---|
void |
ServerListPingEvent.setServerIcon(CachedServerIcon icon) |
Sets the server-icon sent to the client.
|
Modifier and Type | Method | Description |
---|---|---|
ItemMeta |
ItemFactory.getItemMeta(Material material) |
This creates a new item meta for the material.
|
ItemMeta |
ItemStack.getItemMeta() |
Get a copy of this ItemStack's
ItemMeta . |
Modifier and Type | Method | Description |
---|---|---|
void |
MapMeta.setMapView(MapView map) |
Sets the associated map.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Colorable.setColor(DyeColor color) |
Sets the color of this object to the specified DyeColor.
|
Copyright © 2020. All rights reserved.