-
- 所有超级接口:
NBTBase
- 所有已知实现类:
NBTTagCompound
public interface NBTCompound extends NBTBase
-
-
方法概要
修饰符和类型 方法 说明 @NotNull NBTCompound
clone()
@Nullable NBTBase
get(String s)
boolean
getBoolean(String s)
byte
getByte(String s)
byte[]
getByteArray(String s)
NBTCompound
getCompound(String s)
double
getDouble(String s)
float
getFloat(String s)
int
getInt(String s)
int[]
getIntArray(String s)
@NotNull Set<String>
getKeys()
NBTTagList
getList(String s, int i)
long
getLong(String s)
long[]
getLongArray(String s)
short
getShort(String s)
String
getString(String s)
byte
getType(String s)
UUID
getUUID(String s)
boolean
hasKey(String s)
boolean
hasKeyOfType(String s, int i)
boolean
hasUUID(String s)
boolean
isEmpty()
void
remove(String s)
@Nullable NBTBase
set(String key, NBTBase value)
void
setBoolean(String s, boolean flag)
void
setByte(String key, byte value)
void
setByteArray(String s, byte[] abyte)
void
setDouble(String s, double d0)
void
setFloat(String s, float f)
void
setInt(String s, int i)
void
setIntArray(String s, int[] aint)
void
setIntArray(String s, List<Integer> list)
void
setLong(String s, long i)
void
setLongArray(String s, long[] along)
void
setLongArray(String s, List<Long> list)
void
setShort(String key, short value)
void
setString(String s, String s1)
void
setUUID(String s, UUID uuid)
int
size()
-
-
-
方法详细资料
-
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) @NotNull NBTCompound clone()
-
-