Class ClientboundBossEventPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundBossEventPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
static interface
(package private) static interface
(package private) static enum
(package private) static final record
(package private) static final record
(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private final UUID
private final ClientboundBossEventPacket.Operation
(package private) static final ClientboundBossEventPacket.Operation
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBossEventPacket> -
Constructor Summary
ModifierConstructorDescriptionprivate
ClientboundBossEventPacket
(UUID p_178635_, ClientboundBossEventPacket.Operation p_178636_) private
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientboundBossEventPacket
createAddPacket
(BossEvent p_178640_) static ClientboundBossEventPacket
createRemovePacket
(UUID p_178642_) static ClientboundBossEventPacket
createUpdateNamePacket
(BossEvent p_178652_) static ClientboundBossEventPacket
createUpdateProgressPacket
(BossEvent p_178650_) static ClientboundBossEventPacket
createUpdatePropertiesPacket
(BossEvent p_178656_) static ClientboundBossEventPacket
createUpdateStylePacket
(BossEvent p_178654_) void
dispatch
(ClientboundBossEventPacket.Handler p_178644_) (package private) static int
encodeProperties
(boolean p_178646_, boolean p_178647_, boolean p_178648_) void
handle
(ClientGamePacketListener p_131770_) type()
private void
write
(RegistryFriendlyByteBuf p_323879_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
FLAG_DARKEN
private static final int FLAG_DARKEN- See Also:
-
FLAG_MUSIC
private static final int FLAG_MUSIC- See Also:
-
FLAG_FOG
private static final int FLAG_FOG- See Also:
-
id
-
operation
-
REMOVE_OPERATION
-
-
Constructor Details
-
ClientboundBossEventPacket
-
ClientboundBossEventPacket
-
-
Method Details
-
createAddPacket
-
createRemovePacket
-
createUpdateProgressPacket
-
createUpdateNamePacket
-
createUpdateStylePacket
-
createUpdatePropertiesPacket
-
write
-
encodeProperties
static int encodeProperties(boolean p_178646_, boolean p_178647_, boolean p_178648_) -
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
dispatch
-