Every function in API classes that calls the main API class now calls the loaded API wrapper, renamed to NpcAPI, instead of the abstract class, renamed to AbstractNpcAPI.

This commit is contained in:
Luis C.M committed 2022-05-11 17:12:48 -05:00
1 parent 6dea5a1cbc
commit 6896cec417
41 files changed
+252 -172

No files matched your search

@@ -0,0 +1,35 @@
package noppes.npcs.scripted.item;
import net.minecraft.item.ItemStack;
import noppes.npcs.scripted.interfaces.item.IItemBook;
public class ScriptItemBook extends ScriptItemStack implements IItemBook {
public ScriptItemBook(ItemStack item) {
super(item);
}
public String[] getText() {
return new String[0];
}
public void setText(String[] var1) {
}
public String getAuthor() {
return null;
}
public void setAuthor(String var1) {
}
public String getTitle() {
return null;
}
public void setTitle(String var1) {
}
}