Uses of Enum Class
net.minecraft.entity.boss.BossBar.Style
Packages that use BossBar.Style
Package
Description
-
Uses of BossBar.Style in net.minecraft.client.gui.hud
Constructors in net.minecraft.client.gui.hud with parameters of type BossBar.StyleModifierConstructorDescriptionClientBossBar
(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) -
Uses of BossBar.Style in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as BossBar.StyleModifier and TypeFieldDescriptionprivate final BossBar.Style
CommandBossBar.Serialized.overlay
The field for theoverlay
record component.protected BossBar.Style
BossBar.style
Fields in net.minecraft.entity.boss with type parameters of type BossBar.StyleModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BossBar.Style> BossBar.Style.CODEC
Methods in net.minecraft.entity.boss that return BossBar.StyleModifier and TypeMethodDescriptionBossBar.getStyle()
CommandBossBar.Serialized.overlay()
Returns the value of theoverlay
record component.static BossBar.Style
Returns the enum constant of this class with the specified name.static BossBar.Style[]
BossBar.Style.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.entity.boss with parameters of type BossBar.StyleModifier and TypeMethodDescriptionvoid
BossBar.setStyle
(BossBar.Style style) void
ServerBossBar.setStyle
(BossBar.Style style) Constructors in net.minecraft.entity.boss with parameters of type BossBar.StyleModifierConstructorDescriptionBossBar
(UUID uuid, Text name, BossBar.Color color, BossBar.Style style) Serialized
(Text text, boolean bool, int int2, int int3, BossBar.Color color, BossBar.Style style, boolean bool2, boolean bool3, boolean bool4, Set<UUID> set) ServerBossBar
(Text displayName, BossBar.Color color, BossBar.Style style) -
Uses of BossBar.Style in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as BossBar.StyleModifier and TypeFieldDescriptionprivate final BossBar.Style
BossBarS2CPacket.AddAction.style
private final BossBar.Style
BossBarS2CPacket.UpdateStyleAction.style
Methods in net.minecraft.network.packet.s2c.play with parameters of type BossBar.StyleModifier and TypeMethodDescriptiondefault void
BossBarS2CPacket.Consumer.add
(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) default void
BossBarS2CPacket.Consumer.updateStyle
(UUID id, BossBar.Color color, BossBar.Style style) Constructors in net.minecraft.network.packet.s2c.play with parameters of type BossBar.StyleModifierConstructorDescription(package private)
UpdateStyleAction
(BossBar.Color color, BossBar.Style style) -
Uses of BossBar.Style in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type BossBar.StyleModifier and TypeMethodDescriptionprivate static int
BossBarCommand.setStyle
(ServerCommandSource source, CommandBossBar bossBar, BossBar.Style style)