public class BossEventPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
BossEventPacket.Type |
| Constructor and Description |
|---|
BossEventPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
long |
getBossUniqueEntityId() |
int |
getColor() |
int |
getDarkenSky() |
float |
getHealthPercentage() |
int |
getOverlay() |
long |
getPlayerUniqueEntityId() |
String |
getTitle() |
BossEventPacket.Type |
getType() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setBossUniqueEntityId(long bossUniqueEntityId) |
void |
setColor(int color) |
void |
setDarkenSky(int darkenSky) |
void |
setHealthPercentage(float healthPercentage) |
void |
setOverlay(int overlay) |
void |
setPlayerUniqueEntityId(long playerUniqueEntityId) |
void |
setTitle(String title) |
void |
setType(BossEventPacket.Type type) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic long getBossUniqueEntityId()
public BossEventPacket.Type getType()
public long getPlayerUniqueEntityId()
public String getTitle()
public float getHealthPercentage()
public int getDarkenSky()
public int getColor()
public int getOverlay()
public void setBossUniqueEntityId(long bossUniqueEntityId)
public void setType(BossEventPacket.Type type)
public void setPlayerUniqueEntityId(long playerUniqueEntityId)
public void setTitle(String title)
public void setHealthPercentage(float healthPercentage)
public void setDarkenSky(int darkenSky)
public void setColor(int color)
public void setOverlay(int overlay)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.