2021-09-30 21:44:30 -05:00
|
|
|
//
|
|
|
|
|
// Source code recreated from a .class file by IntelliJ IDEA
|
|
|
|
|
// (powered by FernFlower decompiler)
|
|
|
|
|
//
|
|
|
|
|
|
2021-10-18 06:33:39 -05:00
|
|
|
package noppes.npcs.scripted.interfaces;
|
2021-09-30 21:44:30 -05:00
|
|
|
|
|
|
|
|
import net.minecraft.inventory.Container;
|
|
|
|
|
import net.minecraft.inventory.IInventory;
|
2022-05-11 16:43:14 -05:00
|
|
|
import noppes.npcs.scripted.interfaces.item.IItemStack;
|
2022-05-11 01:10:31 -05:00
|
|
|
import noppes.npcs.scripted.item.ScriptItemStack;
|
2022-05-03 14:05:49 -05:00
|
|
|
import noppes.npcs.scripted.entity.ScriptPlayer;
|
2021-09-30 21:44:30 -05:00
|
|
|
|
|
|
|
|
public interface IContainer {
|
|
|
|
|
int getSize();
|
|
|
|
|
|
|
|
|
|
IItemStack getSlot(int var1);
|
|
|
|
|
|
|
|
|
|
void setSlot(int slot, IItemStack item);
|
|
|
|
|
|
|
|
|
|
IInventory getMCInventory();
|
|
|
|
|
|
|
|
|
|
Container getMCContainer();
|
|
|
|
|
|
|
|
|
|
int count(IItemStack var1, boolean var2, boolean var3);
|
|
|
|
|
|
|
|
|
|
IItemStack[] getItems();
|
2022-01-12 04:54:07 -06:00
|
|
|
|
|
|
|
|
boolean isCustomGUI();
|
2022-05-03 14:05:49 -05:00
|
|
|
|
|
|
|
|
void detectAndSendChanges();
|
|
|
|
|
|
|
|
|
|
void putStackInSlot(int slot, ScriptItemStack itemStack);
|
|
|
|
|
|
|
|
|
|
boolean isPlayerNotUsingContainer(ScriptPlayer player);
|
2021-09-30 21:44:30 -05:00
|
|
|
}
|