Uses of Enum Class
net.minecraft.entity.boss.BossBar.Color
Package
Description
-
Uses of BossBar.Color in net.minecraft.client.gui.hud
ModifierConstructorDescriptionClientBossBar
(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
Modifier and TypeMethodDescriptionstatic BossBar.Color
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.Modifier and TypeMethodDescriptionvoid
BossBar.setColor
(BossBar.Color color) void
ServerBossBar.setColor
(BossBar.Color color) ModifierConstructorDescriptionBossBar
(UUID uuid, Text name, BossBar.Color color, BossBar.Style style) ServerBossBar
(Text displayName, BossBar.Color color, BossBar.Style style) -
Uses of BossBar.Color in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final BossBar.Color
BossBarS2CPacket.AddAction.color
private final BossBar.Color
BossBarS2CPacket.UpdateStyleAction.color
Modifier 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) ModifierConstructorDescription(package private)
UpdateStyleAction
(BossBar.Color color, BossBar.Style style) -
Uses of BossBar.Color in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
BossBarCommand.setColor
(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color)