类 CommandBossBar


  • public class CommandBossBar
    extends ServerBossBar
    Mappings:
    Namespace Name
    official xg
    intermediary net/minecraft/class_3002
    named net/minecraft/entity/boss/CommandBossBar
    • 字段详细资料

      • id

        private final Identifier id
        Mappings:
        Namespace Name Mixin selector
        official h Lxg;h:Lwp;
        intermediary field_13441 Lnet/minecraft/class_3002;field_13441:Lnet/minecraft/class_2960;
        named id Lnet/minecraft/entity/boss/CommandBossBar;id:Lnet/minecraft/util/Identifier;
      • playerUuids

        private final Set<UUID> playerUuids
        Mappings:
        Namespace Name Mixin selector
        official i Lxg;i:Ljava/util/Set;
        intermediary field_13440 Lnet/minecraft/class_3002;field_13440:Ljava/util/Set;
        named playerUuids Lnet/minecraft/entity/boss/CommandBossBar;playerUuids:Ljava/util/Set;
      • value

        private int value
        Mappings:
        Namespace Name Mixin selector
        official j Lxg;j:I
        intermediary field_13443 Lnet/minecraft/class_3002;field_13443:I
        named value Lnet/minecraft/entity/boss/CommandBossBar;value:I
      • maxValue

        private int maxValue
        Mappings:
        Namespace Name Mixin selector
        official k Lxg;k:I
        intermediary field_13442 Lnet/minecraft/class_3002;field_13442:I
        named maxValue Lnet/minecraft/entity/boss/CommandBossBar;maxValue:I
    • 构造器详细资料

      • CommandBossBar

        public CommandBossBar​(Identifier id,
                              Text displayName)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lxg;<init>(Lwp;Lon;)V
        intermediary <init> Lnet/minecraft/class_3002;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2561;)V
        named <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 a Lxg;a()Lwp;
        intermediary method_12959 Lnet/minecraft/class_3002;method_12959()Lnet/minecraft/class_2960;
        named getId Lnet/minecraft/entity/boss/CommandBossBar;getId()Lnet/minecraft/util/Identifier;
      • addPlayer

        public void addPlayer​(ServerPlayerEntity player)
        覆盖:
        addPlayer 在类中 ServerBossBar
        Mappings:
        Namespace Name Mixin selector
        official a Labg;a(Labk;)V
        intermediary method_14088 Lnet/minecraft/class_3213;method_14088(Lnet/minecraft/class_3222;)V
        named addPlayer Lnet/minecraft/entity/boss/ServerBossBar;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      • addPlayer

        public void addPlayer​(UUID uuid)
        Mappings:
        Namespace Name Mixin selector
        official a Lxg;a(Ljava/util/UUID;)V
        intermediary method_12964 Lnet/minecraft/class_3002;method_12964(Ljava/util/UUID;)V
        named addPlayer Lnet/minecraft/entity/boss/CommandBossBar;addPlayer(Ljava/util/UUID;)V
      • removePlayer

        public void removePlayer​(ServerPlayerEntity player)
        覆盖:
        removePlayer 在类中 ServerBossBar
        Mappings:
        Namespace Name Mixin selector
        official b Labg;b(Labk;)V
        intermediary method_14089 Lnet/minecraft/class_3213;method_14089(Lnet/minecraft/class_3222;)V
        named removePlayer Lnet/minecraft/entity/boss/ServerBossBar;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      • clearPlayers

        public void clearPlayers()
        覆盖:
        clearPlayers 在类中 ServerBossBar
        Mappings:
        Namespace Name Mixin selector
        official b Labg;b()V
        intermediary method_14094 Lnet/minecraft/class_3213;method_14094()V
        named clearPlayers Lnet/minecraft/entity/boss/ServerBossBar;clearPlayers()V
      • getValue

        public int getValue()
        Mappings:
        Namespace Name Mixin selector
        official c Lxg;c()I
        intermediary method_12955 Lnet/minecraft/class_3002;method_12955()I
        named getValue Lnet/minecraft/entity/boss/CommandBossBar;getValue()I
      • getMaxValue

        public int getMaxValue()
        Mappings:
        Namespace Name Mixin selector
        official d Lxg;d()I
        intermediary method_12960 Lnet/minecraft/class_3002;method_12960()I
        named getMaxValue Lnet/minecraft/entity/boss/CommandBossBar;getMaxValue()I
      • setValue

        public void setValue​(int value)
        Mappings:
        Namespace Name Mixin selector
        official a Lxg;a(I)V
        intermediary method_12954 Lnet/minecraft/class_3002;method_12954(I)V
        named setValue Lnet/minecraft/entity/boss/CommandBossBar;setValue(I)V
      • setMaxValue

        public void setMaxValue​(int maxValue)
        Mappings:
        Namespace Name Mixin selector
        official b Lxg;b(I)V
        intermediary method_12956 Lnet/minecraft/class_3002;method_12956(I)V
        named setMaxValue Lnet/minecraft/entity/boss/CommandBossBar;setMaxValue(I)V
      • toHoverableText

        public final Text toHoverableText()
        Mappings:
        Namespace Name Mixin selector
        official e Lxg;e()Lon;
        intermediary method_12965 Lnet/minecraft/class_3002;method_12965()Lnet/minecraft/class_2561;
        named toHoverableText Lnet/minecraft/entity/boss/CommandBossBar;toHoverableText()Lnet/minecraft/text/Text;
      • addPlayers

        public boolean addPlayers​(Collection<ServerPlayerEntity> players)
        Mappings:
        Namespace Name Mixin selector
        official a Lxg;a(Ljava/util/Collection;)Z
        intermediary method_12962 Lnet/minecraft/class_3002;method_12962(Ljava/util/Collection;)Z
        named addPlayers Lnet/minecraft/entity/boss/CommandBossBar;addPlayers(Ljava/util/Collection;)Z
      • toNbt

        public CompoundTag toNbt()
        Mappings:
        Namespace Name Mixin selector
        official f Lxg;f()Lmv;
        intermediary method_12963 Lnet/minecraft/class_3002;method_12963()Lnet/minecraft/class_2487;
        named toNbt Lnet/minecraft/entity/boss/CommandBossBar;toNbt()Lnet/minecraft/nbt/CompoundTag;
      • fromNbt

        public static CommandBossBar fromNbt​(CompoundTag nbt,
                                             Identifier id)
        Mappings:
        Namespace Name Mixin selector
        official a Lxg;a(Lmv;Lwp;)Lxg;
        intermediary method_12966 Lnet/minecraft/class_3002;method_12966(Lnet/minecraft/class_2487;Lnet/minecraft/class_2960;)Lnet/minecraft/class_3002;
        named fromNbt Lnet/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 c Lxg;c(Labk;)V
        intermediary method_12957 Lnet/minecraft/class_3002;method_12957(Lnet/minecraft/class_3222;)V
        named onPlayerConnect Lnet/minecraft/entity/boss/CommandBossBar;onPlayerConnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      • onPlayerDisconnect

        public void onPlayerDisconnect​(ServerPlayerEntity player)
        Mappings:
        Namespace Name Mixin selector
        official d Lxg;d(Labk;)V
        intermediary method_12961 Lnet/minecraft/class_3002;method_12961(Lnet/minecraft/class_3222;)V
        named onPlayerDisconnect Lnet/minecraft/entity/boss/CommandBossBar;onPlayerDisconnect(Lnet/minecraft/server/network/ServerPlayerEntity;)V