Class StorageDataAccessor
java.lang.Object
net.minecraft.server.commands.data.StorageDataAccessor
- All Implemented Interfaces:
DataAccessor
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
static final Function<String,
DataCommands.DataProvider> private final CommandStorage
(package private) static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
(package private) static CommandStorage
getGlobalTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139561_) getPrintSuccess
(NbtPathArgument.NbtPath p_139550_, double p_139551_, int p_139552_) getPrintSuccess
(Tag p_139558_) void
setData
(CompoundTag p_139556_)
-
Field Details
-
SUGGEST_STORAGE
-
PROVIDER
-
storage
-
id
-
-
Constructor Details
-
StorageDataAccessor
StorageDataAccessor(CommandStorage p_139537_, ResourceLocation p_139538_)
-
-
Method Details
-
getGlobalTags
static CommandStorage getGlobalTags(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139561_) -
setData
- Specified by:
setData
in interfaceDataAccessor
-
getData
- Specified by:
getData
in interfaceDataAccessor
-
getModifiedSuccess
- Specified by:
getModifiedSuccess
in interfaceDataAccessor
-
getPrintSuccess
- Specified by:
getPrintSuccess
in interfaceDataAccessor
-
getPrintSuccess
public Component getPrintSuccess(NbtPathArgument.NbtPath p_139550_, double p_139551_, int p_139552_) - Specified by:
getPrintSuccess
in interfaceDataAccessor
-