net.minecraft.server.level

public class ServerBossEvent

extends BossEvent

xa
net.minecraft.server.level.ServerBossEvent
net.minecraft.class_3213
net.minecraft.entity.boss.ServerBossBar
net.minecraft.world.server.ServerBossInfo
net.minecraft.server.v1_15_R1.BossBattleServer

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(float arg0)
setPercent(float arg0)
method_5408(float arg0)
setPercent(float arg0)
func_186735_a(float arg0)
setProgress(float arg0)
public void
a(aiy$a arg0)
setColor(BossEvent$BossBarColor arg0)
method_5416(class_1259$class_1260 arg0)
setColor(BossBar$Color arg0)
func_186745_a(BossInfo$Color arg0)
public void
a(aiy$b arg0)
setOverlay(BossEvent$BossBarOverlay arg0)
method_5409(class_1259$class_1261 arg0)
setOverlay(BossBar$Style arg0)
func_186746_a(BossInfo$Overlay arg0)
public BossEvent
a(boolean arg0)
setDarkenScreen(boolean arg0)
method_5406(boolean arg0)
setDarkenSky(boolean arg0)
func_186741_a(boolean arg0)
setDarkenSky(boolean arg0)
public BossEvent
b(boolean arg0)
setPlayBossMusic(boolean arg0)
method_5410(boolean arg0)
setDragonMusic(boolean arg0)
func_186742_b(boolean arg0)
setPlayMusic(boolean arg0)
public BossEvent
c(boolean arg0)
setCreateWorldFog(boolean arg0)
method_5411(boolean arg0)
setThickenFog(boolean arg0)
func_186743_c(boolean arg0)
setCreateFog(boolean arg0)
public void
a(lf arg0)
setName(Component arg0)
method_5413(class_2561 arg0)
setName(Text arg0)
func_186739_a(ITextComponent arg0)
private void
a(mk$a arg0)
broadcast(ClientboundBossEventPacket$Operation arg0)
method_14090(class_2629$class_2630 arg0)
sendPacket(BossBarS2CPacket$Type type)
func_186759_a(SUpdateBossInfoPacket$Operation arg0)
sendUpdate(PacketPlayOutBoss$Action arg0)
public void
a(xe arg0)
addPlayer(ServerPlayer arg0)
method_14088(class_3222 arg0)
addPlayer(ServerPlayerEntity player)
func_186760_a(ServerPlayerEntity arg0)
addPlayer(EntityPlayer arg0)
public void
b(xe arg0)
removePlayer(ServerPlayer arg0)
method_14089(class_3222 arg0)
removePlayer(ServerPlayerEntity player)
func_186761_b(ServerPlayerEntity arg0)
removePlayer(EntityPlayer arg0)
public void
b()
removeAllPlayers()
method_14094()
clearPlayers()
func_201360_b()
public boolean
g()
isVisible()
method_14093()
isVisible()
func_201359_g()
public void
d(boolean arg0)
setVisible(boolean arg0)
method_14091(boolean arg0)
setVisible(boolean visible)
func_186758_d(boolean arg0)
setVisible(boolean arg0)
public Collection<ServerPlayer>
h()
getPlayers()
method_14092()
getPlayers()
func_186757_c()
getPlayers()