net.minecraft.server.bossevents

public class CustomBossEvent

extends ServerBossEvent

amf
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(arg 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(arg 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<arg> arg0)
setPlayers(Collection<ServerPlayer> arg0)
method_12962(Collection<class_3222> arg0)
addPlayers(Collection<ServerPlayerEntity> players)
m_136268_(Collection<C_13_> arg0)
public CompoundTag
a(jk$a arg0)
save(HolderLookup$Provider arg0)
method_12963(class_7225$class_7874 arg0)
toNbt(RegistryWrapper$WrapperLookup arg0)
m_136289_(C_213466_$C_254607_ arg0)
public static CustomBossEvent
a(us arg0, alf arg1, jk$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 arg2)
m_136272_(C_4917_ p_136273_, C_5265_ p_136274_, C_213466_$C_254607_ p_327949_)
public void
c(arg arg0)
onPlayerConnect(ServerPlayer arg0)
method_12957(class_3222 arg0)
onPlayerConnect(ServerPlayerEntity player)
m_136283_(C_13_ arg0)
public void
d(arg arg0)
onPlayerDisconnect(ServerPlayer arg0)
method_12961(class_3222 arg0)
onPlayerDisconnect(ServerPlayerEntity player)
m_136286_(C_13_ arg0)