Package | Description |
---|---|
me.dpohvar.powernbt.api |
Modifier and Type | Class and Description |
---|---|
class |
NBTList.NBTSubList |
Modifier and Type | Method and Description |
---|---|
NBTList |
NBTList.clone()
Create clone of this NBT list
|
static NBTList |
NBTList.forNBT(Object tag)
Create a new instance of NBTList by NBTTagList.
|
static NBTList |
NBTList.forNBTCopy(Object tag)
Create a new instance of NBTList by copy of NBTTagList.
|
NBTList |
NBTCompound.getList(String key)
Try to get NBTList
|
NBTList |
NBTCompound.list(String key)
get NBTList or create new one
Example: NBTCompound cmp = new NBTCompound().compound("display").list("Lore").add("lore1"); // cmp = {display:{Lore:["lore1"]}} |
NBTList |
NBTManager.read(org.bukkit.inventory.Inventory inventory)
Read items as nbt values from inventory
|
Modifier and Type | Method and Description |
---|---|
Object |
NBTCompound.bind(String key,
NBTList value)
Put NBTList to handle without using cloning.
|
void |
NBTManager.write(org.bukkit.inventory.Inventory inventory,
NBTList value)
Store items from nbt data to inventory
|
Copyright © 2017. All rights reserved.