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>
Mappings:
Namespace Name
named net/minecraft/command/argument/NbtCompoundArgumentType
intermediary net/minecraft/class_2179
official fa
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      named EXAMPLES Lnet/minecraft/command/argument/NbtCompoundArgumentType;EXAMPLES:Ljava/util/Collection;
      intermediary field_9843 Lnet/minecraft/class_2179;field_9843:Ljava/util/Collection;
      official a Lfa;a:Ljava/util/Collection;
  • Constructor Details

    • NbtCompoundArgumentType

      private NbtCompoundArgumentType()
  • Method Details

    • nbtCompound

      public static NbtCompoundArgumentType nbtCompound()
      Mappings:
      Namespace Name Mixin selector
      named nbtCompound Lnet/minecraft/command/argument/NbtCompoundArgumentType;nbtCompound()Lnet/minecraft/command/argument/NbtCompoundArgumentType;
      intermediary method_9284 Lnet/minecraft/class_2179;method_9284()Lnet/minecraft/class_2179;
      official a Lfa;a()Lfa;
    • getNbtCompound

      public static <S> NbtCompound getNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name)
      Mappings:
      Namespace Name Mixin selector
      named getNbtCompound Lnet/minecraft/command/argument/NbtCompoundArgumentType;getNbtCompound(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_9285 Lnet/minecraft/class_2179;method_9285(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2487;
      official a Lfa;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ltx;
    • 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
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/command/argument/NbtCompoundArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_9286 Lnet/minecraft/class_2179;method_9286(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2487;
      official a Lfa;a(Lcom/mojang/brigadier/StringReader;)Ltx;
    • getExamples

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