Java net.minecraftforge.items IItemHandler fields, constructors, methods, implement or subclass

Example usage for Java net.minecraftforge.items IItemHandler fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for net.minecraftforge.items IItemHandler.

The text is from its open source code.

Implementation

net.minecraftforge.items.IItemHandler has the following implementations.
Click this link to see all its implementation.

Constructor

Method

ItemStackextractItem(int slot, int amount, boolean simulate)
Extracts an ItemStack from the given slot.
intgetSlotLimit(int slot)
Retrieves the maximum stack size allowed to exist in the given slot.
intgetSlots()
Returns the number of slots available
ItemStackgetStackInSlot(int slot)
Returns the ItemStack in a given slot.
ItemStackinsertItem(int slot, @Nonnull ItemStack stack, boolean simulate)

Inserts an ItemStack into the given slot and return the remainder.