类 CompoundTagArgument

java.lang.Object
net.minecraft.commands.arguments.CompoundTagArgument
所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<CompoundTag>

public class CompoundTagArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
  • 字段详细资料

  • 构造器详细资料

    • CompoundTagArgument

      private CompoundTagArgument()
  • 方法详细资料

    • 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
      指定者:
      parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getExamples

      public Collection<String> getExamples()
      指定者:
      getExamples 在接口中 com.mojang.brigadier.arguments.ArgumentType<CompoundTag>