Interface DataCommandObject

All Known Implementing Classes:
BlockDataObject, EntityDataObject, StorageDataObject

public interface DataCommandObject
Mappings:
Namespace Name
official acc
intermediary net/minecraft/class_3162
named net/minecraft/command/DataCommandObject
  • Method Details

    • setNbt

      void setNbt(NbtCompound nbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lacc;a(Loc;)V
      intermediary method_13880 Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)V
      named setNbt Lnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getNbt

      NbtCompound getNbt() throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lacc;a()Loc;
      intermediary method_13881 Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;
      named getNbt Lnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;
    • feedbackModify

      Text feedbackModify()
      Mappings:
      Namespace Name Mixin selector
      official b Lacc;b()Lpz;
      intermediary method_13883 Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;
      named feedbackModify Lnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
    • feedbackQuery

      Text feedbackQuery(NbtElement element)
      Mappings:
      Namespace Name Mixin selector
      official a Lacc;a(Lov;)Lpz;
      intermediary method_13882 Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;
      named feedbackQuery Lnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/text/Text;
    • feedbackGet

      Text feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
      Mappings:
      Namespace Name Mixin selector
      official a Lacc;a(Lec$g;DI)Lpz;
      intermediary method_13879 Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;
      named feedbackGet Lnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;