net.minecraft.server.bossevents

public class CustomBossEvent

extends ServerBossEvent

ami
net.minecraft.server.bossevents.CustomBossEvent
net.minecraft.class_3002
net.minecraft.entity.boss.CommandBossBar

Field summary

Modifier and TypeField
private static final int
h
DEFAULT_MAX
field_56602
DEFAULT_MAX_VALUE
private final ResourceLocation
i
id
field_13441
id
private final Set<UUID>
j
players
field_13440
playerUuids
private int
k
value
field_13443
value
private int
l
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(arr 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(arr 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<arr> arg0)
setPlayers(Collection<ServerPlayer> arg0)
method_12962(Collection<class_3222> arg0)
addPlayers(Collection<ServerPlayerEntity> players)
public static CustomBossEvent
a(alg arg0, ami$a arg1)
load(ResourceLocation arg0, CustomBossEvent$Packed arg1)
method_12966(class_2960 arg0, class_3002$class_10765 arg1)
fromSerialized(Identifier id, CommandBossBar$Serialized serialized)
public CustomBossEvent$Packed
f()
pack()
method_67560()
toSerialized()
public void
c(arr arg0)
onPlayerConnect(ServerPlayer arg0)
method_12957(class_3222 arg0)
onPlayerConnect(ServerPlayerEntity player)
public void
d(arr arg0)
onPlayerDisconnect(ServerPlayer arg0)
method_12961(class_3222 arg0)
onPlayerDisconnect(ServerPlayerEntity player)