Package net.minecraft.client.util
Class Rect2i
java.lang.Object
net.minecraft.client.util.Rect2i
@Environment(CLIENT) public class Rect2i extends Object
- Mappings:
Namespace Name official ehv
intermediary net/minecraft/class_768
named net/minecraft/client/util/Rect2i
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Rect2i(int x, int y, int width, int height)
-
Method Summary
-
Field Details
-
x
private int x- Mappings:
Namespace Name Mixin selector official a
Lehv;a:I
intermediary field_4145
Lnet/minecraft/class_768;field_4145:I
named x
Lnet/minecraft/client/util/Rect2i;x:I
-
y
private int y- Mappings:
Namespace Name Mixin selector official b
Lehv;b:I
intermediary field_4144
Lnet/minecraft/class_768;field_4144:I
named y
Lnet/minecraft/client/util/Rect2i;y:I
-
width
private int width- Mappings:
Namespace Name Mixin selector official c
Lehv;c:I
intermediary field_4143
Lnet/minecraft/class_768;field_4143:I
named width
Lnet/minecraft/client/util/Rect2i;width:I
-
height
private int height- Mappings:
Namespace Name Mixin selector official d
Lehv;d:I
intermediary field_4142
Lnet/minecraft/class_768;field_4142:I
named height
Lnet/minecraft/client/util/Rect2i;height:I
-
-
Constructor Details
-
Rect2i
public Rect2i(int x, int y, int width, int height)- Mappings:
Namespace Name Mixin selector official <init>
Lehv;<init>(IIII)V
intermediary <init>
Lnet/minecraft/class_768;<init>(IIII)V
named <init>
Lnet/minecraft/client/util/Rect2i;<init>(IIII)V
-
-
Method Details
-
getX
public int getX()- Mappings:
Namespace Name Mixin selector official a
Lehv;a()I
intermediary method_3321
Lnet/minecraft/class_768;method_3321()I
named getX
Lnet/minecraft/client/util/Rect2i;getX()I
-
getY
public int getY()- Mappings:
Namespace Name Mixin selector official b
Lehv;b()I
intermediary method_3322
Lnet/minecraft/class_768;method_3322()I
named getY
Lnet/minecraft/client/util/Rect2i;getY()I
-
getWidth
public int getWidth()- Mappings:
Namespace Name Mixin selector official c
Lehv;c()I
intermediary method_3319
Lnet/minecraft/class_768;method_3319()I
named getWidth
Lnet/minecraft/client/util/Rect2i;getWidth()I
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector official d
Lehv;d()I
intermediary method_3320
Lnet/minecraft/class_768;method_3320()I
named getHeight
Lnet/minecraft/client/util/Rect2i;getHeight()I
-
contains
public boolean contains(int x, int y)- Mappings:
Namespace Name Mixin selector official b
Lehv;b(II)Z
intermediary method_3318
Lnet/minecraft/class_768;method_3318(II)Z
named contains
Lnet/minecraft/client/util/Rect2i;contains(II)Z
-