Class NBTPathArgument.NBTPath

java.lang.Object
net.minecraft.command.arguments.NBTPathArgument.NBTPath
Enclosing class:
NBTPathArgument

public static class NBTPathArgument.NBTPath extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • get

      public List<INBT> get(INBT p_218071_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • countMatching

      public int countMatching(INBT p_218069_1_)
    • getOrCreateParents

      private List<INBT> getOrCreateParents(INBT p_218072_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getOrCreate

      public 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

      private static int apply(List<INBT> p_218075_0_, Function<INBT,Integer> p_218075_1_)
    • set

      public int set(INBT p_218076_1_, Supplier<INBT> p_218076_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • remove

      public int remove(INBT p_218068_1_)
    • createNotFoundException

      private com.mojang.brigadier.exceptions.CommandSyntaxException createNotFoundException(NBTPathArgument.INode p_218070_1_)
    • toString

      public String toString()
      Overrides:
      toString in class Object