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 class
(package private) static class
(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
-
Constructor Summary
ModifierConstructorDescriptionprivate
ClientboundBossEventPacket
(UUID p_178635_, ClientboundBossEventPacket.Operation p_178636_) ClientboundBossEventPacket
(FriendlyByteBuf p_178638_) -
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_) void
write
(FriendlyByteBuf p_131773_) 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, nextProtocol
-
Field Details
-
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
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
encodeProperties
static int encodeProperties(boolean p_178646_, boolean p_178647_, boolean p_178648_) -
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
dispatch
-