public class CustomServerBossInfoManager
extends java.lang.Object
コンストラクタと説明 |
---|
CustomServerBossInfoManager(MinecraftServer serverIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
CustomServerBossInfo |
add(ResourceLocation id,
ITextComponent p_201379_2_) |
CustomServerBossInfo |
get(ResourceLocation id) |
java.util.Collection<CustomServerBossInfo> |
getBossbars() |
java.util.Collection<ResourceLocation> |
getIDs() |
void |
onPlayerLogin(ServerPlayerEntity player) |
void |
onPlayerLogout(ServerPlayerEntity player) |
void |
read(CompoundNBT p_201381_1_) |
void |
remove(CustomServerBossInfo bossbar) |
CompoundNBT |
write() |
public CustomServerBossInfoManager(MinecraftServer serverIn)
@Nullable public CustomServerBossInfo get(ResourceLocation id)
public CustomServerBossInfo add(ResourceLocation id, ITextComponent p_201379_2_)
public void remove(CustomServerBossInfo bossbar)
public java.util.Collection<ResourceLocation> getIDs()
public java.util.Collection<CustomServerBossInfo> getBossbars()
public CompoundNBT write()
public void read(CompoundNBT p_201381_1_)
public void onPlayerLogin(ServerPlayerEntity player)
public void onPlayerLogout(ServerPlayerEntity player)