public class SUpdateBossInfoPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Class and Description |
---|---|
static class |
SUpdateBossInfoPacket.Operation |
Modifier and Type | Field and Description |
---|---|
private BossInfo.Color |
color |
private boolean |
createFog |
private boolean |
darkenSky |
private ITextComponent |
name |
private SUpdateBossInfoPacket.Operation |
operation |
private BossInfo.Overlay |
overlay |
private float |
percent |
private boolean |
playEndBossMusic |
private java.util.UUID |
uniqueId |
Constructor and Description |
---|
SUpdateBossInfoPacket() |
SUpdateBossInfoPacket(SUpdateBossInfoPacket.Operation operationIn,
BossInfo data) |
Modifier and Type | Method and Description |
---|---|
BossInfo.Color |
getColor() |
private int |
getFlags() |
ITextComponent |
getName() |
SUpdateBossInfoPacket.Operation |
getOperation() |
BossInfo.Overlay |
getOverlay() |
float |
getPercent() |
java.util.UUID |
getUniqueId() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
private void |
setFlags(int flags) |
boolean |
shouldCreateFog() |
boolean |
shouldDarkenSky() |
boolean |
shouldPlayEndBossMusic() |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private java.util.UUID uniqueId
private SUpdateBossInfoPacket.Operation operation
private ITextComponent name
private float percent
private BossInfo.Color color
private BossInfo.Overlay overlay
private boolean darkenSky
private boolean playEndBossMusic
private boolean createFog
public SUpdateBossInfoPacket()
public SUpdateBossInfoPacket(SUpdateBossInfoPacket.Operation operationIn, BossInfo data)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
private void setFlags(int flags)
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
private int getFlags()
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public java.util.UUID getUniqueId()
public SUpdateBossInfoPacket.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()