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
ConstructorDescriptionInventoryCommonModifiableContainerNeoForge
(net.neoforged.neoforge.items.IItemHandlerModifiable itemHandler) -
Method Summary
Modifier and TypeMethodDescriptionint
getSlots()
net.minecraft.world.item.ItemStack
getStackInSlot
(int slot) void
setStackInSlot
(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:
getSlots
in interfaceorg.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
-
getStackInSlot
public net.minecraft.world.item.ItemStack getStackInSlot(int slot) - Specified by:
getStackInSlot
in interfaceorg.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
-
setStackInSlot
public void setStackInSlot(int slot, net.minecraft.world.item.ItemStack itemStack) - Specified by:
setStackInSlot
in interfaceorg.cyclops.cyclopscore.inventory.IInventoryCommonModifiable
-