| Package | Description |
|---|---|
| com.destroystokyo.paper | |
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks. |
| Modifier and Type | Class and Description |
|---|---|
class |
NamespacedTag
Represents a String based key pertaining to a tagged entry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NamespacedKey
Represents a String based key which consists of two components - a namespace
and a key.
|
| Modifier and Type | Method and 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 and 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.