Interface LayoutHelper

All Known Implementing Classes:
LayoutHelper.CenteredHorizontalLayoutHelper

public interface LayoutHelper
  • Method Details

    • centeredHorizontal

      static LayoutHelper centeredHorizontal(int itemCount, int rows, int width, int height, int spacing)
    • getX

      int getX()
    • getY

      int getY()
    • next

      void next()
    • getTotalWidth

      int getTotalWidth()
    • getTotalHeight

      int getTotalHeight()
    • getArea

      default net.minecraft.client.renderer.Rect2i getArea()