Package net.minecraft.command
Class StorageDataObject
java.lang.Object
net.minecraft.command.StorageDataObject
- All Implemented Interfaces:
DataCommandObject
- Mappings:
Namespace Name named net/minecraft/command/StorageDataObjectintermediary net/minecraft/class_4580official apx
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Identifierprivate final DataCommandStorage(package private) static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> static final Function<String, DataCommand.ObjectType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfeedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) feedbackQuery(NbtElement element) getNbt()(package private) static DataCommandStorageof(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) voidsetNbt(NbtCompound nbt)
-
Field Details
-
SUGGESTION_PROVIDER
static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector named SUGGESTION_PROVIDERLnet/minecraft/command/StorageDataObject;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;intermediary field_20856Lnet/minecraft/class_4580;field_20856:Lcom/mojang/brigadier/suggestion/SuggestionProvider;official bLapx;b:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector named TYPE_FACTORYLnet/minecraft/command/StorageDataObject;TYPE_FACTORY:Ljava/util/function/Function;intermediary field_20855Lnet/minecraft/class_4580;field_20855:Ljava/util/function/Function;official aLapx;a:Ljava/util/function/Function;
-
storage
- Mappings:
Namespace Name Mixin selector named storageLnet/minecraft/command/StorageDataObject;storage:Lnet/minecraft/command/DataCommandStorage;intermediary field_20857Lnet/minecraft/class_4580;field_20857:Lnet/minecraft/class_4565;official cLapx;c:Lepp;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/command/StorageDataObject;id:Lnet/minecraft/util/Identifier;intermediary field_20858Lnet/minecraft/class_4580;field_20858:Lnet/minecraft/class_2960;official dLapx;d:Lalf;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_4580;<init>(Lnet/minecraft/class_4565;Lnet/minecraft/class_2960;)Vofficial <init>Lapx;<init>(Lepp;Lalf;)V
-
-
Method Details
-
of
static DataCommandStorage of(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) - Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/command/StorageDataObject;of(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/command/DataCommandStorage;intermediary method_22842Lnet/minecraft/class_4580;method_22842(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_4565;official aLapx;a(Lcom/mojang/brigadier/context/CommandContext;)Lepp;
-
setNbt
- Specified by:
setNbtin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named setNbtLnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_13880Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)Vofficial aLapu;a(Lus;)V
-
getNbt
- Specified by:
getNbtin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named getNbtLnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_13881Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;official aLapu;a()Lus;
-
feedbackModify
- Specified by:
feedbackModifyin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named feedbackModifyLnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;intermediary method_13883Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;official bLapu;b()Lxp;
-
feedbackQuery
- Specified by:
feedbackQueryin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named feedbackQueryLnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/text/Text;intermediary method_13882Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;official aLapu;a(Lvp;)Lxp;
-
feedbackGet
- Specified by:
feedbackGetin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named feedbackGetLnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;intermediary method_13879Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;official aLapu;a(Lfh$g;DI)Lxp;
-