Package net.minecraft.entity.boss
Class CommandBossBar
java.lang.Object
net.minecraft.entity.boss.BossBar
net.minecraft.entity.boss.ServerBossBar
net.minecraft.entity.boss.CommandBossBar
- Mappings:
Namespace Name named net/minecraft/entity/boss/CommandBossBar
intermediary net/minecraft/class_3002
official alk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.boss.BossBar
BossBar.Color, BossBar.Style
-
Field Summary
Fields inherited from class net.minecraft.entity.boss.BossBar
color, darkenSky, dragonMusic, name, percent, style, thickenFog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPlayer
(ServerPlayerEntity player) boolean
addPlayers
(Collection<ServerPlayerEntity> players) void
static CommandBossBar
fromNbt
(NbtCompound nbt, Identifier id, RegistryWrapper.WrapperLookup wrapperLookup) getId()
int
int
getValue()
void
onPlayerConnect
(ServerPlayerEntity player) void
onPlayerDisconnect
(ServerPlayerEntity player) void
removePlayer
(ServerPlayerEntity player) void
setMaxValue
(int maxValue) void
setValue
(int value) final Text
toNbt
(RegistryWrapper.WrapperLookup wrapperLookup) Methods inherited from class net.minecraft.entity.boss.ServerBossBar
getPlayers, isVisible, setColor, setDarkenSky, setDragonMusic, setName, setPercent, setStyle, setThickenFog, setVisible
Methods inherited from class net.minecraft.entity.boss.BossBar
getColor, getName, getPercent, getStyle, getUuid, hasDragonMusic, shouldDarkenSky, shouldThickenFog
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/entity/boss/CommandBossBar;id:Lnet/minecraft/util/Identifier;
intermediary field_13441
Lnet/minecraft/class_3002;field_13441:Lnet/minecraft/class_2960;
official h
Lalk;h:Lakk;
-
playerUuids
- Mappings:
Namespace Name Mixin selector named playerUuids
Lnet/minecraft/entity/boss/CommandBossBar;playerUuids:Ljava/util/Set;
intermediary field_13440
Lnet/minecraft/class_3002;field_13440:Ljava/util/Set;
official i
Lalk;i:Ljava/util/Set;
-
value
private int value- Mappings:
Namespace Name Mixin selector named value
Lnet/minecraft/entity/boss/CommandBossBar;value:I
intermediary field_13443
Lnet/minecraft/class_3002;field_13443:I
official j
Lalk;j:I
-
maxValue
private int maxValue- Mappings:
Namespace Name Mixin selector named maxValue
Lnet/minecraft/entity/boss/CommandBossBar;maxValue:I
intermediary field_13442
Lnet/minecraft/class_3002;field_13442:I
official k
Lalk;k:I
-
-
Constructor Details
-
CommandBossBar
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/boss/CommandBossBar;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/text/Text;)V
intermediary <init>
Lnet/minecraft/class_3002;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)V
official <init>
Lalk;<init>(Lakk;Lwu;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/entity/boss/CommandBossBar;getId()Lnet/minecraft/util/Identifier;
intermediary method_12959
Lnet/minecraft/class_3002;method_12959()Lnet/minecraft/class_2960;
official a
Lalk;a()Lakk;
-
addPlayer
- Overrides:
addPlayer
in classServerBossBar
- Mappings:
Namespace Name Mixin selector named addPlayer
Lnet/minecraft/entity/boss/ServerBossBar;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_14088
Lnet/minecraft/class_3213;method_14088(Lnet/minecraft/class_3222;)V
official a
Laqj;a(Laqn;)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector named addPlayer
Lnet/minecraft/entity/boss/CommandBossBar;addPlayer(Ljava/util/UUID;)V
intermediary method_12964
Lnet/minecraft/class_3002;method_12964(Ljava/util/UUID;)V
official a
Lalk;a(Ljava/util/UUID;)V
-
removePlayer
- Overrides:
removePlayer
in classServerBossBar
- Mappings:
Namespace Name Mixin selector named removePlayer
Lnet/minecraft/entity/boss/ServerBossBar;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_14089
Lnet/minecraft/class_3213;method_14089(Lnet/minecraft/class_3222;)V
official b
Laqj;b(Laqn;)V
-
clearPlayers
public void clearPlayers()- Overrides:
clearPlayers
in classServerBossBar
- Mappings:
Namespace Name Mixin selector named clearPlayers
Lnet/minecraft/entity/boss/ServerBossBar;clearPlayers()V
intermediary method_14094
Lnet/minecraft/class_3213;method_14094()V
official b
Laqj;b()V
-
getValue
public int getValue()- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/entity/boss/CommandBossBar;getValue()I
intermediary method_12955
Lnet/minecraft/class_3002;method_12955()I
official c
Lalk;c()I
-
getMaxValue
public int getMaxValue()- Mappings:
Namespace Name Mixin selector named getMaxValue
Lnet/minecraft/entity/boss/CommandBossBar;getMaxValue()I
intermediary method_12960
Lnet/minecraft/class_3002;method_12960()I
official d
Lalk;d()I
-
setValue
public void setValue(int value) - Mappings:
Namespace Name Mixin selector named setValue
Lnet/minecraft/entity/boss/CommandBossBar;setValue(I)V
intermediary method_12954
Lnet/minecraft/class_3002;method_12954(I)V
official a
Lalk;a(I)V
-
setMaxValue
public void setMaxValue(int maxValue) - Mappings:
Namespace Name Mixin selector named setMaxValue
Lnet/minecraft/entity/boss/CommandBossBar;setMaxValue(I)V
intermediary method_12956
Lnet/minecraft/class_3002;method_12956(I)V
official b
Lalk;b(I)V
-
toHoverableText
- Mappings:
Namespace Name Mixin selector named toHoverableText
Lnet/minecraft/entity/boss/CommandBossBar;toHoverableText()Lnet/minecraft/text/Text;
intermediary method_12965
Lnet/minecraft/class_3002;method_12965()Lnet/minecraft/class_2561;
official e
Lalk;e()Lwu;
-
addPlayers
- Mappings:
Namespace Name Mixin selector named addPlayers
Lnet/minecraft/entity/boss/CommandBossBar;addPlayers(Ljava/util/Collection;)Z
intermediary method_12962
Lnet/minecraft/class_3002;method_12962(Ljava/util/Collection;)Z
official a
Lalk;a(Ljava/util/Collection;)Z
-
toNbt
- Mappings:
Namespace Name Mixin selector named toNbt
Lnet/minecraft/entity/boss/CommandBossBar;toNbt(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_12963
Lnet/minecraft/class_3002;method_12963(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
official a
Lalk;a(Ljl$a;)Ltx;
-
fromNbt
public static CommandBossBar fromNbt(NbtCompound nbt, Identifier id, RegistryWrapper.WrapperLookup wrapperLookup) - Mappings:
Namespace Name Mixin selector named fromNbt
Lnet/minecraft/entity/boss/CommandBossBar;fromNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/util/Identifier;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/entity/boss/CommandBossBar;
intermediary method_12966
Lnet/minecraft/class_3002;method_12966(Lnet/minecraft/class_2487;Lnet/minecraft/class_2960;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_3002;
official a
Lalk;a(Ltx;Lakk;Ljl$a;)Lalk;
-
onPlayerConnect
- Mappings:
Namespace Name Mixin selector named onPlayerConnect
Lnet/minecraft/entity/boss/CommandBossBar;onPlayerConnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_12957
Lnet/minecraft/class_3002;method_12957(Lnet/minecraft/class_3222;)V
official c
Lalk;c(Laqn;)V
-
onPlayerDisconnect
- Mappings:
Namespace Name Mixin selector named onPlayerDisconnect
Lnet/minecraft/entity/boss/CommandBossBar;onPlayerDisconnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_12961
Lnet/minecraft/class_3002;method_12961(Lnet/minecraft/class_3222;)V
official d
Lalk;d(Laqn;)V
-