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/CommandBossBarintermediary net/minecraft/class_3002official anb
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.boss.BossBar
BossBar.Color, BossBar.Style -
Field Summary
FieldsFields inherited from class net.minecraft.entity.boss.BossBar
color, darkenSky, dragonMusic, name, percent, style, thickenFog -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPlayer(ServerPlayerEntity player) booleanaddPlayers(Collection<ServerPlayerEntity> players) voidstatic CommandBossBarfromNbt(NbtCompound nbt, Identifier id, RegistryWrapper.WrapperLookup registries) getId()intintgetValue()voidonPlayerConnect(ServerPlayerEntity player) voidonPlayerDisconnect(ServerPlayerEntity player) voidremovePlayer(ServerPlayerEntity player) voidsetMaxValue(int maxValue) voidsetValue(int value) final TexttoNbt(RegistryWrapper.WrapperLookup registries) Methods inherited from class net.minecraft.entity.boss.ServerBossBar
getPlayers, isVisible, setColor, setDarkenSky, setDragonMusic, setName, setPercent, setStyle, setThickenFog, setVisibleMethods 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 idLnet/minecraft/entity/boss/CommandBossBar;id:Lnet/minecraft/util/Identifier;intermediary field_13441Lnet/minecraft/class_3002;field_13441:Lnet/minecraft/class_2960;official hLanb;h:Lalz;
-
playerUuids
- Mappings:
Namespace Name Mixin selector named playerUuidsLnet/minecraft/entity/boss/CommandBossBar;playerUuids:Ljava/util/Set;intermediary field_13440Lnet/minecraft/class_3002;field_13440:Ljava/util/Set;official iLanb;i:Ljava/util/Set;
-
value
private int value- Mappings:
Namespace Name Mixin selector named valueLnet/minecraft/entity/boss/CommandBossBar;value:Iintermediary field_13443Lnet/minecraft/class_3002;field_13443:Iofficial jLanb;j:I
-
maxValue
private int maxValue- Mappings:
Namespace Name Mixin selector named maxValueLnet/minecraft/entity/boss/CommandBossBar;maxValue:Iintermediary field_13442Lnet/minecraft/class_3002;field_13442:Iofficial kLanb;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;)Vintermediary <init>Lnet/minecraft/class_3002;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)Vofficial <init>Lanb;<init>(Lalz;Lxv;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/entity/boss/CommandBossBar;getId()Lnet/minecraft/util/Identifier;intermediary method_12959Lnet/minecraft/class_3002;method_12959()Lnet/minecraft/class_2960;official aLanb;a()Lalz;
-
addPlayer
- Overrides:
addPlayerin classServerBossBar- Mappings:
Namespace Name Mixin selector named addPlayerLnet/minecraft/entity/boss/ServerBossBar;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_14088Lnet/minecraft/class_3213;method_14088(Lnet/minecraft/class_3222;)Vofficial aLasd;a(Lasi;)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector named addPlayerLnet/minecraft/entity/boss/CommandBossBar;addPlayer(Ljava/util/UUID;)Vintermediary method_12964Lnet/minecraft/class_3002;method_12964(Ljava/util/UUID;)Vofficial aLanb;a(Ljava/util/UUID;)V
-
removePlayer
- Overrides:
removePlayerin classServerBossBar- Mappings:
Namespace Name Mixin selector named removePlayerLnet/minecraft/entity/boss/ServerBossBar;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_14089Lnet/minecraft/class_3213;method_14089(Lnet/minecraft/class_3222;)Vofficial bLasd;b(Lasi;)V
-
clearPlayers
public void clearPlayers()- Overrides:
clearPlayersin classServerBossBar- Mappings:
Namespace Name Mixin selector named clearPlayersLnet/minecraft/entity/boss/ServerBossBar;clearPlayers()Vintermediary method_14094Lnet/minecraft/class_3213;method_14094()Vofficial bLasd;b()V
-
getValue
public int getValue()- Mappings:
Namespace Name Mixin selector named getValueLnet/minecraft/entity/boss/CommandBossBar;getValue()Iintermediary method_12955Lnet/minecraft/class_3002;method_12955()Iofficial cLanb;c()I
-
getMaxValue
public int getMaxValue()- Mappings:
Namespace Name Mixin selector named getMaxValueLnet/minecraft/entity/boss/CommandBossBar;getMaxValue()Iintermediary method_12960Lnet/minecraft/class_3002;method_12960()Iofficial dLanb;d()I
-
setValue
public void setValue(int value) - Mappings:
Namespace Name Mixin selector named setValueLnet/minecraft/entity/boss/CommandBossBar;setValue(I)Vintermediary method_12954Lnet/minecraft/class_3002;method_12954(I)Vofficial aLanb;a(I)V
-
setMaxValue
public void setMaxValue(int maxValue) - Mappings:
Namespace Name Mixin selector named setMaxValueLnet/minecraft/entity/boss/CommandBossBar;setMaxValue(I)Vintermediary method_12956Lnet/minecraft/class_3002;method_12956(I)Vofficial bLanb;b(I)V
-
toHoverableText
- Mappings:
Namespace Name Mixin selector named toHoverableTextLnet/minecraft/entity/boss/CommandBossBar;toHoverableText()Lnet/minecraft/text/Text;intermediary method_12965Lnet/minecraft/class_3002;method_12965()Lnet/minecraft/class_2561;official eLanb;e()Lxv;
-
addPlayers
- Mappings:
Namespace Name Mixin selector named addPlayersLnet/minecraft/entity/boss/CommandBossBar;addPlayers(Ljava/util/Collection;)Zintermediary method_12962Lnet/minecraft/class_3002;method_12962(Ljava/util/Collection;)Zofficial aLanb;a(Ljava/util/Collection;)Z
-
toNbt
- Mappings:
Namespace Name Mixin selector named toNbtLnet/minecraft/entity/boss/CommandBossBar;toNbt(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;intermediary method_12963Lnet/minecraft/class_3002;method_12963(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;official aLanb;a(Ljs$a;)Lux;
-
fromNbt
public static CommandBossBar fromNbt(NbtCompound nbt, Identifier id, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named fromNbtLnet/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_12966Lnet/minecraft/class_3002;method_12966(Lnet/minecraft/class_2487;Lnet/minecraft/class_2960;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_3002;official aLanb;a(Lux;Lalz;Ljs$a;)Lanb;
-
onPlayerConnect
- Mappings:
Namespace Name Mixin selector named onPlayerConnectLnet/minecraft/entity/boss/CommandBossBar;onPlayerConnect(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_12957Lnet/minecraft/class_3002;method_12957(Lnet/minecraft/class_3222;)Vofficial cLanb;c(Lasi;)V
-
onPlayerDisconnect
- Mappings:
Namespace Name Mixin selector named onPlayerDisconnectLnet/minecraft/entity/boss/CommandBossBar;onPlayerDisconnect(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_12961Lnet/minecraft/class_3002;method_12961(Lnet/minecraft/class_3222;)Vofficial dLanb;d(Lasi;)V
-