Package net.minecraft.server
Class CustomServerBossInfoManager
- java.lang.Object
-
- net.minecraft.server.CustomServerBossInfoManager
-
public class CustomServerBossInfoManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ResourceLocation,CustomServerBossInfo>
events
-
Constructor Summary
Constructors Constructor Description CustomServerBossInfoManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomServerBossInfo
create(ResourceLocation p_201379_1_, ITextComponent p_201379_2_)
CustomServerBossInfo
get(ResourceLocation p_201384_1_)
java.util.Collection<CustomServerBossInfo>
getEvents()
java.util.Collection<ResourceLocation>
getIds()
void
load(CompoundNBT p_201381_1_)
void
onPlayerConnect(ServerPlayerEntity p_201383_1_)
void
onPlayerDisconnect(ServerPlayerEntity p_201382_1_)
void
remove(CustomServerBossInfo p_201385_1_)
CompoundNBT
save()
-
-
-
Field Detail
-
events
private final java.util.Map<ResourceLocation,CustomServerBossInfo> events
-
-
Method Detail
-
get
@Nullable public CustomServerBossInfo get(ResourceLocation p_201384_1_)
-
create
public CustomServerBossInfo create(ResourceLocation p_201379_1_, ITextComponent p_201379_2_)
-
remove
public void remove(CustomServerBossInfo p_201385_1_)
-
getIds
public java.util.Collection<ResourceLocation> getIds()
-
getEvents
public java.util.Collection<CustomServerBossInfo> getEvents()
-
save
public CompoundNBT save()
-
load
public void load(CompoundNBT p_201381_1_)
-
onPlayerConnect
public void onPlayerConnect(ServerPlayerEntity p_201383_1_)
-
onPlayerDisconnect
public void onPlayerDisconnect(ServerPlayerEntity p_201382_1_)
-
-