Package | Description |
---|---|
de.tr7zw.changeme.nbtapi | |
de.tr7zw.changeme.nbtapi.iface |
Modifier and Type | Class and Description |
---|---|
class |
NBTItem
NBT class to access vanilla/custom tags on ItemStacks.
|
Modifier and Type | Method and Description |
---|---|
static void |
NBT.get(org.bukkit.inventory.ItemStack item,
Consumer<ReadableItemNBT> getter)
It takes an ItemStack, and a Consumer that takes a ReadableNBT.
|
static <T> T |
NBT.get(org.bukkit.inventory.ItemStack item,
Function<ReadableItemNBT,T> getter)
It takes an ItemStack, and a function that takes a ReadableNBT and returns a
generic type T.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ReadWriteItemNBT |
Copyright © 2015–2024 tr7zw. All rights reserved.