public abstract class PixelmonWidget
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected float |
scale |
protected int |
width |
protected int |
x |
protected int |
y |
protected float |
zLevel |
Constructor and Description |
---|
PixelmonWidget() |
Modifier and Type | Method and Description |
---|---|
abstract void |
drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix,
float scale) |
void |
drawElementScaled(com.mojang.blaze3d.matrix.MatrixStack matrix,
int x,
int y,
int width,
int height,
float scale,
int index,
net.minecraft.client.gui.screen.Screen parent,
ScreenParticleEngine engine) |
boolean |
isMouseOver(double mouseX,
double mouseY) |
<T extends PixelmonWidget> |
setPosition(int x,
int y,
int width,
int height) |
protected int x
protected int y
protected int width
protected int height
protected float zLevel
protected float scale
public abstract void drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix, float scale)
public <T extends PixelmonWidget> T setPosition(int x, int y, int width, int height)
public boolean isMouseOver(double mouseX, double mouseY)
public void drawElementScaled(com.mojang.blaze3d.matrix.MatrixStack matrix, int x, int y, int width, int height, float scale, int index, net.minecraft.client.gui.screen.Screen parent, ScreenParticleEngine engine)