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

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

Introduction

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

The text is from its open source code.

Method

intcalcRedstoneFromInventory(@Nullable IItemHandler inv)
This method uses the standard vanilla algorithm to calculate a comparator output for how "full" the inventory is.
booleancanItemStacksStack(@Nonnull ItemStack a, @Nonnull ItemStack b)
ItemStackcopyStackWithSize(@Nonnull ItemStack itemStack, int size)
voidgiveItemToPlayer(PlayerEntity player, @Nonnull ItemStack stack)
giveItemToPlayer without preferred slot
ItemStackinsertItem(IItemHandler dest, @Nonnull ItemStack stack, boolean simulate)
ItemStackinsertItemStacked(IItemHandler inventory, @Nonnull ItemStack stack, boolean simulate)
Inserts the ItemStack into the inventory, filling up already present stacks first.