类 NbtPathArgumentType.NbtPath

  • 封闭类:
    NbtPathArgumentType

    public static class NbtPathArgumentType.NbtPath
    extends Object
    Mappings:
    Namespace Name
    official dw$g
    intermediary net/minecraft/class_2203$class_2209
    named net/minecraft/command/argument/NbtPathArgumentType$NbtPath
    • 字段详细资料

      • string

        private final String string
        Mappings:
        Namespace Name Mixin selector
        official a Ldw$g;a:Ljava/lang/String;
        intermediary field_9909 Lnet/minecraft/class_2203$class_2209;field_9909:Ljava/lang/String;
        named string Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;string:Ljava/lang/String;
      • nodeEndIndices

        private final Object2IntMap<NbtPathArgumentType.PathNode> nodeEndIndices
        Mappings:
        Namespace Name Mixin selector
        official b Ldw$g;b:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
        intermediary field_9910 Lnet/minecraft/class_2203$class_2209;field_9910:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
        named nodeEndIndices Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;nodeEndIndices:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      • nodes

        private final NbtPathArgumentType.PathNode[] nodes
        Mappings:
        Namespace Name Mixin selector
        official c Ldw$g;c:[Ldw$h;
        intermediary field_9911 Lnet/minecraft/class_2203$class_2209;field_9911:[Lnet/minecraft/class_2203$class_2210;
        named nodes Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;nodes:[Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;
    • 构造器详细资料

      • NbtPath

        public NbtPath​(String string,
                       NbtPathArgumentType.PathNode[] nodes,
                       Object2IntMap<NbtPathArgumentType.PathNode> nodeEndIndices)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldw$g;<init>(Ljava/lang/String;[Ldw$h;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V
        intermediary <init> Lnet/minecraft/class_2203$class_2209;<init>(Ljava/lang/String;[Lnet/minecraft/class_2203$class_2210;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V
        named <init> Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;<init>(Ljava/lang/String;[Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V
    • 方法详细资料

      • get

        public List<Tag> get​(Tag element)
                      throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Ldw$g;a(Lnn;)Ljava/util/List;
        intermediary method_9366 Lnet/minecraft/class_2203$class_2209;method_9366(Lnet/minecraft/class_2520;)Ljava/util/List;
        named get Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;get(Lnet/minecraft/nbt/Tag;)Ljava/util/List;
      • count

        public int count​(Tag element)
        Mappings:
        Namespace Name Mixin selector
        official b Ldw$g;b(Lnn;)I
        intermediary method_9374 Lnet/minecraft/class_2203$class_2209;method_9374(Lnet/minecraft/class_2520;)I
        named count Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;count(Lnet/minecraft/nbt/Tag;)I
      • getTerminals

        private List<Tag> getTerminals​(Tag start)
                                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official d Ldw$g;d(Lnn;)Ljava/util/List;
        intermediary method_9369 Lnet/minecraft/class_2203$class_2209;method_9369(Lnet/minecraft/class_2520;)Ljava/util/List;
        named getTerminals Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;getTerminals(Lnet/minecraft/nbt/Tag;)Ljava/util/List;
      • getOrInit

        public List<Tag> getOrInit​(Tag element,
                                   Supplier<Tag> source)
                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Ldw$g;a(Lnn;Ljava/util/function/Supplier;)Ljava/util/List;
        intermediary method_9367 Lnet/minecraft/class_2203$class_2209;method_9367(Lnet/minecraft/class_2520;Ljava/util/function/Supplier;)Ljava/util/List;
        named getOrInit Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;getOrInit(Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)Ljava/util/List;
      • forEach

        private static int forEach​(List<Tag> elements,
                                   Function<Tag,​Integer> operation)
        Mappings:
        Namespace Name Mixin selector
        official a Ldw$g;a(Ljava/util/List;Ljava/util/function/Function;)I
        intermediary method_9371 Lnet/minecraft/class_2203$class_2209;method_9371(Ljava/util/List;Ljava/util/function/Function;)I
        named forEach Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;forEach(Ljava/util/List;Ljava/util/function/Function;)I
      • method_35722

        public int method_35722​(Tag tag,
                                Tag tag2)
                         throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Ldw$g;a(Lnn;Lnn;)I
        intermediary method_35722 Lnet/minecraft/class_2203$class_2209;method_35722(Lnet/minecraft/class_2520;Lnet/minecraft/class_2520;)I
        named method_35722 Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;method_35722(Lnet/minecraft/nbt/Tag;Lnet/minecraft/nbt/Tag;)I
      • put

        public int put​(Tag element,
                       Supplier<Tag> source)
                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official b Ldw$g;b(Lnn;Ljava/util/function/Supplier;)I
        intermediary method_9368 Lnet/minecraft/class_2203$class_2209;method_9368(Lnet/minecraft/class_2520;Ljava/util/function/Supplier;)I
        named put Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;put(Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I
      • remove

        public int remove​(Tag element)
        Mappings:
        Namespace Name Mixin selector
        official c Ldw$g;c(Lnn;)I
        intermediary method_9372 Lnet/minecraft/class_2203$class_2209;method_9372(Lnet/minecraft/class_2520;)I
        named remove Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;remove(Lnet/minecraft/nbt/Tag;)I
      • createNothingFoundException

        private com.mojang.brigadier.exceptions.CommandSyntaxException createNothingFoundException​(NbtPathArgumentType.PathNode node)
        Mappings:
        Namespace Name Mixin selector
        official a Ldw$g;a(Ldw$h;)Lcom/mojang/brigadier/exceptions/CommandSyntaxException;
        intermediary method_9375 Lnet/minecraft/class_2203$class_2209;method_9375(Lnet/minecraft/class_2203$class_2210;)Lcom/mojang/brigadier/exceptions/CommandSyntaxException;
        named createNothingFoundException Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;createNothingFoundException(Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;)Lcom/mojang/brigadier/exceptions/CommandSyntaxException;
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Ldw$g;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2203$class_2209;toString()Ljava/lang/String;
        named toString Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;toString()Ljava/lang/String;