类 StorageDataObject
- java.lang.Object
-
- net.minecraft.command.StorageDataObject
-
- 所有已实现的接口:
DataCommandObject
public class StorageDataObject extends Object implements DataCommandObject
- Mappings:
Namespace Name official aagintermediary net/minecraft/class_4580named net/minecraft/command/StorageDataObject
-
-
字段概要
字段 修饰符和类型 字段 说明 private Identifieridprivate DataCommandStoragestorageprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SUGGESTION_PROVIDERstatic Function<String,DataCommand.ObjectType>TYPE_FACTORY
-
构造器概要
构造器 限定符 构造器 说明 privateStorageDataObject(DataCommandStorage storage, Identifier id)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 TextfeedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)TextfeedbackModify()TextfeedbackQuery(Tag element)CompoundTaggetNbt()private static DataCommandStorageof(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)voidsetNbt(CompoundTag nbt)
-
-
-
字段详细资料
-
SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
- Mappings:
Namespace Name Mixin selector official bLaag;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
public static final Function<String,DataCommand.ObjectType> TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector official aLaag;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
private final DataCommandStorage storage
- Mappings:
Namespace Name Mixin selector official cLaag;c:Ldgv;intermediary field_20857Lnet/minecraft/class_4580;field_20857:Lnet/minecraft/class_4565;named storageLnet/minecraft/command/StorageDataObject;storage:Lnet/minecraft/command/DataCommandStorage;
-
id
private final Identifier id
- Mappings:
Namespace Name Mixin selector official dLaag;d:Lwp;intermediary field_20858Lnet/minecraft/class_4580;field_20858:Lnet/minecraft/class_2960;named idLnet/minecraft/command/StorageDataObject;id:Lnet/minecraft/util/Identifier;
-
-
构造器详细资料
-
StorageDataObject
private StorageDataObject(DataCommandStorage storage, Identifier id)
- Mappings:
Namespace Name Mixin selector official <init>Laag;<init>(Ldgv;Lwp;)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
-
-
方法详细资料
-
of
private static DataCommandStorage of(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)
- Mappings:
Namespace Name Mixin selector official bLaag;b(Lcom/mojang/brigadier/context/CommandContext;)Ldgv;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;
-
setNbt
public void setNbt(CompoundTag nbt)
- 指定者:
setNbt在接口中DataCommandObject- Mappings:
Namespace Name Mixin selector official aLaad;a(Lmv;)Vintermediary method_13880Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)Vnamed setNbtLnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
getNbt
public CompoundTag getNbt()
- 指定者:
getNbt在接口中DataCommandObject- Mappings:
Namespace Name Mixin selector official aLaad;a()Lmv;intermediary method_13881Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;named getNbtLnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/CompoundTag;
-
feedbackModify
public Text feedbackModify()
- 指定者:
feedbackModify在接口中DataCommandObject- Mappings:
Namespace Name Mixin selector official bLaad;b()Lon;intermediary method_13883Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;named feedbackModifyLnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
-
feedbackQuery
public Text feedbackQuery(Tag element)
- 指定者:
feedbackQuery在接口中DataCommandObject- Mappings:
Namespace Name Mixin selector official aLaad;a(Lnn;)Lon;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
public Text feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
- 指定者:
feedbackGet在接口中DataCommandObject- Mappings:
Namespace Name Mixin selector official aLaad;a(Ldw$g;DI)Lon;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;
-
-