Package net.minecraft.command.arguments
Class NBTPathArgument.NBTPath
java.lang.Object
net.minecraft.command.arguments.NBTPathArgument.NBTPath
- Enclosing class:
- NBTPathArgument
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final NBTPathArgument.INode[]private final it.unimi.dsi.fastutil.objects.Object2IntMap<NBTPathArgument.INode>private final String
- 
Constructor SummaryConstructorsConstructorDescriptionNBTPath(String p_i51148_1_, NBTPathArgument.INode[] p_i51148_2_, it.unimi.dsi.fastutil.objects.Object2IntMap<NBTPathArgument.INode> p_i51148_3_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intintcountMatching(INBT p_218069_1_) private com.mojang.brigadier.exceptions.CommandSyntaxExceptioncreateNotFoundException(NBTPathArgument.INode p_218070_1_) getOrCreate(INBT p_218073_1_, Supplier<INBT> p_218073_2_) getOrCreateParents(INBT p_218072_1_) intinttoString()
- 
Field Details- 
original
- 
nodeToOriginalPositionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<NBTPathArgument.INode> nodeToOriginalPosition
- 
nodes
 
- 
- 
Constructor Details- 
NBTPathpublic NBTPath(String p_i51148_1_, NBTPathArgument.INode[] p_i51148_2_, it.unimi.dsi.fastutil.objects.Object2IntMap<NBTPathArgument.INode> p_i51148_3_) 
 
- 
- 
Method Details- 
getpublic List<INBT> get(INBT p_218071_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
countMatching
- 
getOrCreateParentsprivate List<INBT> getOrCreateParents(INBT p_218072_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
getOrCreatepublic List<INBT> getOrCreate(INBT p_218073_1_, Supplier<INBT> p_218073_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
apply
- 
setpublic int set(INBT p_218076_1_, Supplier<INBT> p_218076_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
remove
- 
createNotFoundExceptionprivate com.mojang.brigadier.exceptions.CommandSyntaxException createNotFoundException(NBTPathArgument.INode p_218070_1_) 
- 
toString
 
-