public class CustomBossEvent extends BossInfoServer
BossInfo.Color, BossInfo.Overlay| Constructor and Description |
|---|
CustomBossEvent(ResourceLocation idIn,
ITextComponent nameIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPlayer(EntityPlayerMP player) |
void |
addPlayer(java.util.UUID player) |
ITextComponent |
getFormattedName() |
ResourceLocation |
getId() |
int |
getMax() |
int |
getValue() |
void |
onPlayerLogin(EntityPlayerMP player) |
void |
onPlayerLogout(EntityPlayerMP player) |
static CustomBossEvent |
read(NBTTagCompound nbt,
ResourceLocation idIn) |
void |
removeAllPlayers() |
void |
removePlayer(EntityPlayerMP player) |
void |
setMax(int p_201366_1_) |
boolean |
setPlayers(java.util.Collection<EntityPlayerMP> p_201368_1_) |
void |
setValue(int p_201362_1_) |
NBTTagCompound |
write() |
getPlayers, isVisible, setColor, setCreateFog, setDarkenSky, setName, setOverlay, setPercent, setPlayEndBossMusic, setVisiblegetColor, getName, getOverlay, getPercent, getUniqueId, shouldCreateFog, shouldDarkenSky, shouldPlayEndBossMusicpublic CustomBossEvent(ResourceLocation idIn, ITextComponent nameIn)
public ResourceLocation getId()
public void addPlayer(EntityPlayerMP player)
addPlayer in class BossInfoServerpublic void addPlayer(java.util.UUID player)
public void removePlayer(EntityPlayerMP player)
removePlayer in class BossInfoServerpublic void removeAllPlayers()
removeAllPlayers in class BossInfoServerpublic int getValue()
public int getMax()
public void setValue(int p_201362_1_)
public void setMax(int p_201366_1_)
public final ITextComponent getFormattedName()
public boolean setPlayers(java.util.Collection<EntityPlayerMP> p_201368_1_)
public NBTTagCompound write()
public static CustomBossEvent read(NBTTagCompound nbt, ResourceLocation idIn)
public void onPlayerLogin(EntityPlayerMP player)
public void onPlayerLogout(EntityPlayerMP player)