public class CustomBossEvents
extends java.lang.Object
Constructor and Description |
---|
CustomBossEvents(MinecraftServer serverIn) |
Modifier and Type | Method and Description |
---|---|
CustomBossEvent |
add(ResourceLocation id,
ITextComponent p_201379_2_) |
CustomBossEvent |
get(ResourceLocation id) |
java.util.Collection<CustomBossEvent> |
getBossbars() |
java.util.Collection<ResourceLocation> |
getIDs() |
void |
onPlayerLogin(EntityPlayerMP player) |
void |
onPlayerLogout(EntityPlayerMP player) |
void |
read(NBTTagCompound p_201381_1_) |
void |
remove(CustomBossEvent bossbar) |
NBTTagCompound |
write() |
public CustomBossEvents(MinecraftServer serverIn)
@Nullable public CustomBossEvent get(ResourceLocation id)
public CustomBossEvent add(ResourceLocation id, ITextComponent p_201379_2_)
public void remove(CustomBossEvent bossbar)
public java.util.Collection<ResourceLocation> getIDs()
public java.util.Collection<CustomBossEvent> getBossbars()
public NBTTagCompound write()
public void read(NBTTagCompound p_201381_1_)
public void onPlayerLogin(EntityPlayerMP player)
public void onPlayerLogout(EntityPlayerMP player)