public class SPacketUpdateBossInfo extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Class and Description |
---|---|
static class |
SPacketUpdateBossInfo.Operation |
Constructor and Description |
---|
SPacketUpdateBossInfo() |
SPacketUpdateBossInfo(SPacketUpdateBossInfo.Operation operationIn,
BossInfo data) |
Modifier and Type | Method and Description |
---|---|
BossInfo.Color |
getColor() |
ITextComponent |
getName() |
SPacketUpdateBossInfo.Operation |
getOperation() |
BossInfo.Overlay |
getOverlay() |
float |
getPercent() |
java.util.UUID |
getUniqueId() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
boolean |
shouldCreateFog() |
boolean |
shouldDarkenSky() |
boolean |
shouldPlayEndBossMusic() |
void |
writePacketData(PacketBuffer buf) |
public SPacketUpdateBossInfo()
public SPacketUpdateBossInfo(SPacketUpdateBossInfo.Operation operationIn, BossInfo data)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public java.util.UUID getUniqueId()
public SPacketUpdateBossInfo.Operation getOperation()
public ITextComponent getName()
public float getPercent()
public BossInfo.Color getColor()
public BossInfo.Overlay getOverlay()
public boolean shouldDarkenSky()
public boolean shouldPlayEndBossMusic()
public boolean shouldCreateFog()