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 class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private static int
private static int
private UUID
(package private) static 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
-
Field Details
-
FLAG_DARKEN
private static final int FLAG_DARKEN- See Also:
- Constant Field Values
-
FLAG_MUSIC
private static final int FLAG_MUSIC- See Also:
- Constant Field Values
-
FLAG_FOG
private static final int FLAG_FOG- See Also:
- Constant Field Values
-
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
-