mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 05:45:03 +00:00
Added detectAndSendChanges, putStackInSlot(slot,itemStack), isPlayerNotUsingContainer(player) functions to ScriptContainer
This commit is contained in:
1 parent
09f76d84c4
commit
80e3c075c7
2 files changed
+23
No files matched your search
@@ -5,8 +5,11 @@
|
||||
|
||||
package noppes.npcs.scripted.interfaces;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import noppes.npcs.scripted.ScriptItemStack;
|
||||
import noppes.npcs.scripted.entity.ScriptPlayer;
|
||||
|
||||
public interface IContainer {
|
||||
int getSize();
|
||||
@@ -24,4 +27,10 @@ public interface IContainer {
|
||||
IItemStack[] getItems();
|
||||
|
||||
boolean isCustomGUI();
|
||||
|
||||
void detectAndSendChanges();
|
||||
|
||||
void putStackInSlot(int slot, ScriptItemStack itemStack);
|
||||
|
||||
boolean isPlayerNotUsingContainer(ScriptPlayer player);
|
||||
}
|
||||
Reference in new issue
Block a user