119 lines
1.9 KiB
Markdown
119 lines
1.9 KiB
Markdown
# INBTList.toArray
|
|
|
|
[← INBTList](index.md) · [← Master](../../wiki.md)
|
|
|
|
Parça 2/3 · [önceki](toArray.md) · [sonraki](toArray-3.md)
|
|
|
|
float getFloat(int index)
|
|
|
|
Get float (32-bit floating point number) value at given index
|
|
|
|
setFloat
|
|
|
|
void setFloat(int index,
|
|
float value)
|
|
|
|
Set float (32-bit floating point number) value at given index
|
|
|
|
addFloat
|
|
|
|
void addFloat(float value)
|
|
|
|
Add float (32-bit floating point number) value at the end of the list
|
|
|
|
getDouble
|
|
|
|
double getDouble(int index)
|
|
|
|
Get double (64-bit floating point number) value at given index
|
|
|
|
setDouble
|
|
|
|
void setDouble(int index,
|
|
double value)
|
|
|
|
Set double (64-bit floating point number) value at given index
|
|
|
|
addDouble
|
|
|
|
void addDouble(double value)
|
|
|
|
Add double (64-bit floating point number) value at the end of the list
|
|
|
|
getString
|
|
|
|
java.lang.String getString(int index)
|
|
|
|
Get string value at given index
|
|
|
|
setString
|
|
|
|
void setString(int index,
|
|
java.lang.String value)
|
|
|
|
Set string value at given index
|
|
|
|
addString
|
|
|
|
void addString(java.lang.String value)
|
|
|
|
Add string value at the end of the list
|
|
|
|
getBoolean
|
|
|
|
boolean getBoolean(int index)
|
|
|
|
Get boolean (true or false) value at given index
|
|
|
|
setBoolean
|
|
|
|
void setBoolean(int index,
|
|
boolean value)
|
|
|
|
Set boolean (true or false) value at given index
|
|
|
|
addBoolean
|
|
|
|
void addBoolean(boolean value)
|
|
|
|
Add boolean (true or false) value at the end of the list
|
|
|
|
|
|
|
|
getCompound
|
|
|
|
INBTCompound getCompound(int index)
|
|
|
|
Get NBT compound at given index
|
|
|
|
setCompound
|
|
|
|
void setCompound(int index,
|
|
INBTCompound value)
|
|
|
|
Set NBT compound at given index
|
|
|
|
addCompound
|
|
|
|
void addCompound(INBTCompound value)
|
|
|
|
Add NBT compound at the end of the list
|
|
|
|
getList
|
|
|
|
INBTList getList(int index)
|
|
|
|
Get NBT list at given index
|
|
|
|
setList
|
|
|
|
void setList(int index,
|
|
INBTList value)
|
|
|
|
Set NBT list at given index
|
|
|
|
addList
|
|
|
|
void addList(INBTList value)
|
|
|