Package net.minecraft.command.arguments
Class NBTPathArgument.ListNode
- java.lang.Object
-
- net.minecraft.command.arguments.NBTPathArgument.ListNode
-
- All Implemented Interfaces:
NBTPathArgument.INode
- Enclosing class:
- NBTPathArgument
static class NBTPathArgument.ListNode extends java.lang.Object implements NBTPathArgument.INode
-
-
Field Summary
Fields Modifier and Type Field Description private CompoundNBT
pattern
private java.util.function.Predicate<INBT>
predicate
-
Constructor Summary
Constructors Constructor Description ListNode(CompoundNBT p_i51151_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INBT
createPreferredParentTag()
void
getOrCreateTag(INBT p_218054_1_, java.util.function.Supplier<INBT> p_218054_2_, java.util.List<INBT> p_218054_3_)
void
getTag(INBT p_218050_1_, java.util.List<INBT> p_218050_2_)
int
removeTag(INBT p_218053_1_)
int
setTag(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
-
pattern
private final CompoundNBT pattern
-
predicate
private final java.util.function.Predicate<INBT> predicate
-
-
Constructor Detail
-
ListNode
public ListNode(CompoundNBT p_i51151_1_)
-
-
Method Detail
-
getTag
public void getTag(INBT p_218050_1_, java.util.List<INBT> p_218050_2_)
- Specified by:
getTag
in 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:
getOrCreateTag
in interfaceNBTPathArgument.INode
-
createPreferredParentTag
public INBT createPreferredParentTag()
- Specified by:
createPreferredParentTag
in interfaceNBTPathArgument.INode
-
setTag
public int setTag(INBT p_218051_1_, java.util.function.Supplier<INBT> p_218051_2_)
- Specified by:
setTag
in interfaceNBTPathArgument.INode
-
removeTag
public int removeTag(INBT p_218053_1_)
- Specified by:
removeTag
in interfaceNBTPathArgument.INode
-
-