类 StorageDataAccessor
java.lang.Object
net.minecraft.server.commands.data.StorageDataAccessor
- 所有已实现的接口:
DataAccessor
-
字段概要
字段修饰符和类型字段说明private final ResourceLocation
static final Function<String,
DataCommands.DataProvider> private final CommandStorage
(专用程序包) static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getData()
(专用程序包) static CommandStorage
getGlobalTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) getPrintSuccess
(NbtPathArgument.NbtPath pPath, double pScale, int pValue) getPrintSuccess
(Tag pNbt) void
setData
(CompoundTag pOther)
-
字段详细资料
-
SUGGEST_STORAGE
-
PROVIDER
-
storage
-
id
-
-
构造器详细资料
-
StorageDataAccessor
StorageDataAccessor(CommandStorage pStorage, ResourceLocation pId)
-
-
方法详细资料
-
getGlobalTags
static CommandStorage getGlobalTags(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) -
setData
- 指定者:
setData
在接口中DataAccessor
-
getData
- 指定者:
getData
在接口中DataAccessor
-
getModifiedSuccess
- 指定者:
getModifiedSuccess
在接口中DataAccessor
-
getPrintSuccess
- 指定者:
getPrintSuccess
在接口中DataAccessor
-
getPrintSuccess
- 指定者:
getPrintSuccess
在接口中DataAccessor
-