net.minecraft.client.util.math

public class Rect2i

net.minecraft.client.renderer.Rect2i
net.minecraft.class_768
net.minecraft.client.util.math.Rect2i

Field summary

Modifier and TypeField
private int
xPos
field_4145
x
private int
yPos
field_4144
y
private int
width
field_4143
width
private int
height
field_4142
height

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height)

Method summary

Modifier and TypeMethod
public Rect2i
intersect(Rect2i other)
method_35780(class_768 arg0)
intersection(Rect2i rect)
public int
getX()
method_3321()
getX()
public int
getY()
method_3322()
getY()
public void
setX(int x)
method_35778(int arg0)
setX(int x)
public void
setY(int y)
method_35781(int arg0)
setY(int y)
public int
getWidth()
method_3319()
getWidth()
public int
getHeight()
method_3320()
getHeight()
public void
setWidth(int width)
method_35782(int arg0)
setWidth(int width)
public void
setHeight(int height)
method_35783(int arg0)
setHeight(int height)
public void
setPosition(int x, int y)
method_35779(int arg0, int arg1)
setStartPos(int x, int y)
public boolean
contains(int x, int y)
method_3318(int arg0, int arg1)
contains(int x, int y)