public class AllyElement extends PixelmonWidget
Constructor and Description |
---|
AllyElement(PixelmonClientData ally,
net.minecraft.client.gui.screen.Screen parent,
ScreenParticleEngine particleEngine) |
Modifier and Type | Method and Description |
---|---|
void |
drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix,
float scale) |
void |
drawSelected(com.mojang.blaze3d.matrix.MatrixStack matrix,
int x,
int y,
int width,
int height,
float scale) |
PixelmonClientData |
getAlly() |
drawElementScaled, isMouseOver, setPosition
public AllyElement(PixelmonClientData ally, net.minecraft.client.gui.screen.Screen parent, ScreenParticleEngine particleEngine)
public PixelmonClientData getAlly()
public void drawSelected(com.mojang.blaze3d.matrix.MatrixStack matrix, int x, int y, int width, int height, float scale)
public void drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix, float scale)
drawElement
in class PixelmonWidget