Class InfinityBarrel

All Implemented Interfaces:
BarrelCore

public class InfinityBarrel extends BarrelIdentity
This class represents an InfinityBarrel and it's contents
  • Constructor Details

    • InfinityBarrel

      @ParametersAreNonnullByDefault public InfinityBarrel(Location location, ItemStack itemStack, int amount, io.github.mooy1.infinityexpansion.items.storage.StorageCache cache)
  • Method Details

    • requestItem

      @Nullable public ItemStack requestItem(@Nonnull ItemRequest itemRequest)
    • depositItemStack

      public void depositItemStack(ItemStack[] itemsToDeposit)
    • getInputSlot

      public int getInputSlot()
    • getOutputSlot

      public int getOutputSlot()