Class StorageDataObject

java.lang.Object
net.minecraft.command.StorageDataObject
All Implemented Interfaces:
DataCommandObject

public class StorageDataObject
extends Object
implements DataCommandObject
Mappings:
Namespace Name
official zs
intermediary net/minecraft/class_4580
named net/minecraft/command/StorageDataObject
  • Field Details

    • SUGGESTION_PROVIDER

      private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official b Lzs;b:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      intermediary field_20856 Lnet/minecraft/class_4580;field_20856:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      named SUGGESTION_PROVIDER Lnet/minecraft/command/StorageDataObject;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
    • TYPE_FACTORY

      public static final Function<String,​DataCommand.ObjectType> TYPE_FACTORY
      Mappings:
      Namespace Name Mixin selector
      official a Lzs;a:Ljava/util/function/Function;
      intermediary field_20855 Lnet/minecraft/class_4580;field_20855:Ljava/util/function/Function;
      named TYPE_FACTORY Lnet/minecraft/command/StorageDataObject;TYPE_FACTORY:Ljava/util/function/Function;
    • storage

      private final DataCommandStorage storage
      Mappings:
      Namespace Name Mixin selector
      official c Lzs;c:Lddo;
      intermediary field_20857 Lnet/minecraft/class_4580;field_20857:Lnet/minecraft/class_4565;
      named storage Lnet/minecraft/command/StorageDataObject;storage:Lnet/minecraft/command/DataCommandStorage;
    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official d Lzs;d:Lwb;
      intermediary field_20858 Lnet/minecraft/class_4580;field_20858:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/command/StorageDataObject;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • StorageDataObject

      private StorageDataObject​(DataCommandStorage storage, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzs;<init>(Lddo;Lwb;)V
      intermediary <init> Lnet/minecraft/class_4580;<init>(Lnet/minecraft/class_4565;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/command/StorageDataObject;<init>(Lnet/minecraft/command/DataCommandStorage;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • of

      private static DataCommandStorage of​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)
      Mappings:
      Namespace Name Mixin selector
      official b Lzs;b(Lcom/mojang/brigadier/context/CommandContext;)Lddo;
      intermediary method_22842 Lnet/minecraft/class_4580;method_22842(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_4565;
      named of Lnet/minecraft/command/StorageDataObject;of(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/command/DataCommandStorage;
    • setTag

      public void setTag​(CompoundTag tag)
      Specified by:
      setTag in interface DataCommandObject
      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

      public CompoundTag getTag()
      Specified by:
      getTag in interface DataCommandObject
      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

      public Text feedbackModify()
      Specified by:
      feedbackModify in interface DataCommandObject
      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

      public Text feedbackQuery​(Tag tag)
      Specified by:
      feedbackQuery in interface DataCommandObject
      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

      public Text feedbackGet​(NbtPathArgumentType.NbtPath nbtPath, double scale, int result)
      Specified by:
      feedbackGet in interface DataCommandObject
      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;