Class NbtCompoundArgumentType

java.lang.Object
net.minecraft.command.argument.NbtCompoundArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<NbtCompound>

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

  • Constructor Details

    • NbtCompoundArgumentType

      private NbtCompoundArgumentType()
  • Method Details

    • nbtCompound

      public static NbtCompoundArgumentType nbtCompound()
    • getNbtCompound

      public static <S> NbtCompound getNbtCompound​(com.mojang.brigadier.context.CommandContext<S> context, String name)
    • parse

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

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