mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 19:34:49 +00:00
Implemented Scripted Custom Items.
This commit is contained in:
1 parent
5520fc5f2b
commit
26f5f86dca
34 files changed
+1476
-137
No files matched your search
@@ -20,6 +20,7 @@ import net.minecraft.world.World;
|
||||
import net.minecraft.world.WorldServer;
|
||||
import noppes.npcs.scripted.entity.ScriptPlayer;
|
||||
import noppes.npcs.scripted.interfaces.*;
|
||||
import noppes.npcs.scripted.item.ScriptItemStack;
|
||||
|
||||
public abstract class NpcAPI {
|
||||
private static NpcAPI instance = null;
|
||||
@@ -86,7 +87,7 @@ public abstract class NpcAPI {
|
||||
|
||||
public abstract ScriptPlayer[] getAllServerPlayers();
|
||||
|
||||
public abstract ScriptItemStack createItem(String id, int damage, int size);
|
||||
public abstract IItemStack createItem(String id, int damage, int size);
|
||||
|
||||
public abstract ScriptParticle createParticle(String directory);
|
||||
|
||||
|
||||
Reference in new issue
Block a user