public class BattleLogElement extends PixelmonWidget implements net.minecraft.client.renderer.texture.ITickable
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoAcknowledge |
Constructor and Description |
---|
BattleLogElement(ClientBattleManager bm) |
Modifier and Type | Method and Description |
---|---|
void |
acknowledge() |
void |
drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix,
float scale) |
void |
drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix,
int x,
int y,
int width,
int height,
boolean autoAcknowledge) |
void |
forceAddMessage(java.lang.String message) |
boolean |
processUpDown(double mouseX,
double mouseY) |
void |
setActiveMessage(java.lang.String message) |
void |
tick() |
boolean |
withinBounds(double mouseX,
double mouseY) |
drawElementScaled, isMouseOver, setPosition
public BattleLogElement(ClientBattleManager bm)
public void drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix, float scale)
drawElement
in class PixelmonWidget
public void tick()
tick
in interface net.minecraft.client.renderer.texture.ITickable
public void drawElement(com.mojang.blaze3d.matrix.MatrixStack matrix, int x, int y, int width, int height, boolean autoAcknowledge)
public void setActiveMessage(java.lang.String message)
public void forceAddMessage(java.lang.String message)
public void acknowledge()
public boolean withinBounds(double mouseX, double mouseY)
public boolean processUpDown(double mouseX, double mouseY)