public static class RenderGameOverlayEvent.BossInfo extends RenderGameOverlayEvent.Pre
RenderGameOverlayEvent.BossInfo, RenderGameOverlayEvent.Chat, RenderGameOverlayEvent.ElementType, RenderGameOverlayEvent.Post, RenderGameOverlayEvent.Pre, RenderGameOverlayEvent.Text
Modifier and Type | Field and Description |
---|---|
private ClientBossInfo |
bossInfo |
private int |
increment |
private int |
x |
private int |
y |
Constructor and Description |
---|
BossInfo(RenderGameOverlayEvent parent,
RenderGameOverlayEvent.ElementType type,
ClientBossInfo bossInfo,
int x,
int y,
int increment) |
Modifier and Type | Method and Description |
---|---|
ClientBossInfo |
getBossInfo() |
int |
getIncrement() |
int |
getX() |
int |
getY() |
void |
setIncrement(int increment)
Sets the amount to move down before rendering the next bar
|
getPartialTicks, getType, getWindow
private final ClientBossInfo bossInfo
private final int x
private final int y
private int increment
public BossInfo(RenderGameOverlayEvent parent, RenderGameOverlayEvent.ElementType type, ClientBossInfo bossInfo, int x, int y, int increment)
public ClientBossInfo getBossInfo()
BossInfoClient
currently being renderedpublic int getX()
public int getY()
public int getIncrement()
public void setIncrement(int increment)
increment
- The increment to set