Uses of Enum Class
net.minecraft.world.BossEvent.BossBarColor
Packages that use BossEvent.BossBarColor
Package
Description
-
Uses of BossEvent.BossBarColor in net.minecraft.client.gui.components
Constructors in net.minecraft.client.gui.components with parameters of type BossEvent.BossBarColorModifierConstructorDescriptionLerpingBossEvent
(UUID pId, Component pName, float pProgress, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay, boolean pDarkenScreen, boolean pBossMusic, boolean pWorldFog) -
Uses of BossEvent.BossBarColor in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as BossEvent.BossBarColorModifier and TypeFieldDescriptionprivate final BossEvent.BossBarColor
ClientboundBossEventPacket.AddOperation.color
private final BossEvent.BossBarColor
ClientboundBossEventPacket.UpdateStyleOperation.color
Methods in net.minecraft.network.protocol.game with parameters of type BossEvent.BossBarColorModifier and TypeMethodDescriptiondefault void
ClientboundBossEventPacket.Handler.add
(UUID pId, Component pName, float pProgress, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay, boolean pDarkenScreen, boolean pPlayMusic, boolean pCreateWorldFog) default void
ClientboundBossEventPacket.Handler.updateStyle
(UUID pId, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay) Constructors in net.minecraft.network.protocol.game with parameters of type BossEvent.BossBarColorModifierConstructorDescription(package private)
UpdateStyleOperation
(BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay) -
Uses of BossEvent.BossBarColor in net.minecraft.server.bossevents
Fields in net.minecraft.server.bossevents declared as BossEvent.BossBarColorModifier and TypeFieldDescriptionprivate final BossEvent.BossBarColor
CustomBossEvent.Packed.color
The field for thecolor
record component.Methods in net.minecraft.server.bossevents that return BossEvent.BossBarColorModifier and TypeMethodDescriptionCustomBossEvent.Packed.color()
Returns the value of thecolor
record component.Constructors in net.minecraft.server.bossevents with parameters of type BossEvent.BossBarColorModifierConstructorDescriptionPacked
(Component name, boolean visible, int value, int max, BossEvent.BossBarColor color, BossEvent.BossBarOverlay overlay, boolean darkenScreen, boolean playBossMusic, boolean createWorldFog, Set<UUID> players) Creates an instance of aPacked
record class. -
Uses of BossEvent.BossBarColor in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type BossEvent.BossBarColorModifier and TypeMethodDescriptionprivate static int
BossBarCommands.setColor
(CommandSourceStack pSource, CustomBossEvent pBossbar, BossEvent.BossBarColor pColor) -
Uses of BossEvent.BossBarColor in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type BossEvent.BossBarColorConstructors in net.minecraft.server.level with parameters of type BossEvent.BossBarColorModifierConstructorDescriptionServerBossEvent
(Component pName, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay) -
Uses of BossEvent.BossBarColor in net.minecraft.world
Fields in net.minecraft.world declared as BossEvent.BossBarColorFields in net.minecraft.world with type parameters of type BossEvent.BossBarColorModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BossEvent.BossBarColor> BossEvent.BossBarColor.CODEC
Methods in net.minecraft.world that return BossEvent.BossBarColorModifier and TypeMethodDescriptionBossEvent.getColor()
static BossEvent.BossBarColor
Returns the enum constant of this class with the specified name.static BossEvent.BossBarColor[]
BossEvent.BossBarColor.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world with parameters of type BossEvent.BossBarColorConstructors in net.minecraft.world with parameters of type BossEvent.BossBarColorModifierConstructorDescriptionBossEvent
(UUID pId, Component pName, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay)