Package net.minecraft.commands.arguments
Class NbtPathArgument.NbtPath
java.lang.Object
net.minecraft.commands.arguments.NbtPathArgument.NbtPath
- Enclosing class:
- NbtPathArgument
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final NbtPathArgument.Node[]private final it.unimi.dsi.fastutil.objects.Object2IntMap<NbtPathArgument.Node>private final String
- 
Constructor SummaryConstructorsConstructorDescriptionNbtPath(String p_99623_, NbtPathArgument.Node[] p_99624_, it.unimi.dsi.fastutil.objects.Object2IntMap<NbtPathArgument.Node> p_99625_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intintcountMatching(Tag p_99644_) private com.mojang.brigadier.exceptions.CommandSyntaxExceptioncreateNotFoundException(NbtPathArgument.Node p_99627_) private intgetOrCreate(Tag p_99641_, Supplier<Tag> p_99642_) getOrCreateParents(Tag p_99651_) intinsert(int p_263397_, CompoundTag p_263348_, List<Tag> p_263419_) static booleanintinttoString()
- 
Field Details- 
original
- 
nodeToOriginalPositionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<NbtPathArgument.Node> nodeToOriginalPosition
- 
nodes
 
- 
- 
Constructor Details- 
NbtPathpublic NbtPath(String p_99623_, NbtPathArgument.Node[] p_99624_, it.unimi.dsi.fastutil.objects.Object2IntMap<NbtPathArgument.Node> p_99625_) 
 
- 
- 
Method Details- 
get- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
countMatching
- 
getOrCreateParentsprivate List<Tag> getOrCreateParents(Tag p_99651_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
getOrCreatepublic List<Tag> getOrCreate(Tag p_99641_, Supplier<Tag> p_99642_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
apply
- 
isTooDeep
- 
setpublic int set(Tag p_169536_, Tag p_169537_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
estimatePathDepthprivate int estimatePathDepth()
- 
insertpublic int insert(int p_263397_, CompoundTag p_263348_, List<Tag> p_263419_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
remove
- 
createNotFoundExceptionprivate com.mojang.brigadier.exceptions.CommandSyntaxException createNotFoundException(NbtPathArgument.Node p_99627_) 
- 
toString
 
-