mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 11:24:44 +00:00
39 lines
628 B
Java
39 lines
628 B
Java
package noppes.npcs.api;
|
|
|
|
/**
|
|
* MC shadow of the INbtList interface.
|
|
* Shadows the platform-api version at compile time for mc1710.
|
|
*/
|
|
public interface INbtList {
|
|
|
|
int size();
|
|
|
|
INbt getCompound(int index);
|
|
|
|
String getString(int index);
|
|
|
|
int getInt(int index);
|
|
|
|
double getDouble(int index);
|
|
|
|
float getFloat(int index);
|
|
|
|
int[] getIntArray(int index);
|
|
|
|
int getElementType();
|
|
|
|
// --- Mutators ---
|
|
|
|
void addCompound(INbt compound);
|
|
|
|
void addString(String value);
|
|
|
|
void addInt(int value);
|
|
|
|
void addDouble(double value);
|
|
|
|
void remove(int index);
|
|
|
|
Object getMCTagList();
|
|
}
|