Add the Essential APIs

This commit is contained in:
Kam committed 2026-03-14 15:32:06 -04:00
1 parent f91e17ab3e
commit 5cb3a5beef
2 files changed
+158 -104

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
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();
}