Package net.minecraft.client.renderer
Class Rect2i
java.lang.Object
net.minecraft.client.renderer.Rect2i
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
xPos
private int xPos -
yPos
private int yPos -
width
private int width -
height
private int height
-
-
Constructor Details
-
Rect2i
public Rect2i(int xPos, int yPos, int width, int height)
-
-
Method Details
-
intersect
-
getX
public int getX() -
getY
public int getY() -
setX
public void setX(int xPos) -
setY
public void setY(int yPos) -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
setWidth
public void setWidth(int width) -
setHeight
public void setHeight(int height) -
setPosition
public void setPosition(int xPos, int yPos) -
contains
public boolean contains(int x, int y)
-