Class NbtPathArgument.NbtPath

java.lang.Object
net.minecraft.commands.arguments.NbtPathArgument.NbtPath
Enclosing class:
NbtPathArgument

public static class NbtPathArgument.NbtPath extends Object
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • of Link icon

      public static NbtPathArgument.NbtPath of(String p_336101_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • get Link icon

      public List<Tag> get(Tag p_99639_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • countMatching Link icon

      public int countMatching(Tag p_99644_)
    • getOrCreateParents Link icon

      private List<Tag> getOrCreateParents(Tag p_99651_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getOrCreate Link icon

      public List<Tag> getOrCreate(Tag p_99641_, Supplier<Tag> p_99642_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • apply Link icon

      private static int apply(List<Tag> p_99636_, Function<Tag,Integer> p_99637_)
    • isTooDeep Link icon

      public static boolean isTooDeep(Tag p_263392_, int p_263386_)
    • set Link icon

      public int set(Tag p_169536_, Tag p_169537_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • estimatePathDepth Link icon

      private int estimatePathDepth()
    • insert Link icon

      public 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 Link icon

      public int remove(Tag p_99649_)
    • createNotFoundException Link icon

      private com.mojang.brigadier.exceptions.CommandSyntaxException createNotFoundException(NbtPathArgument.Node p_99627_)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • asString Link icon

      public String asString()