Class InventoryCommonModifiableContainerNeoForge
java.lang.Object
org.cyclops.cyclopscore.inventory.InventoryCommonModifiableContainerNeoForge
- All Implemented Interfaces:
org.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
public class InventoryCommonModifiableContainerNeoForge
extends Object
implements org.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
-
Constructor Summary
ConstructorsConstructorDescriptionInventoryCommonModifiableContainerNeoForge(net.neoforged.neoforge.items.IItemHandlerModifiable itemHandler) -
Method Summary
Modifier and TypeMethodDescriptionintgetSlots()net.minecraft.world.item.ItemStackgetStackInSlot(int slot) voidsetStackInSlot(int slot, net.minecraft.world.item.ItemStack itemStack)
-
Constructor Details
-
InventoryCommonModifiableContainerNeoForge
public InventoryCommonModifiableContainerNeoForge(net.neoforged.neoforge.items.IItemHandlerModifiable itemHandler)
-
-
Method Details
-
getSlots
public int getSlots()- Specified by:
getSlotsin interfaceorg.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
-
getStackInSlot
public net.minecraft.world.item.ItemStack getStackInSlot(int slot) - Specified by:
getStackInSlotin interfaceorg.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
-
setStackInSlot
public void setStackInSlot(int slot, net.minecraft.world.item.ItemStack itemStack) - Specified by:
setStackInSlotin interfaceorg.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
-