Class StorageDataObject

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

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

    • SUGGESTION_PROVIDER

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

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

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

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

    • StorageDataObject

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

    • of

      static DataCommandStorage of(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/command/StorageDataObject;of(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/command/DataCommandStorage;
      intermediary method_22842 Lnet/minecraft/class_4580;method_22842(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_4565;
      official a Laqu;a(Lcom/mojang/brigadier/context/CommandContext;)Levt;
    • setNbt

      public void setNbt(NbtCompound nbt)
      Specified by:
      setNbt in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named setNbt Lnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_13880 Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)V
      official a Laqr;a(Lux;)V
    • getNbt

      public NbtCompound getNbt()
      Specified by:
      getNbt in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named getNbt Lnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_13881 Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;
      official a Laqr;a()Lux;
    • feedbackModify

      public Text feedbackModify()
      Specified by:
      feedbackModify in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackModify Lnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
      intermediary method_13883 Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;
      official b Laqr;b()Lxv;
    • feedbackQuery

      public Text feedbackQuery(NbtElement element)
      Specified by:
      feedbackQuery in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackQuery Lnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/text/Text;
      intermediary method_13882 Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;
      official a Laqr;a(Lvu;)Lxv;
    • feedbackGet

      public Text feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
      Specified by:
      feedbackGet in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackGet Lnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;
      intermediary method_13879 Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;
      official a Laqr;a(Lfo$g;DI)Lxv;