Class InventoryCraftingDirtyable
java.lang.Object
net.minecraft.world.inventory.TransientCraftingContainer
org.cyclops.integratedterminals.inventory.InventoryCraftingDirtyable
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.inventory.CraftingContainer,net.minecraft.world.inventory.StackedContentsCompatible
public class InventoryCraftingDirtyable
extends net.minecraft.world.inventory.TransientCraftingContainer
An extended
CraftingContainer that has a IDirtyMarkListener.-
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, 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.TransientCraftingContainer
clearContent, fillStackedContents, getContainerSize, getHeight, getItem, getItems, 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, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, 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.TransientCraftingContainer
-
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.TransientCraftingContainer
-
setChanged
public void setChanged()- Specified by:
setChangedin interfacenet.minecraft.world.Container- Overrides:
setChangedin classnet.minecraft.world.inventory.TransientCraftingContainer
-