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 BossEvent.BossBarColor
private boolean
private boolean
private Component
private BossEvent.BossBarOverlay
private boolean
private float
-
Constructor Summary
ModifierConstructorDescriptionprivate
AddOperation(FriendlyByteBuf p_178674_)
(package private)
AddOperation(BossEvent p_178672_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch(UUID p_178677_, ClientboundBossEventPacket.Handler p_178678_)
getType()
void
write(FriendlyByteBuf p_178680_)
-
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
-