net.minecraft.server.bossevents

public class CustomBossEvent

extends ServerBossEvent

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

Field summary

Modifier and TypeField
private static final int
h
DEFAULT_MAX
field_56602
DEFAULT_MAX_VALUE
f_380422_
private final ResourceLocation
i
id
field_13441
id
f_136256_
private final Set<UUID>
j
players
field_13440
playerUuids
f_136257_
private int
k
value
field_13443
value
f_136258_
private int
l
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(auc 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(auc 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<auc> arg0)
setPlayers(Collection<ServerPlayer> arg0)
method_12962(Collection<class_3222> arg0)
addPlayers(Collection<ServerPlayerEntity> players)
m_136268_(Collection<C_13_> arg0)
public static CustomBossEvent
a(ame arg0, ang$a arg1)
load(ResourceLocation arg0, CustomBossEvent$Packed arg1)
method_12966(class_2960 arg0, class_3002$class_10765 arg1)
fromSerialized(Identifier id, CommandBossBar$Serialized serialized)
m_136272_(C_5265_ p_136274_, C_5289_$C_379115_ p_392681_)
public CustomBossEvent$Packed
f()
pack()
method_67560()
toSerialized()
m_388347_()
public void
c(auc arg0)
onPlayerConnect(ServerPlayer arg0)
method_12957(class_3222 arg0)
onPlayerConnect(ServerPlayerEntity player)
m_136283_(C_13_ arg0)
public void
d(auc arg0)
onPlayerDisconnect(ServerPlayer arg0)
method_12961(class_3222 arg0)
onPlayerDisconnect(ServerPlayerEntity player)
m_136286_(C_13_ arg0)