Interface WorldlyContainer

All Superinterfaces:
Clearable, Container
All Known Implementing Classes:
AbstractFurnaceBlockEntity, BlastFurnaceBlockEntity, BrewingStandBlockEntity, ComposterBlock.EmptyContainer, ComposterBlock.InputContainer, ComposterBlock.OutputContainer, FurnaceBlockEntity, ShulkerBoxBlockEntity, SmokerBlockEntity

public interface WorldlyContainer extends Container
  • Method Details

    • getSlotsForFace

      int[] getSlotsForFace(Direction pSide)
    • canPlaceItemThroughFace

      boolean canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, @Nullable Direction pDirection)
      Returns true if automation can insert the given item in the given slot from the given side.
    • canTakeItemThroughFace

      boolean canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection)
      Returns true if automation can extract the given item in the given slot from the given side.