net.minecraft.server.level

public class ServerBossEvent

extends BossEvent

asd
net.minecraft.server.level.ServerBossEvent
net.minecraft.class_3213
net.minecraft.entity.boss.ServerBossBar
net.minecraft.server.level.BossBattleServer

Field summary

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

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)
public void
a(bsz$a arg0)
setColor(BossEvent$BossBarColor arg0)
method_5416(class_1259$class_1260 arg0)
setColor(BossBar$Color arg0)
public void
a(bsz$b arg0)
setOverlay(BossEvent$BossBarOverlay arg0)
method_5409(class_1259$class_1261 arg0)
setStyle(BossBar$Style arg0)
public BossEvent
a(boolean arg0)
setDarkenScreen(boolean arg0)
method_5406(boolean arg0)
setDarkenSky(boolean arg0)
public BossEvent
b(boolean arg0)
setPlayBossMusic(boolean arg0)
method_5410(boolean arg0)
setDragonMusic(boolean arg0)
public BossEvent
c(boolean arg0)
setCreateWorldFog(boolean arg0)
method_5411(boolean arg0)
setThickenFog(boolean arg0)
public void
a(xv arg0)
setName(Component arg0)
method_5413(class_2561 arg0)
setName(Text arg0)
private void
a(Function<bsz, adb> arg0)
broadcast(Function<BossEvent, ClientboundBossEventPacket> arg0)
method_14090(Function<class_1259, class_2629> arg0)
sendPacket(Function<BossBar, BossBarS2CPacket> bossBarToPacketFunction)
public void
a(asi arg0)
addPlayer(ServerPlayer arg0)
method_14088(class_3222 arg0)
addPlayer(ServerPlayerEntity player)
public void
b(asi arg0)
removePlayer(ServerPlayer arg0)
method_14089(class_3222 arg0)
removePlayer(ServerPlayerEntity player)
public void
b()
removeAllPlayers()
method_14094()
clearPlayers()
public boolean
f()
isVisible()
method_14093()
isVisible()
public void
d(boolean arg0)
setVisible(boolean arg0)
method_14091(boolean arg0)
setVisible(boolean visible)
public Collection<ServerPlayer>
g()
getPlayers()
method_14092()
getPlayers()