net.minecraft.server.bossevents

public class CustomBossEvent

extends ServerBossEvent

abd
net.minecraft.server.bossevents.CustomBossEvent
net.minecraft.class_3002
net.minecraft.entity.boss.CommandBossBar
net.minecraft.src.C_5289_
net.minecraft.server.bossevents.BossBattleCustom

Field summary

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

Constructor summary

ModifierConstructor
public (ResourceLocation id, Component displayName)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getTextId()
method_12959()
getId()
m_136263_()
public void
a(afp arg0)
addPlayer(ServerPlayer arg0)
method_14088(class_3222 arg0)
addPlayer(ServerPlayerEntity arg0)
m_6543_(C_13_ arg0)
public void
a(UUID arg0)
addOfflinePlayer(UUID arg0)
method_12964(UUID arg0)
addPlayer(UUID uuid)
m_136270_(UUID arg0)
public void
b(afp arg0)
removePlayer(ServerPlayer arg0)
method_14089(class_3222 arg0)
removePlayer(ServerPlayerEntity arg0)
m_6539_(C_13_ arg0)
public void
b()
removeAllPlayers()
method_14094()
clearPlayers()
m_7706_()
public int
c()
getValue()
method_12955()
getValue()
m_136282_()
public int
d()
getMax()
method_12960()
getMaxValue()
m_136285_()
public void
a(int arg0)
setValue(int arg0)
method_12954(int arg0)
setValue(int value)
m_136264_(int arg0)
public void
b(int arg0)
setMax(int arg0)
method_12956(int arg0)
setMaxValue(int maxValue)
m_136278_(int arg0)
public final Component
e()
getDisplayName()
method_12965()
toHoverableText()
m_136288_()
public boolean
a(Collection<afp> arg0)
setPlayers(Collection<ServerPlayer> arg0)
method_12962(Collection<class_3222> arg0)
addPlayers(Collection<ServerPlayerEntity> players)
m_136268_(Collection<C_13_> arg0)
public CompoundTag
f()
save()
method_12963()
toNbt()
m_136289_()
public static CustomBossEvent
a(pj arg0, aaj arg1)
load(CompoundTag arg0, ResourceLocation arg1)
method_12966(class_2487 arg0, class_2960 arg1)
fromNbt(NbtCompound nbt, Identifier id)
m_136272_(C_4917_ p_136273_, C_5265_ p_136274_)
public void
c(afp arg0)
onPlayerConnect(ServerPlayer arg0)
method_12957(class_3222 arg0)
onPlayerConnect(ServerPlayerEntity player)
m_136283_(C_13_ arg0)
public void
d(afp arg0)
onPlayerDisconnect(ServerPlayer arg0)
method_12961(class_3222 arg0)
onPlayerDisconnect(ServerPlayerEntity player)
m_136286_(C_13_ arg0)