Interface SelectableSlotContainer

All Known Implementing Classes:
ChiseledBookShelfBlock, ShelfBlock

public interface SelectableSlotContainer
  • Method Details

    • getRows

      int getRows()
    • getColumns

      int getColumns()
    • getHitSlot

      default OptionalInt getHitSlot(BlockHitResult pHitResult, Direction pDirection)
    • getRelativeHitCoordinatesForBlockFace

      private static Optional<Vec2> getRelativeHitCoordinatesForBlockFace(BlockHitResult pHitResult, Direction pDirection)
    • getSection

      private static int getSection(float pPos, int pCount)