类 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()
-
-