Interface DataCommandObject

All Known Implementing Classes:
BlockDataObject, EntityDataObject, StorageDataObject

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

    • setTag

      void setTag​(CompoundTag tag) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lzp;a(Lmq;)V
      intermediary method_13880 Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)V
      named setTag Lnet/minecraft/command/DataCommandObject;setTag(Lnet/minecraft/nbt/CompoundTag;)V
    • getTag

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

      Text feedbackModify()
      Mappings:
      Namespace Name Mixin selector
      official b Lzp;b()Loi;
      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​(Tag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lzp;a(Lni;)Loi;
      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/Tag;)Lnet/minecraft/text/Text;
    • feedbackGet

      Text feedbackGet​(NbtPathArgumentType.NbtPath nbtPath, double scale, int result)
      Mappings:
      Namespace Name Mixin selector
      official a Lzp;a(Ldr$g;DI)Loi;
      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;