Class Rect2i

java.lang.Object
net.minecraft.client.util.math.Rect2i

@Environment(CLIENT) public class Rect2i extends Object
Mappings:
Namespace Name
named net/minecraft/client/util/math/Rect2i
intermediary net/minecraft/class_768
official gey
  • Field Details

    • x

      private int x
      Mappings:
      Namespace Name Mixin selector
      named x Lnet/minecraft/client/util/math/Rect2i;x:I
      intermediary field_4145 Lnet/minecraft/class_768;field_4145:I
      official a Lgey;a:I
    • y

      private int y
      Mappings:
      Namespace Name Mixin selector
      named y Lnet/minecraft/client/util/math/Rect2i;y:I
      intermediary field_4144 Lnet/minecraft/class_768;field_4144:I
      official b Lgey;b:I
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/util/math/Rect2i;width:I
      intermediary field_4143 Lnet/minecraft/class_768;field_4143:I
      official c Lgey;c:I
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/client/util/math/Rect2i;height:I
      intermediary field_4142 Lnet/minecraft/class_768;field_4142:I
      official d Lgey;d:I
  • Constructor Details

    • Rect2i

      public Rect2i(int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/math/Rect2i;<init>(IIII)V
      intermediary <init> Lnet/minecraft/class_768;<init>(IIII)V
      official <init> Lgey;<init>(IIII)V
  • Method Details

    • intersection

      public Rect2i intersection(Rect2i rect)
      Mappings:
      Namespace Name Mixin selector
      named intersection Lnet/minecraft/client/util/math/Rect2i;intersection(Lnet/minecraft/client/util/math/Rect2i;)Lnet/minecraft/client/util/math/Rect2i;
      intermediary method_35780 Lnet/minecraft/class_768;method_35780(Lnet/minecraft/class_768;)Lnet/minecraft/class_768;
      official a Lgey;a(Lgey;)Lgey;
    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      named getX Lnet/minecraft/client/util/math/Rect2i;getX()I
      intermediary method_3321 Lnet/minecraft/class_768;method_3321()I
      official a Lgey;a()I
    • getY

      public int getY()
      Mappings:
      Namespace Name Mixin selector
      named getY Lnet/minecraft/client/util/math/Rect2i;getY()I
      intermediary method_3322 Lnet/minecraft/class_768;method_3322()I
      official b Lgey;b()I
    • setX

      public void setX(int x)
      Mappings:
      Namespace Name Mixin selector
      named setX Lnet/minecraft/client/util/math/Rect2i;setX(I)V
      intermediary method_35778 Lnet/minecraft/class_768;method_35778(I)V
      official a Lgey;a(I)V
    • setY

      public void setY(int y)
      Mappings:
      Namespace Name Mixin selector
      named setY Lnet/minecraft/client/util/math/Rect2i;setY(I)V
      intermediary method_35781 Lnet/minecraft/class_768;method_35781(I)V
      official b Lgey;b(I)V
    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/util/math/Rect2i;getWidth()I
      intermediary method_3319 Lnet/minecraft/class_768;method_3319()I
      official c Lgey;c()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/util/math/Rect2i;getHeight()I
      intermediary method_3320 Lnet/minecraft/class_768;method_3320()I
      official d Lgey;d()I
    • setWidth

      public void setWidth(int width)
      Mappings:
      Namespace Name Mixin selector
      named setWidth Lnet/minecraft/client/util/math/Rect2i;setWidth(I)V
      intermediary method_35782 Lnet/minecraft/class_768;method_35782(I)V
      official c Lgey;c(I)V
    • setHeight

      public void setHeight(int height)
      Mappings:
      Namespace Name Mixin selector
      named setHeight Lnet/minecraft/client/util/math/Rect2i;setHeight(I)V
      intermediary method_35783 Lnet/minecraft/class_768;method_35783(I)V
      official d Lgey;d(I)V
    • setStartPos

      public void setStartPos(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named setStartPos Lnet/minecraft/client/util/math/Rect2i;setStartPos(II)V
      intermediary method_35779 Lnet/minecraft/class_768;method_35779(II)V
      official a Lgey;a(II)V
    • contains

      public boolean contains(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named contains Lnet/minecraft/client/util/math/Rect2i;contains(II)Z
      intermediary method_3318 Lnet/minecraft/class_768;method_3318(II)Z
      official b Lgey;b(II)Z