接口 NBTCompound
-
- 所有超级接口:
NBTBase
- 所有已知实现类:
NBTTagCompound
,NBTTagCompound
public interface NBTCompound extends NBTBase
-
-
方法概要
-
-
-
方法详细资料
-
size
int size()
-
setByte
void setByte(String key, byte value)
-
setShort
void setShort(String key, short value)
-
setInt
void setInt(String s, int i)
-
setLong
void setLong(String s, long i)
-
hasUUID
boolean hasUUID(String s)
-
setFloat
void setFloat(String s, float f)
-
setDouble
void setDouble(String s, double d0)
-
setByteArray
void setByteArray(String s, byte[] abyte)
-
setIntArray
void setIntArray(String s, int[] aint)
-
setLongArray
void setLongArray(String s, long[] along)
-
setBoolean
void setBoolean(String s, boolean flag)
-
getType
byte getType(String s)
-
hasKey
boolean hasKey(String s)
-
hasKeyOfType
boolean hasKeyOfType(String s, int i)
-
getByte
byte getByte(String s)
-
getShort
short getShort(String s)
-
getInt
int getInt(String s)
-
getLong
long getLong(String s)
-
getFloat
float getFloat(String s)
-
getDouble
double getDouble(String s)
-
getByteArray
byte[] getByteArray(String s)
-
getIntArray
int[] getIntArray(String s)
-
getLongArray
long[] getLongArray(String s)
-
getCompound
NBTCompound getCompound(String s)
-
getList
NBTTagList getList(String s, int i)
-
getBoolean
boolean getBoolean(String s)
-
remove
void remove(String s)
-
isEmpty
boolean isEmpty()
-
clone
@NotNull @Contract(pure=true) NBTCompound clone()
-
-