Uses of Enum Class
net.minecraft.entity.boss.BossBar.Color
Packages that use BossBar.Color
Package
Description
-
Uses of BossBar.Color in net.minecraft.client.gui.hud
Constructors in net.minecraft.client.gui.hud with parameters of type BossBar.ColorModifierConstructorDescriptionClientBossBar
(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) -
Uses of BossBar.Color in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as BossBar.ColorModifier and TypeFieldDescriptionprotected BossBar.Color
BossBar.color
private final BossBar.Color
CommandBossBar.Serialized.color
The field for thecolor
record component.Fields in net.minecraft.entity.boss with type parameters of type BossBar.ColorModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BossBar.Color> BossBar.Color.CODEC
Methods in net.minecraft.entity.boss that return BossBar.ColorModifier and TypeMethodDescriptionCommandBossBar.Serialized.color()
Returns the value of thecolor
record component.BossBar.getColor()
static BossBar.Color
Returns the enum constant of this class with the specified name.static BossBar.Color[]
BossBar.Color.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.ColorModifier and TypeMethodDescriptionvoid
BossBar.setColor
(BossBar.Color color) void
ServerBossBar.setColor
(BossBar.Color color) Constructors in net.minecraft.entity.boss with parameters of type BossBar.ColorModifierConstructorDescriptionBossBar
(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.Color in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as BossBar.ColorModifier and TypeFieldDescriptionprivate final BossBar.Color
BossBarS2CPacket.AddAction.color
private final BossBar.Color
BossBarS2CPacket.UpdateStyleAction.color
Methods in net.minecraft.network.packet.s2c.play with parameters of type BossBar.ColorModifier 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.ColorModifierConstructorDescription(package private)
UpdateStyleAction
(BossBar.Color color, BossBar.Style style) -
Uses of BossBar.Color in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type BossBar.ColorModifier and TypeMethodDescriptionprivate static int
BossBarCommand.setColor
(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color)