Uses of Interface
net.minecraft.server.commands.data.DataAccessor
Packages that use DataAccessor
-
Uses of DataAccessor in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type DataAccessorModifier and TypeMethodDescriptionprivate static int
ExecuteCommand.checkMatchingData
(DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) (package private) static CompoundTag
FunctionCommand.getArgumentTag
(NbtPathArgument.NbtPath pNbtPath, DataAccessor pDataAccessor) private static CommandSourceStack
ExecuteCommand.storeData
(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath, IntFunction<Tag> pTagConverter, boolean pStoringResult) -
Uses of DataAccessor in net.minecraft.server.commands.data
Classes in net.minecraft.server.commands.data that implement DataAccessorModifier and TypeClassDescriptionclass
class
class
Methods in net.minecraft.server.commands.data that return DataAccessorModifier and TypeMethodDescriptionDataCommands.DataProvider.access
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139504_) Methods in net.minecraft.server.commands.data with parameters of type DataAccessorModifier and TypeMethodDescriptionprivate static int
DataCommands.getData
(CommandSourceStack pSource, DataAccessor pAccessor) Gets all NBT on the object, and applies syntax highlighting.private static int
DataCommands.getData
(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) Gets a value, which can be of any known NBT type.private static int
DataCommands.getNumeric
(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath, double pScale) Gets a single numeric element, scaled by the given amount.static Tag
DataCommands.getSingleTag
(NbtPathArgument.NbtPath pPath, DataAccessor pAccessor) private static int
DataCommands.mergeData
(CommandSourceStack pSource, DataAccessor pAccessor, CompoundTag pNbt) Merges the given NBT into the targeted object's NBT.private static int
DataCommands.removeData
(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) Removes the tag at the end of the path.