Class ClientboundBossEventPacket.AddOperation
java.lang.Object
net.minecraft.network.protocol.game.ClientboundBossEventPacket.AddOperation
- All Implemented Interfaces:
ClientboundBossEventPacket.Operation
- Enclosing class:
ClientboundBossEventPacket
static class ClientboundBossEventPacket.AddOperation
extends Object
implements ClientboundBossEventPacket.Operation
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BossEvent.BossBarColor
private final boolean
private final boolean
private final Component
private final BossEvent.BossBarOverlay
private final boolean
private final float
-
Constructor Summary
ModifierConstructorDescriptionprivate
AddOperation
(RegistryFriendlyByteBuf p_331482_) (package private)
AddOperation
(BossEvent p_178672_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(UUID p_178677_, ClientboundBossEventPacket.Handler p_178678_) getType()
void
write
(RegistryFriendlyByteBuf p_330694_)
-
Field Details
-
name
-
progress
private final float progress -
color
-
overlay
-
darkenScreen
private final boolean darkenScreen -
playMusic
private final boolean playMusic -
createWorldFog
private final boolean createWorldFog
-
-
Constructor Details
-
AddOperation
AddOperation(BossEvent p_178672_) -
AddOperation
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceClientboundBossEventPacket.Operation
-
dispatch
- Specified by:
dispatch
in interfaceClientboundBossEventPacket.Operation
-
write
- Specified by:
write
in interfaceClientboundBossEventPacket.Operation
-