public class TargetScreen
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static net.minecraft.util.ResourceLocation |
emptyTexture |
protected int |
h |
protected int |
w |
protected int |
x |
protected int |
y |
protected float |
z |
Constructor and Description |
---|
TargetScreen(float z) |
TargetScreen(int x,
int y,
int w,
int h,
float z) |
Modifier and Type | Method and Description |
---|---|
void |
draw(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY) |
int |
getHeight() |
int |
getWidth() |
int |
getX() |
int |
getY() |
boolean |
isInside(double mouseX,
double mouseY) |
void |
setHeight(int h) |
void |
setWidth(int w) |
void |
setX(int x) |
void |
setY(int y) |
protected int x
protected int y
protected int w
protected int h
protected float z
protected static net.minecraft.util.ResourceLocation emptyTexture
public TargetScreen(float z)
public TargetScreen(int x, int y, int w, int h, float z)
public void draw(com.mojang.blaze3d.matrix.MatrixStack matrixStack, int mouseX, int mouseY)
public boolean isInside(double mouseX, double mouseY)
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int w)
public int getHeight()
public void setHeight(int h)