Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
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 |
---|---|
static <T extends Keyed> |
Bukkit.getTag(@NotNull String registry,
@NotNull NamespacedKey tag,
@NotNull Class<T> clazz)
Gets a tag which has already been defined within the server.
|
<T extends Keyed> |
Server.getTag(@NotNull String registry,
@NotNull NamespacedKey tag,
@NotNull 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(@NotNull 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 © 2021. All rights reserved.