Package net.minecraft.command
Class StorageDataObject
java.lang.Object
net.minecraft.command.StorageDataObject
- All Implemented Interfaces:
DataCommandObject
public class StorageDataObject extends Object implements DataCommandObject
- Mappings:
Namespace Name official zsintermediary net/minecraft/class_4580named net/minecraft/command/StorageDataObject
-
Field Summary
Fields Modifier and Type Field Description private Identifieridprivate DataCommandStoragestorageprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SUGGESTION_PROVIDERstatic Function<String,DataCommand.ObjectType>TYPE_FACTORY -
Constructor Summary
Constructors Modifier Constructor Description privateStorageDataObject(DataCommandStorage storage, Identifier id) -
Method Summary
Modifier and Type Method Description TextfeedbackGet(NbtPathArgumentType.NbtPath nbtPath, double scale, int result)TextfeedbackModify()TextfeedbackQuery(Tag tag)CompoundTaggetTag()private static DataCommandStorageof(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)voidsetTag(CompoundTag tag)
-
Field Details
-
SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector official bLzs;b:Lcom/mojang/brigadier/suggestion/SuggestionProvider;intermediary field_20856Lnet/minecraft/class_4580;field_20856:Lcom/mojang/brigadier/suggestion/SuggestionProvider;named SUGGESTION_PROVIDERLnet/minecraft/command/StorageDataObject;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector official aLzs;a:Ljava/util/function/Function;intermediary field_20855Lnet/minecraft/class_4580;field_20855:Ljava/util/function/Function;named TYPE_FACTORYLnet/minecraft/command/StorageDataObject;TYPE_FACTORY:Ljava/util/function/Function;
-
storage
- Mappings:
Namespace Name Mixin selector official cLzs;c:Lddo;intermediary field_20857Lnet/minecraft/class_4580;field_20857:Lnet/minecraft/class_4565;named storageLnet/minecraft/command/StorageDataObject;storage:Lnet/minecraft/command/DataCommandStorage;
-
id
- Mappings:
Namespace Name Mixin selector official dLzs;d:Lwb;intermediary field_20858Lnet/minecraft/class_4580;field_20858:Lnet/minecraft/class_2960;named idLnet/minecraft/command/StorageDataObject;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
StorageDataObject
- Mappings:
Namespace Name Mixin selector official <init>Lzs;<init>(Lddo;Lwb;)Vintermediary <init>Lnet/minecraft/class_4580;<init>(Lnet/minecraft/class_4565;Lnet/minecraft/class_2960;)Vnamed <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 bLzs;b(Lcom/mojang/brigadier/context/CommandContext;)Lddo;intermediary method_22842Lnet/minecraft/class_4580;method_22842(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_4565;named ofLnet/minecraft/command/StorageDataObject;of(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/command/DataCommandStorage;
-
setTag
- Specified by:
setTagin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzp;a(Lmq;)Vintermediary method_13880Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)Vnamed setTagLnet/minecraft/command/DataCommandObject;setTag(Lnet/minecraft/nbt/CompoundTag;)V
-
getTag
- Specified by:
getTagin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzp;a()Lmq;intermediary method_13881Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;named getTagLnet/minecraft/command/DataCommandObject;getTag()Lnet/minecraft/nbt/CompoundTag;
-
feedbackModify
- Specified by:
feedbackModifyin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official bLzp;b()Loi;intermediary method_13883Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;named feedbackModifyLnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
-
feedbackQuery
- Specified by:
feedbackQueryin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzp;a(Lni;)Loi;intermediary method_13882Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;named feedbackQueryLnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/Tag;)Lnet/minecraft/text/Text;
-
feedbackGet
- Specified by:
feedbackGetin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzp;a(Ldr$g;DI)Loi;intermediary method_13879Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;named feedbackGetLnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;
-