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 side)
    • canPlaceItemThroughFace

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

      boolean canTakeItemThroughFace(int index, ItemStack stack, Direction direction)
      Returns true if automation can extract the given item in the given slot from the given side.