类 NBTTagCompound
- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.nbt.NBTTagCompound
-
- 所有已实现的接口:
NBTBase
,NBTCompound
public class NBTTagCompound extends Object implements NBTCompound
-
-
构造器概要
构造器 构造器 说明 NBTTagCompound()
-
方法概要
-
-
-
方法详细资料
-
write
public void write(DataOutput out) throws IOException
- 指定者:
write
在接口中NBTBase
- 抛出:
IOException
-
accept
public void accept(String name, NBTVisitor visitor)
-
load
public void load(DataInput input, int depth, NBTReadLimiter limiter) throws IOException
- 指定者:
load
在接口中NBTBase
- 抛出:
IOException
-
size
public int size()
- 指定者:
size
在接口中NBTCompound
-
getKeys
@Contract(pure=true) @NotNull public Set<String> getKeys()
- 指定者:
getKeys
在接口中NBTCompound
-
set
@Nullable public NBTBase set(String key, NBTBase value)
- 指定者:
set
在接口中NBTCompound
-
setByte
public void setByte(String key, byte value)
- 指定者:
setByte
在接口中NBTCompound
-
setShort
public void setShort(String key, short value)
- 指定者:
setShort
在接口中NBTCompound
-
setInt
public void setInt(String s, int i)
- 指定者:
setInt
在接口中NBTCompound
-
setLong
public void setLong(String s, long i)
- 指定者:
setLong
在接口中NBTCompound
-
setUUID
public void setUUID(String s, UUID uuid)
- 指定者:
setUUID
在接口中NBTCompound
-
getUUID
public UUID getUUID(String s)
- 指定者:
getUUID
在接口中NBTCompound
-
hasUUID
public boolean hasUUID(String s)
- 指定者:
hasUUID
在接口中NBTCompound
-
setFloat
public void setFloat(String s, float f)
- 指定者:
setFloat
在接口中NBTCompound
-
setDouble
public void setDouble(String s, double d0)
- 指定者:
setDouble
在接口中NBTCompound
-
setString
public void setString(String s, String s1)
- 指定者:
setString
在接口中NBTCompound
-
setByteArray
public void setByteArray(String s, byte[] abyte)
- 指定者:
setByteArray
在接口中NBTCompound
-
setIntArray
public void setIntArray(String s, int[] aint)
- 指定者:
setIntArray
在接口中NBTCompound
-
setIntArray
public void setIntArray(String s, List<Integer> list)
- 指定者:
setIntArray
在接口中NBTCompound
-
setLongArray
public void setLongArray(String s, long[] along)
- 指定者:
setLongArray
在接口中NBTCompound
-
setLongArray
public void setLongArray(String s, List<Long> list)
- 指定者:
setLongArray
在接口中NBTCompound
-
setBoolean
public void setBoolean(String s, boolean flag)
- 指定者:
setBoolean
在接口中NBTCompound
-
get
@Nullable public NBTBase get(String s)
- 指定者:
get
在接口中NBTCompound
-
getType
public byte getType(String s)
- 指定者:
getType
在接口中NBTCompound
-
hasKey
public boolean hasKey(String s)
- 指定者:
hasKey
在接口中NBTCompound
-
hasKeyOfType
public static boolean hasKeyOfType(NBTCompound compound, String s, int i)
-
hasKeyOfType
public boolean hasKeyOfType(String s, int i)
- 指定者:
hasKeyOfType
在接口中NBTCompound
-
getByte
public byte getByte(String s)
- 指定者:
getByte
在接口中NBTCompound
-
getShort
public short getShort(String s)
- 指定者:
getShort
在接口中NBTCompound
-
getInt
public int getInt(String s)
- 指定者:
getInt
在接口中NBTCompound
-
getLong
public long getLong(String s)
- 指定者:
getLong
在接口中NBTCompound
-
getFloat
public float getFloat(String s)
- 指定者:
getFloat
在接口中NBTCompound
-
getDouble
public double getDouble(String s)
- 指定者:
getDouble
在接口中NBTCompound
-
getString
public String getString(String s)
- 指定者:
getString
在接口中NBTCompound
-
getByteArray
public byte[] getByteArray(String s)
- 指定者:
getByteArray
在接口中NBTCompound
-
getIntArray
public int[] getIntArray(String s)
- 指定者:
getIntArray
在接口中NBTCompound
-
getLongArray
public long[] getLongArray(String s)
- 指定者:
getLongArray
在接口中NBTCompound
-
getCompound
public NBTTagCompound getCompound(String s)
- 指定者:
getCompound
在接口中NBTCompound
-
getList
public NBTTagList getList(String s, int i)
- 指定者:
getList
在接口中NBTCompound
-
getBoolean
public boolean getBoolean(String s)
- 指定者:
getBoolean
在接口中NBTCompound
-
remove
public void remove(String s)
- 指定者:
remove
在接口中NBTCompound
-
isEmpty
public boolean isEmpty()
- 指定者:
isEmpty
在接口中NBTCompound
-
clone
@NotNull public NBTTagCompound clone()
-
-