Class CompoundTagArgument

java.lang.Object
net.minecraft.commands.arguments.CompoundTagArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<CompoundTag>

public class CompoundTagArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
  • Field Details

  • Constructor Details

    • CompoundTagArgument

      private CompoundTagArgument()
  • Method Details

    • compoundTag

      public static CompoundTagArgument compoundTag()
    • getCompoundTag

      public static <S> CompoundTag getCompoundTag(com.mojang.brigadier.context.CommandContext<S> p_87661_, String p_87662_)
    • parse

      public CompoundTag parse(com.mojang.brigadier.StringReader p_87659_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<CompoundTag>