Class UIArea

java.lang.Object
de.luckymcdev.foundryengine.client.ui.UIArea

public class UIArea extends Object
  • Field Details

    • x

      public int x
    • y

      public int y
    • width

      public int width
    • height

      public int height
  • Constructor Details

    • UIArea

      public UIArea(int x, int y, int width, int height)
  • Method Details

    • getSubArea

      public UIArea getSubArea(UIVec pos, UIVec size, net.minecraft.world.phys.Vec2 anchorPoint)
    • shrink

      public UIArea shrink(int amount)
    • lerp

      public UIArea lerp(UIArea other, float delta)
    • isInArea

      public boolean isInArea(double x, double y)
    • toString

      public String toString()
      Overrides:
      toString in class Object