类 CommandBossBar
- java.lang.Object
-
- net.minecraft.entity.boss.BossBar
-
- net.minecraft.entity.boss.ServerBossBar
-
- net.minecraft.entity.boss.CommandBossBar
-
public class CommandBossBar extends ServerBossBar
- Mappings:
Namespace Name official xgintermediary net/minecraft/class_3002named net/minecraft/entity/boss/CommandBossBar
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.boss.BossBar
BossBar.Color, BossBar.Style
-
-
字段概要
字段 修饰符和类型 字段 说明 private Identifieridprivate intmaxValueprivate Set<UUID>playerUuidsprivate intvalue-
从类继承的字段 net.minecraft.entity.boss.BossBar
color, darkenSky, dragonMusic, name, percent, style, thickenFog
-
-
构造器概要
构造器 构造器 说明 CommandBossBar(Identifier id, Text displayName)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddPlayer(UUID uuid)voidaddPlayer(ServerPlayerEntity player)booleanaddPlayers(Collection<ServerPlayerEntity> players)voidclearPlayers()static CommandBossBarfromNbt(CompoundTag nbt, Identifier id)IdentifiergetId()intgetMaxValue()intgetValue()voidonPlayerConnect(ServerPlayerEntity player)voidonPlayerDisconnect(ServerPlayerEntity player)voidremovePlayer(ServerPlayerEntity player)voidsetMaxValue(int maxValue)voidsetValue(int value)TexttoHoverableText()CompoundTagtoNbt()-
从类继承的方法 net.minecraft.entity.boss.ServerBossBar
getPlayers, isVisible, setColor, setDarkenSky, setDragonMusic, setName, setPercent, setStyle, setThickenFog, setVisible
-
从类继承的方法 net.minecraft.entity.boss.BossBar
getColor, getName, getPercent, getStyle, getUuid, hasDragonMusic, shouldDarkenSky, shouldThickenFog
-
-
-
-
字段详细资料
-
id
private final Identifier id
- Mappings:
Namespace Name Mixin selector official hLxg;h:Lwp;intermediary field_13441Lnet/minecraft/class_3002;field_13441:Lnet/minecraft/class_2960;named idLnet/minecraft/entity/boss/CommandBossBar;id:Lnet/minecraft/util/Identifier;
-
playerUuids
private final Set<UUID> playerUuids
- Mappings:
Namespace Name Mixin selector official iLxg;i:Ljava/util/Set;intermediary field_13440Lnet/minecraft/class_3002;field_13440:Ljava/util/Set;named playerUuidsLnet/minecraft/entity/boss/CommandBossBar;playerUuids:Ljava/util/Set;
-
value
private int value
- Mappings:
Namespace Name Mixin selector official jLxg;j:Iintermediary field_13443Lnet/minecraft/class_3002;field_13443:Inamed valueLnet/minecraft/entity/boss/CommandBossBar;value:I
-
maxValue
private int maxValue
- Mappings:
Namespace Name Mixin selector official kLxg;k:Iintermediary field_13442Lnet/minecraft/class_3002;field_13442:Inamed maxValueLnet/minecraft/entity/boss/CommandBossBar;maxValue:I
-
-
构造器详细资料
-
CommandBossBar
public CommandBossBar(Identifier id, Text displayName)
- Mappings:
Namespace Name Mixin selector official <init>Lxg;<init>(Lwp;Lon;)Vintermediary <init>Lnet/minecraft/class_3002;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/entity/boss/CommandBossBar;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/text/Text;)V
-
-
方法详细资料
-
getId
public Identifier getId()
- Mappings:
Namespace Name Mixin selector official aLxg;a()Lwp;intermediary method_12959Lnet/minecraft/class_3002;method_12959()Lnet/minecraft/class_2960;named getIdLnet/minecraft/entity/boss/CommandBossBar;getId()Lnet/minecraft/util/Identifier;
-
addPlayer
public void addPlayer(ServerPlayerEntity player)
- 覆盖:
addPlayer在类中ServerBossBar- Mappings:
Namespace Name Mixin selector official aLabg;a(Labk;)Vintermediary method_14088Lnet/minecraft/class_3213;method_14088(Lnet/minecraft/class_3222;)Vnamed addPlayerLnet/minecraft/entity/boss/ServerBossBar;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
addPlayer
public void addPlayer(UUID uuid)
- Mappings:
Namespace Name Mixin selector official aLxg;a(Ljava/util/UUID;)Vintermediary method_12964Lnet/minecraft/class_3002;method_12964(Ljava/util/UUID;)Vnamed addPlayerLnet/minecraft/entity/boss/CommandBossBar;addPlayer(Ljava/util/UUID;)V
-
removePlayer
public void removePlayer(ServerPlayerEntity player)
- 覆盖:
removePlayer在类中ServerBossBar- Mappings:
Namespace Name Mixin selector official bLabg;b(Labk;)Vintermediary method_14089Lnet/minecraft/class_3213;method_14089(Lnet/minecraft/class_3222;)Vnamed removePlayerLnet/minecraft/entity/boss/ServerBossBar;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
clearPlayers
public void clearPlayers()
- 覆盖:
clearPlayers在类中ServerBossBar- Mappings:
Namespace Name Mixin selector official bLabg;b()Vintermediary method_14094Lnet/minecraft/class_3213;method_14094()Vnamed clearPlayersLnet/minecraft/entity/boss/ServerBossBar;clearPlayers()V
-
getValue
public int getValue()
- Mappings:
Namespace Name Mixin selector official cLxg;c()Iintermediary method_12955Lnet/minecraft/class_3002;method_12955()Inamed getValueLnet/minecraft/entity/boss/CommandBossBar;getValue()I
-
getMaxValue
public int getMaxValue()
- Mappings:
Namespace Name Mixin selector official dLxg;d()Iintermediary method_12960Lnet/minecraft/class_3002;method_12960()Inamed getMaxValueLnet/minecraft/entity/boss/CommandBossBar;getMaxValue()I
-
setValue
public void setValue(int value)
- Mappings:
Namespace Name Mixin selector official aLxg;a(I)Vintermediary method_12954Lnet/minecraft/class_3002;method_12954(I)Vnamed setValueLnet/minecraft/entity/boss/CommandBossBar;setValue(I)V
-
setMaxValue
public void setMaxValue(int maxValue)
- Mappings:
Namespace Name Mixin selector official bLxg;b(I)Vintermediary method_12956Lnet/minecraft/class_3002;method_12956(I)Vnamed setMaxValueLnet/minecraft/entity/boss/CommandBossBar;setMaxValue(I)V
-
toHoverableText
public final Text toHoverableText()
- Mappings:
Namespace Name Mixin selector official eLxg;e()Lon;intermediary method_12965Lnet/minecraft/class_3002;method_12965()Lnet/minecraft/class_2561;named toHoverableTextLnet/minecraft/entity/boss/CommandBossBar;toHoverableText()Lnet/minecraft/text/Text;
-
addPlayers
public boolean addPlayers(Collection<ServerPlayerEntity> players)
- Mappings:
Namespace Name Mixin selector official aLxg;a(Ljava/util/Collection;)Zintermediary method_12962Lnet/minecraft/class_3002;method_12962(Ljava/util/Collection;)Znamed addPlayersLnet/minecraft/entity/boss/CommandBossBar;addPlayers(Ljava/util/Collection;)Z
-
toNbt
public CompoundTag toNbt()
- Mappings:
Namespace Name Mixin selector official fLxg;f()Lmv;intermediary method_12963Lnet/minecraft/class_3002;method_12963()Lnet/minecraft/class_2487;named toNbtLnet/minecraft/entity/boss/CommandBossBar;toNbt()Lnet/minecraft/nbt/CompoundTag;
-
fromNbt
public static CommandBossBar fromNbt(CompoundTag nbt, Identifier id)
- Mappings:
Namespace Name Mixin selector official aLxg;a(Lmv;Lwp;)Lxg;intermediary method_12966Lnet/minecraft/class_3002;method_12966(Lnet/minecraft/class_2487;Lnet/minecraft/class_2960;)Lnet/minecraft/class_3002;named fromNbtLnet/minecraft/entity/boss/CommandBossBar;fromNbt(Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/util/Identifier;)Lnet/minecraft/entity/boss/CommandBossBar;
-
onPlayerConnect
public void onPlayerConnect(ServerPlayerEntity player)
- Mappings:
Namespace Name Mixin selector official cLxg;c(Labk;)Vintermediary method_12957Lnet/minecraft/class_3002;method_12957(Lnet/minecraft/class_3222;)Vnamed onPlayerConnectLnet/minecraft/entity/boss/CommandBossBar;onPlayerConnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onPlayerDisconnect
public void onPlayerDisconnect(ServerPlayerEntity player)
- Mappings:
Namespace Name Mixin selector official dLxg;d(Labk;)Vintermediary method_12961Lnet/minecraft/class_3002;method_12961(Lnet/minecraft/class_3222;)Vnamed onPlayerDisconnectLnet/minecraft/entity/boss/CommandBossBar;onPlayerDisconnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
-