net.minecraft.server.bossevents

public class CustomBossEvent

extends ServerBossEvent

alx
net.minecraft.server.bossevents.CustomBossEvent
net.minecraft.class_3002
net.minecraft.entity.boss.CommandBossBar
net.minecraft.server.bossevents.BossBattleCustom

Field summary

Modifier and TypeField
private final ResourceLocation
h
id
field_13441
id
private final Set<UUID>
i
players
field_13440
playerUuids
private int
j
value
field_13443
value
private int
k
max
field_13442
maxValue

Constructor summary

ModifierConstructor
public (ResourceLocation id, Component displayName)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getTextId()
method_12959()
getId()
public void
a(are arg0)
addPlayer(ServerPlayer arg0)
method_14088(class_3222 arg0)
addPlayer(ServerPlayerEntity arg0)
public void
a(UUID arg0)
addOfflinePlayer(UUID arg0)
method_12964(UUID arg0)
addPlayer(UUID uuid)
public void
b(are arg0)
removePlayer(ServerPlayer arg0)
method_14089(class_3222 arg0)
removePlayer(ServerPlayerEntity arg0)
public void
b()
removeAllPlayers()
method_14094()
clearPlayers()
public int
c()
getValue()
method_12955()
getValue()
public int
d()
getMax()
method_12960()
getMaxValue()
public void
a(int arg0)
setValue(int arg0)
method_12954(int arg0)
setValue(int value)
public void
b(int arg0)
setMax(int arg0)
method_12956(int arg0)
setMaxValue(int maxValue)
public final Component
e()
getDisplayName()
method_12965()
toHoverableText()
public boolean
a(Collection<are> arg0)
setPlayers(Collection<ServerPlayer> arg0)
method_12962(Collection<class_3222> arg0)
addPlayers(Collection<ServerPlayerEntity> players)
public CompoundTag
a(jt$a arg0)
save(HolderLookup$Provider arg0)
method_12963(class_7225$class_7874 arg0)
toNbt(RegistryWrapper$WrapperLookup registries)
public static CustomBossEvent
a(tq arg0, akv arg1, jt$a arg2)
load(CompoundTag arg0, ResourceLocation arg1, HolderLookup$Provider arg2)
method_12966(class_2487 arg0, class_2960 arg1, class_7225$class_7874 arg2)
fromNbt(NbtCompound nbt, Identifier id, RegistryWrapper$WrapperLookup registries)
public void
c(are arg0)
onPlayerConnect(ServerPlayer arg0)
method_12957(class_3222 arg0)
onPlayerConnect(ServerPlayerEntity player)
public void
d(are arg0)
onPlayerDisconnect(ServerPlayer arg0)
method_12961(class_3222 arg0)
onPlayerDisconnect(ServerPlayerEntity player)