| Package | Description |
|---|---|
| com.destroystokyo.paper | |
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
NamespacedTag |
Represents a String based key pertaining to a tagged entry.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
NamespacedKey |
Represents a String based key which consists of two components - a namespace
and a key.
|
| Modifier and Type | Method | Description |
|---|---|---|
Set<Namespaced> |
ItemMeta.getDestroyableKeys() |
Gets the collection of namespaced keys that the item can destroy in
GameMode.ADVENTURE |
Set<Namespaced> |
ItemMeta.getPlaceableKeys() |
Gets the collection of namespaced keys that the item can be placed on in
GameMode.ADVENTURE |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ItemMeta.setDestroyableKeys(Collection<Namespaced> canDestroy) |
Sets the collection of namespaced keys that the item can destroy in
GameMode.ADVENTURE |
void |
ItemMeta.setPlaceableKeys(Collection<Namespaced> canPlaceOn) |
Sets the set of namespaced keys that the item can be placed on in
GameMode.ADVENTURE |
Copyright © 2020. All rights reserved.