Package | Description |
---|---|
com.chrismin13.additionsapi.items | |
com.comphenix.attribute |
Modifier and Type | Method and Description |
---|---|
NbtFactory.NbtCompound |
CustomItemStack.getNBTData() |
Modifier and Type | Method and Description |
---|---|
static NbtFactory.NbtCompound |
NbtFactory.createCompound()
Construct a new NBT compound.
|
static NbtFactory.NbtCompound |
NbtFactory.fromCompound(java.lang.Object nmsCompound)
Construct a new NBT wrapper from a compound.
|
static NbtFactory.NbtCompound |
NbtFactory.fromItemTag(org.bukkit.inventory.ItemStack stack)
Construct a wrapper for an NBT tag stored (in memory) in an item stack.
|
static NbtFactory.NbtCompound |
NbtFactory.fromStream(com.google.common.io.ByteSource stream,
NbtFactory.StreamOptions option)
Load the content of a file from a stream.
|
NbtFactory.NbtCompound |
NbtFactory.NbtCompound.getMap(java.lang.String key,
boolean createNew)
Retrieve the map by the given name.
|
NbtFactory.NbtCompound |
NbtFactory.NbtCompound.putPath(java.lang.String path,
java.lang.Object value)
Set the value of an entry at a given location.
|
NbtFactory.NbtCompound |
NbtFactory.NbtCompound.saveTo(com.google.common.io.ByteSink stream,
NbtFactory.StreamOptions option)
Save the content of a NBT compound to a stream.
|
Modifier and Type | Method and Description |
---|---|
static void |
NbtFactory.saveStream(NbtFactory.NbtCompound source,
com.google.common.io.ByteSink stream,
NbtFactory.StreamOptions option)
Save the content of a NBT compound to a stream.
|
static void |
NbtFactory.setItemTag(org.bukkit.inventory.ItemStack stack,
NbtFactory.NbtCompound compound)
Set the NBT compound tag of a given item stack.
|