public class OpponentElement extends PixelmonWidget
Constructor and Description |
---|
OpponentElement(PixelmonClientData enemy,
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 |
getEnemy() |
drawElementScaled, isMouseOver, setPosition
public OpponentElement(PixelmonClientData enemy, net.minecraft.client.gui.screen.Screen parent, ScreenParticleEngine particleEngine)
public PixelmonClientData getEnemy()
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