Package net.minecraft.command.arguments
Class NBTPathArgument.CompoundNode
- java.lang.Object
-
- net.minecraft.command.arguments.NBTPathArgument.CompoundNode
-
- All Implemented Interfaces:
NBTPathArgument.INode
- Enclosing class:
- NBTPathArgument
static class NBTPathArgument.CompoundNode extends java.lang.Object implements NBTPathArgument.INode
-
-
Constructor Summary
Constructors Constructor Description CompoundNode(CompoundNBT p_i51149_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INBTcreatePreferredParentTag()voidgetOrCreateTag(INBT p_218054_1_, java.util.function.Supplier<INBT> p_218054_2_, java.util.List<INBT> p_218054_3_)voidgetTag(INBT p_218050_1_, java.util.List<INBT> p_218050_2_)intremoveTag(INBT p_218053_1_)intsetTag(INBT p_218051_1_, java.util.function.Supplier<INBT> p_218051_2_)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.command.arguments.NBTPathArgument.INode
collect, get, getOrCreate
-
-
-
-
Field Detail
-
predicate
private final java.util.function.Predicate<INBT> predicate
-
-
Constructor Detail
-
CompoundNode
public CompoundNode(CompoundNBT p_i51149_1_)
-
-
Method Detail
-
getTag
public void getTag(INBT p_218050_1_, java.util.List<INBT> p_218050_2_)
- Specified by:
getTagin interfaceNBTPathArgument.INode
-
getOrCreateTag
public void getOrCreateTag(INBT p_218054_1_, java.util.function.Supplier<INBT> p_218054_2_, java.util.List<INBT> p_218054_3_)
- Specified by:
getOrCreateTagin interfaceNBTPathArgument.INode
-
createPreferredParentTag
public INBT createPreferredParentTag()
- Specified by:
createPreferredParentTagin interfaceNBTPathArgument.INode
-
setTag
public int setTag(INBT p_218051_1_, java.util.function.Supplier<INBT> p_218051_2_)
- Specified by:
setTagin interfaceNBTPathArgument.INode
-
removeTag
public int removeTag(INBT p_218053_1_)
- Specified by:
removeTagin interfaceNBTPathArgument.INode
-
-