net.minecraft.server.level

public class ServerBossEvent

extends BossEvent

adf
net.minecraft.server.level.ServerBossEvent
net.minecraft.class_3213
net.minecraft.entity.boss.ServerBossBar
net.minecraft.src.C_7_
net.minecraft.server.level.BossBattleServer

Field summary

Modifier and TypeField
private final Set<ServerPlayer>
h
players
field_13913
players
f_8296_
private final Set<ServerPlayer>
i
unmodifiablePlayers
field_13914
unmodifiablePlayers
f_8297_
private boolean
j
visible
field_13912
visible
f_8298_

Constructor summary

ModifierConstructor
public (Component displayName, BossEvent$BossBarColor color, BossEvent$BossBarOverlay style)

Method summary

Modifier and TypeMethod
public void
a(float arg0)
setProgress(float arg0)
method_5408(float arg0)
setPercent(float arg0)
m_142711_(float arg0)
public void
a(avg$a arg0)
setColor(BossEvent$BossBarColor arg0)
method_5416(class_1259$class_1260 arg0)
setColor(BossBar$Color arg0)
m_6451_(C_459_$C_460_ arg0)
public void
a(avg$b arg0)
setOverlay(BossEvent$BossBarOverlay arg0)
method_5409(class_1259$class_1261 arg0)
setStyle(BossBar$Style arg0)
m_5648_(C_459_$C_461_ arg0)
public BossEvent
a(boolean arg0)
setDarkenScreen(boolean arg0)
method_5406(boolean arg0)
setDarkenSky(boolean arg0)
m_7003_(boolean arg0)
public BossEvent
b(boolean arg0)
setPlayBossMusic(boolean arg0)
method_5410(boolean arg0)
setDragonMusic(boolean arg0)
m_7005_(boolean arg0)
public BossEvent
c(boolean arg0)
setCreateWorldFog(boolean arg0)
method_5411(boolean arg0)
setThickenFog(boolean arg0)
m_7006_(boolean arg0)
public void
a(pz arg0)
setName(Component arg0)
method_5413(class_2561 arg0)
setName(Text arg0)
m_6456_(C_4996_ arg0)
private void
a(Function<avg, ri> arg0)
broadcast(Function<BossEvent, ClientboundBossEventPacket> arg0)
method_14090(Function<class_1259, class_2629> arg0)
sendPacket(Function<BossBar, BossBarS2CPacket> bossBarToPacketFunction)
m_143224_(Function<C_459_, C_5044_> arg0)
public void
a(adj arg0)
addPlayer(ServerPlayer arg0)
method_14088(class_3222 arg0)
addPlayer(ServerPlayerEntity player)
m_6543_(C_13_ arg0)
public void
b(adj arg0)
removePlayer(ServerPlayer arg0)
method_14089(class_3222 arg0)
removePlayer(ServerPlayerEntity player)
m_6539_(C_13_ arg0)
public void
b()
removeAllPlayers()
method_14094()
clearPlayers()
m_7706_()
public boolean
g()
isVisible()
method_14093()
isVisible()
m_8323_()
public void
d(boolean arg0)
setVisible(boolean arg0)
method_14091(boolean arg0)
setVisible(boolean visible)
m_8321_(boolean arg0)
public Collection<ServerPlayer>
h()
getPlayers()
method_14092()
getPlayers()
m_8324_()