mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 03:52:18 +00:00
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:
1 parent
6dea5a1cbc
commit
6896cec417
41 files changed
+252
-172
No files matched your search
@@ -6,9 +6,7 @@
|
||||
package noppes.npcs.scripted.interfaces;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import noppes.npcs.scripted.NpcAPI;
|
||||
import noppes.npcs.scripted.ScriptTileEntity;
|
||||
|
||||
public interface IBlock {
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
package noppes.npcs.scripted.interfaces;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.WorldServer;
|
||||
import noppes.npcs.scripted.NpcAPI;
|
||||
import noppes.npcs.scripted.ScriptBlock;
|
||||
import noppes.npcs.scripted.ScriptWorld;
|
||||
|
||||
|
||||
@@ -6,10 +6,6 @@
|
||||
package noppes.npcs.scripted.interfaces.entity;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import noppes.npcs.scripted.NpcAPI;
|
||||
import noppes.npcs.scripted.ScriptBlockPos;
|
||||
import noppes.npcs.scripted.ScriptParticle;
|
||||
import noppes.npcs.scripted.ScriptWorld;
|
||||
import noppes.npcs.scripted.entity.ScriptEntity;
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package noppes.npcs.scripted.interfaces.item;
|
||||
|
||||
public interface IItemArmor {
|
||||
int getArmorSlot();
|
||||
|
||||
String getArmorMaterial();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package noppes.npcs.scripted.interfaces.item;
|
||||
|
||||
public interface IItemBlock {
|
||||
String getBlockName();
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package noppes.npcs.scripted.interfaces.item;
|
||||
|
||||
public interface IItemBook {
|
||||
String[] getText();
|
||||
|
||||
void setText(String[] var1);
|
||||
|
||||
String getAuthor();
|
||||
|
||||
void setAuthor(String var1);
|
||||
|
||||
String getTitle();
|
||||
|
||||
void setTitle(String var1);
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package noppes.npcs.scripted.interfaces.item;
|
||||
|
||||
public interface ICustomItem extends IItemStack {
|
||||
public interface IItemCustom extends IItemStack {
|
||||
String getTexture();
|
||||
|
||||
void setTexture(String var2);
|
||||
Reference in new issue
Block a user