Package | Description |
---|---|
de.tr7zw.changeme.nbtapi | |
de.tr7zw.changeme.nbtapi.handler | |
de.tr7zw.changeme.nbtapi.iface | |
de.tr7zw.changeme.nbtapi.wrapper |
Modifier and Type | Method and Description |
---|---|
<T> T |
NBTCompound.get(String key,
NBTHandler<T> handler) |
<T> void |
NBTCompound.set(String key,
T value,
NBTHandler<T> handler) |
Modifier and Type | Field and Description |
---|---|
static NBTHandler<org.bukkit.inventory.ItemStack> |
NBTHandlers.ITEM_STACK |
static NBTHandler<ReadableNBT> |
NBTHandlers.STORE_READABLE_TAG |
static NBTHandler<ReadWriteNBT> |
NBTHandlers.STORE_READWRITE_TAG |
Modifier and Type | Method and Description |
---|---|
<T> T |
ReadableNBT.get(String key,
NBTHandler<T> handler)
Get the object at the specified key via the handler.
|
<T> void |
ReadWriteNBT.set(String key,
T value,
NBTHandler<T> handler)
Set an Object to a key via the provided handler.
|
Modifier and Type | Field and Description |
---|---|
static Map<Class<?>,NBTHandler<Object>> |
NBTProxy.handlers |
Modifier and Type | Method and Description |
---|---|
default <T> NBTHandler<T> |
NBTProxy.getHandler(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
default Collection<NBTHandler<Object>> |
NBTProxy.getHandlers() |
Modifier and Type | Method and Description |
---|---|
default <T> void |
NBTProxy.registerHandler(Class<T> clazz,
NBTHandler<T> handler) |
Copyright © 2015–2024 tr7zw. All rights reserved.