Package org.kingdoms.utils.nbt
Class NBTWrappers.NBTTagCompound
java.lang.Object
org.kingdoms.utils.nbt.NBTWrappers.NBTBase<Map<String,NBTWrappers.NBTBase<?>>>
org.kingdoms.utils.nbt.NBTWrappers.NBTTagCompound
- All Implemented Interfaces:
NBTTagCompound
- Enclosing class:
- NBTWrappers
public static final class NBTWrappers.NBTTagCompound
extends NBTWrappers.NBTBase<Map<String,NBTWrappers.NBTBase<?>>>
implements NBTTagCompound
-
Field Summary
Fields inherited from class org.kingdoms.utils.nbt.NBTWrappers.NBTBase
value -
Constructor Summary
ConstructorsConstructorDescriptionNBTTagCompound(int capacity) NBTTagCompound(Map<String, NBTWrappers.NBTBase<?>> value) -
Method Summary
Modifier and TypeMethodDescriptionstatic NBTWrappers.NBTTagCompound<T> TbooleangetBoolean(String key) bytebyte[]getByteArray(String key) getCompound(String key) doublefloatintint[]getIntArray(String key) longshortgetStringList(String key) boolean<T> boolean<T extends NBTWrappers.NBTBase<?>>
TremoveUnchecked(String key) <T> voidvoidset(String key, NBTWrappers.NBTBase<?> nbt) voidsetBoolean(String key, boolean value) voidvoidsetByteArray(String key, byte[] value) voidsetCompound(String key, NBTWrappers.NBTTagCompound compound) voidvoidvoidvoidsetIntArray(String key, int[] value) voidvoidvoidvoidsetStringList(String key, List<String> value) toNBT()toString()Methods inherited from class org.kingdoms.utils.nbt.NBTWrappers.NBTBase
getValue
-
Constructor Details
-
NBTTagCompound
-
NBTTagCompound
public NBTTagCompound(int capacity) -
NBTTagCompound
public NBTTagCompound()
-
-
Method Details
-
getRawMap
-
fromNBT
-
set
- Specified by:
setin interfaceNBTTagCompound
-
get
- Specified by:
getin interfaceNBTTagCompound
-
has
- Specified by:
hasin interfaceNBTTagCompound
-
has
-
getContainer
- Specified by:
getContainerin interfaceNBTTagCompound
-
set
-
remove
-
removeUnchecked
-
setByte
-
setShort
-
setInt
-
setLong
-
setFloat
-
setDouble
-
setString
-
setStringList
-
setCompound
-
setByteArray
-
setIntArray
-
setBoolean
-
get
-
getByte
-
getShort
-
getInt
-
getLong
-
getCompound
-
getFloat
-
getDouble
-
getString
-
getStringList
-
getByteArray
-
getIntArray
-
getBoolean
-
toNBT
- Specified by:
toNBTin classNBTWrappers.NBTBase<Map<String,NBTWrappers.NBTBase<?>>>
-
toString
-