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.ColorBossBar.colorprivate final BossBar.ColorCommandBossBar.Serialized.colorThe field for thecolorrecord 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.CODECMethods in net.minecraft.entity.boss that return BossBar.ColorModifier and TypeMethodDescriptionCommandBossBar.Serialized.color()Returns the value of thecolorrecord component.BossBar.getColor()static BossBar.ColorReturns 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 TypeMethodDescriptionvoidBossBar.setColor(BossBar.Color color) voidServerBossBar.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 name, boolean visible, int value, int max, BossBar.Color color, BossBar.Style overlay, boolean darkenScreen, boolean playBossMusic, boolean createWorldFog, Set<UUID> players) Creates an instance of aSerializedrecord class.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.ColorBossBarS2CPacket.AddAction.colorprivate final BossBar.ColorBossBarS2CPacket.UpdateStyleAction.colorMethods in net.minecraft.network.packet.s2c.play with parameters of type BossBar.ColorModifier and TypeMethodDescriptiondefault voidBossBarS2CPacket.Consumer.add(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) default voidBossBarS2CPacket.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 intBossBarCommand.setColor(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color)