net.minecraft.network.protocol.game

public class ClientboundBossEventPacket

implements Packet<ClientGamePacketListener>

adb
net.minecraft.network.protocol.game.ClientboundBossEventPacket
net.minecraft.class_2629
net.minecraft.network.packet.s2c.play.BossBarS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutBoss

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundBossEventPacket>
a
STREAM_CODEC
field_47906
CODEC
private static final int
b
FLAG_DARKEN
field_33314
DARKEN_SKY_MASK
private static final int
c
FLAG_MUSIC
field_33315
DRAGON_MUSIC_MASK
private static final int
d
FLAG_FOG
field_33316
THICKEN_FOG_MASK
private final UUID
e
id
field_12074
uuid
private final ClientboundBossEventPacket$Operation
f
operation
field_12075
action
static final ClientboundBossEventPacket$Operation
g
REMOVE_OPERATION
field_29099
REMOVE_ACTION

Constructor summary

ModifierConstructor
private (UUID uuid, ClientboundBossEventPacket$Operation action)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public static ClientboundBossEventPacket
a(bsz arg0)
createAddPacket(BossEvent arg0)
method_34089(class_1259 arg0)
add(BossBar bar)
public static ClientboundBossEventPacket
a(UUID arg0)
createRemovePacket(UUID arg0)
method_34090(UUID arg0)
remove(UUID uuid)
public static ClientboundBossEventPacket
b(bsz arg0)
createUpdateProgressPacket(BossEvent arg0)
method_34094(class_1259 arg0)
updateProgress(BossBar bar)
public static ClientboundBossEventPacket
c(bsz arg0)
createUpdateNamePacket(BossEvent arg0)
method_34096(class_1259 arg0)
updateName(BossBar bar)
public static ClientboundBossEventPacket
d(bsz arg0)
createUpdateStylePacket(BossEvent arg0)
method_34097(class_1259 arg0)
updateStyle(BossBar bar)
public static ClientboundBossEventPacket
e(bsz arg0)
createUpdatePropertiesPacket(BossEvent arg0)
method_34098(class_1259 arg0)
updateProperties(BossBar bar)
private void
a(xg arg0)
write(RegistryFriendlyByteBuf arg0)
method_55861(class_9129 arg0)
write(RegistryByteBuf buf)
static int
a(boolean arg0, boolean arg1, boolean arg2)
encodeProperties(boolean arg0, boolean arg1, boolean arg2)
method_34095(boolean arg0, boolean arg1, boolean arg2)
maskProperties(boolean darkenSky, boolean dragonMusic, boolean thickenFog)
public PacketType<ClientboundBossEventPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11330(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public void
a(adb$b arg0)
dispatch(ClientboundBossEventPacket$Handler arg0)
method_34091(class_2629$class_5881 arg0)
accept(BossBarS2CPacket$Consumer consumer)