Package net.minecraft.command.argument
Class NbtPathArgumentType.NbtPath
java.lang.Object
net.minecraft.command.argument.NbtPathArgumentType.NbtPath
- Enclosing class:
NbtPathArgumentType
- Mappings:
Namespace Name named net/minecraft/command/argument/NbtPathArgumentType$NbtPath
intermediary net/minecraft/class_2203$class_2209
official fh$g
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<NbtPathArgumentType.NbtPath> private final Object2IntMap
<NbtPathArgumentType.PathNode> private final NbtPathArgumentType.PathNode[]
private final String
-
Constructor Summary
ConstructorDescriptionNbtPath
(String string, NbtPathArgumentType.PathNode[] nodes, Object2IntMap<NbtPathArgumentType.PathNode> nodeEndIndices) -
Method Summary
Modifier and TypeMethodDescriptionint
count
(NbtElement element) private com.mojang.brigadier.exceptions.CommandSyntaxException
private static int
forEach
(List<NbtElement> elements, Function<NbtElement, Integer> operation) get
(NbtElement element) private int
getDepth()
getOrInit
(NbtElement element, Supplier<NbtElement> source) private List
<NbtElement> getTerminals
(NbtElement start) int
insert
(int index, NbtCompound compound, List<NbtElement> elements) static boolean
isTooDeep
(NbtElement element, int depth) static NbtPathArgumentType.NbtPath
int
put
(NbtElement element, NbtElement source) int
remove
(NbtElement element) toString()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_50034
Lnet/minecraft/class_2203$class_2209;field_50034:Lcom/mojang/serialization/Codec;
official a
Lfh$g;a:Lcom/mojang/serialization/Codec;
-
string
- Mappings:
Namespace Name Mixin selector named string
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;string:Ljava/lang/String;
intermediary field_9909
Lnet/minecraft/class_2203$class_2209;field_9909:Ljava/lang/String;
official b
Lfh$g;b:Ljava/lang/String;
-
nodeEndIndices
- Mappings:
Namespace Name Mixin selector named nodeEndIndices
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;nodeEndIndices:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_9910
Lnet/minecraft/class_2203$class_2209;field_9910:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
official c
Lfh$g;c:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
nodes
- Mappings:
Namespace Name Mixin selector named nodes
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;nodes:[Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;
intermediary field_9911
Lnet/minecraft/class_2203$class_2209;field_9911:[Lnet/minecraft/class_2203$class_2210;
official d
Lfh$g;d:[Lfh$h;
-
-
Constructor Details
-
NbtPath
public NbtPath(String string, NbtPathArgumentType.PathNode[] nodes, Object2IntMap<NbtPathArgumentType.PathNode> nodeEndIndices) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Lfh$g;<init>(Ljava/lang/String;[Lfh$h;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V
-
-
Method Details
-
parse
public static NbtPathArgumentType.NbtPath parse(String path) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;parse(Ljava/lang/String;)Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
intermediary method_58472
Lnet/minecraft/class_2203$class_2209;method_58472(Ljava/lang/String;)Lnet/minecraft/class_2203$class_2209;
official a
Lfh$g;a(Ljava/lang/String;)Lfh$g;
-
get
public List<NbtElement> get(NbtElement element) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;get(Lnet/minecraft/nbt/NbtElement;)Ljava/util/List;
intermediary method_9366
Lnet/minecraft/class_2203$class_2209;method_9366(Lnet/minecraft/class_2520;)Ljava/util/List;
official a
Lfh$g;a(Lvp;)Ljava/util/List;
-
count
- Mappings:
Namespace Name Mixin selector named count
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;count(Lnet/minecraft/nbt/NbtElement;)I
intermediary method_9374
Lnet/minecraft/class_2203$class_2209;method_9374(Lnet/minecraft/class_2520;)I
official b
Lfh$g;b(Lvp;)I
-
getTerminals
private List<NbtElement> getTerminals(NbtElement start) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getTerminals
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;getTerminals(Lnet/minecraft/nbt/NbtElement;)Ljava/util/List;
intermediary method_9369
Lnet/minecraft/class_2203$class_2209;method_9369(Lnet/minecraft/class_2520;)Ljava/util/List;
official d
Lfh$g;d(Lvp;)Ljava/util/List;
-
getOrInit
public List<NbtElement> getOrInit(NbtElement element, Supplier<NbtElement> source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getOrInit
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;getOrInit(Lnet/minecraft/nbt/NbtElement;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;
official a
Lfh$g;a(Lvp;Ljava/util/function/Supplier;)Ljava/util/List;
-
forEach
- Mappings:
Namespace Name Mixin selector named forEach
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;forEach(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
official a
Lfh$g;a(Ljava/util/List;Ljava/util/function/Function;)I
-
isTooDeep
- Mappings:
Namespace Name Mixin selector named isTooDeep
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;isTooDeep(Lnet/minecraft/nbt/NbtElement;I)Z
intermediary method_47975
Lnet/minecraft/class_2203$class_2209;method_47975(Lnet/minecraft/class_2520;I)Z
official a
Lfh$g;a(Lvp;I)Z
-
put
public int put(NbtElement element, NbtElement source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named put
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;put(Lnet/minecraft/nbt/NbtElement;Lnet/minecraft/nbt/NbtElement;)I
intermediary method_35722
Lnet/minecraft/class_2203$class_2209;method_35722(Lnet/minecraft/class_2520;Lnet/minecraft/class_2520;)I
official a
Lfh$g;a(Lvp;Lvp;)I
-
getDepth
private int getDepth()- Mappings:
Namespace Name Mixin selector named getDepth
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;getDepth()I
intermediary method_47971
Lnet/minecraft/class_2203$class_2209;method_47971()I
official b
Lfh$g;b()I
-
insert
public int insert(int index, NbtCompound compound, List<NbtElement> elements) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named insert
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;insert(ILnet/minecraft/nbt/NbtCompound;Ljava/util/List;)I
intermediary method_47972
Lnet/minecraft/class_2203$class_2209;method_47972(ILnet/minecraft/class_2487;Ljava/util/List;)I
official a
Lfh$g;a(ILus;Ljava/util/List;)I
-
remove
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;remove(Lnet/minecraft/nbt/NbtElement;)I
intermediary method_9372
Lnet/minecraft/class_2203$class_2209;method_9372(Lnet/minecraft/class_2520;)I
official c
Lfh$g;c(Lvp;)I
-
createNothingFoundException
private com.mojang.brigadier.exceptions.CommandSyntaxException createNothingFoundException(NbtPathArgumentType.PathNode node) - Mappings:
Namespace Name Mixin selector named createNothingFoundException
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;createNothingFoundException(Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;)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;
official a
Lfh$g;a(Lfh$h;)Lcom/mojang/brigadier/exceptions/CommandSyntaxException;
-
toString
-
getString
- Mappings:
Namespace Name Mixin selector named getString
Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;getString()Ljava/lang/String;
intermediary method_54100
Lnet/minecraft/class_2203$class_2209;method_54100()Ljava/lang/String;
official a
Lfh$g;a()Ljava/lang/String;
-