Class InventoryCraftingDirtyable
java.lang.Object
net.minecraft.world.inventory.CraftingContainer
org.cyclops.integratedterminals.inventory.InventoryCraftingDirtyable
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.inventory.StackedContentsCompatible
public class InventoryCraftingDirtyable
extends net.minecraft.world.inventory.CraftingContainer
An extended
CraftingContainer that has a IDirtyMarkListener.-
Field Summary
Fields inherited from interface net.minecraft.world.Container
LARGE_MAX_STACK_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionInventoryCraftingDirtyable(net.minecraft.world.inventory.AbstractContainerMenu eventHandlerIn, int width, int height, org.cyclops.cyclopscore.persist.IDirtyMarkListener dirtyMarkListener) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackremoveItem(int index, int count) voidvoidsetItem(int index, net.minecraft.world.item.ItemStack stack) Methods inherited from class net.minecraft.world.inventory.CraftingContainer
clearContent, fillStackedContents, getContainerSize, getHeight, getItem, getWidth, isEmpty, removeItemNoUpdate, stillValidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.Container
canPlaceItem, countItem, getMaxStackSize, hasAnyOf, startOpen, stopOpen
-
Constructor Details
-
InventoryCraftingDirtyable
public InventoryCraftingDirtyable(net.minecraft.world.inventory.AbstractContainerMenu eventHandlerIn, int width, int height, org.cyclops.cyclopscore.persist.IDirtyMarkListener dirtyMarkListener)
-
-
Method Details
-
removeItem
public net.minecraft.world.item.ItemStack removeItem(int index, int count) - Specified by:
removeItemin interfacenet.minecraft.world.Container- Overrides:
removeItemin classnet.minecraft.world.inventory.CraftingContainer
-
setItem
public void setItem(int index, net.minecraft.world.item.ItemStack stack) - Specified by:
setItemin interfacenet.minecraft.world.Container- Overrides:
setItemin classnet.minecraft.world.inventory.CraftingContainer
-
setChanged
public void setChanged()- Specified by:
setChangedin interfacenet.minecraft.world.Container- Overrides:
setChangedin classnet.minecraft.world.inventory.CraftingContainer
-