Package net.minecraft.command
Class StorageDataObject
java.lang.Object
net.minecraft.command.StorageDataObject
- All Implemented Interfaces:
DataCommandObject
- Mappings:
Namespace Name official aao
intermediary net/minecraft/class_4580
named net/minecraft/command/StorageDataObject
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Identifier
private final DataCommandStorage
(package private) static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>
static final Function<String,
DataCommand.ObjectType> -
Constructor Summary
ConstructorDescriptionStorageDataObject
(DataCommandStorage dataCommandStorage, Identifier identifier) -
Method Summary
Modifier and TypeMethodDescriptionfeedbackGet
(NbtPathArgumentType.NbtPath path, double scale, int result) feedbackQuery
(NbtElement element) getNbt()
(package private) static DataCommandStorage
of
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext) void
setNbt
(NbtCompound nbt)
-
Field Details
-
SUGGESTION_PROVIDER
static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector official b
Laao;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
- Mappings:
Namespace Name Mixin selector official a
Laao;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
- Mappings:
Namespace Name Mixin selector official c
Laao;c:Ldhv;
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
- Mappings:
Namespace Name Mixin selector official d
Laao;d:Lww;
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
StorageDataObject(DataCommandStorage dataCommandStorage, Identifier identifier)
-
-
Method Details
-
of
static DataCommandStorage of(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext) - Mappings:
Namespace Name Mixin selector official a
Laao;a(Lcom/mojang/brigadier/context/CommandContext;)Ldhv;
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;
-
setNbt
- Specified by:
setNbt
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Laal;a(Lna;)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
- Specified by:
getNbt
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Laal;a()Lna;
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
- Specified by:
feedbackModify
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official b
Laal;b()Los;
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
- Specified by:
feedbackQuery
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Laal;a(Lns;)Los;
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
- Specified by:
feedbackGet
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Laal;a(Leb$g;DI)Los;
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;
-