public class BossInfoServer extends BossInfo
BossInfo.Color, BossInfo.Overlay
Constructor and Description |
---|
BossInfoServer(ITextComponent nameIn,
BossInfo.Color colorIn,
BossInfo.Overlay overlayIn) |
Modifier and Type | Method and Description |
---|---|
void |
addPlayer(EntityPlayerMP player) |
java.util.Collection<EntityPlayerMP> |
getPlayers() |
void |
removePlayer(EntityPlayerMP player) |
void |
setColor(BossInfo.Color colorIn) |
BossInfo |
setCreateFog(boolean createFogIn) |
BossInfo |
setDarkenSky(boolean darkenSkyIn) |
void |
setName(ITextComponent nameIn) |
void |
setOverlay(BossInfo.Overlay overlayIn) |
void |
setPercent(float percentIn) |
BossInfo |
setPlayEndBossMusic(boolean playEndBossMusicIn) |
void |
setVisible(boolean visibleIn) |
getColor, getName, getOverlay, getPercent, getUniqueId, shouldCreateFog, shouldDarkenSky, shouldPlayEndBossMusic
public BossInfoServer(ITextComponent nameIn, BossInfo.Color colorIn, BossInfo.Overlay overlayIn)
public void setPercent(float percentIn)
setPercent
in class BossInfo
public void setColor(BossInfo.Color colorIn)
public void setOverlay(BossInfo.Overlay overlayIn)
setOverlay
in class BossInfo
public BossInfo setDarkenSky(boolean darkenSkyIn)
setDarkenSky
in class BossInfo
public BossInfo setPlayEndBossMusic(boolean playEndBossMusicIn)
setPlayEndBossMusic
in class BossInfo
public BossInfo setCreateFog(boolean createFogIn)
setCreateFog
in class BossInfo
public void setName(ITextComponent nameIn)
public void addPlayer(EntityPlayerMP player)
public void removePlayer(EntityPlayerMP player)
public void setVisible(boolean visibleIn)
public java.util.Collection<EntityPlayerMP> getPlayers()