public static class RenderGameOverlayEvent.BossInfo extends RenderGameOverlayEvent.Pre
RenderGameOverlayEvent.BossInfo, RenderGameOverlayEvent.Chat, RenderGameOverlayEvent.ElementType, RenderGameOverlayEvent.Post, RenderGameOverlayEvent.Pre, RenderGameOverlayEvent.Text
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private BossInfoClient |
bossInfo |
private int |
increment |
private int |
x |
private int |
y |
Constructor and Description |
---|
BossInfo(RenderGameOverlayEvent parent,
RenderGameOverlayEvent.ElementType type,
BossInfoClient bossInfo,
int x,
int y,
int increment) |
Modifier and Type | Method and Description |
---|---|
BossInfoClient |
getBossInfo() |
int |
getIncrement() |
int |
getX() |
int |
getY() |
void |
setIncrement(int increment)
Sets the amount to move down before rendering the next bar
|
getPartialTicks, getResolution, getType
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final BossInfoClient bossInfo
private final int x
private final int y
private int increment
public BossInfo(RenderGameOverlayEvent parent, RenderGameOverlayEvent.ElementType type, BossInfoClient bossInfo, int x, int y, int increment)
public BossInfoClient getBossInfo()
BossInfoClient
currently being renderedpublic int getX()
public int getY()
public int getIncrement()
public void setIncrement(int increment)
increment
- The increment to set