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 and Description |
---|---|
<T extends Keyed> |
Server.getTag(String registry,
NamespacedKey tag,
Class<T> clazz)
Gets a tag which has already been defined within the server.
|
static <T extends Keyed> |
Bukkit.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 and 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 and Description |
---|---|
void |
ServerListPingEvent.setServerIcon(CachedServerIcon icon)
Sets the server-icon sent to the client.
|
Modifier and Type | Method and Description |
---|---|
ItemMeta |
ItemStack.getItemMeta()
Get a copy of this ItemStack's
ItemMeta . |
ItemMeta |
ItemFactory.getItemMeta(Material material)
This creates a new item meta for the material.
|
Modifier and Type | Method and Description |
---|---|
void |
MapMeta.setMapView(MapView map)
Sets the associated map.
|
Modifier and Type | Method and Description |
---|---|
void |
Colorable.setColor(DyeColor color)
Sets the color of this object to the specified DyeColor.
|
Copyright © 2022. All rights reserved.