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 intExecuteCommand.checkMatchingData(DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) (package private) static CompoundTagFunctionCommand.getArgumentTag(NbtPathArgument.NbtPath pNbtPath, DataAccessor pDataAccessor) private static CommandSourceStackExecuteCommand.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 TypeClassDescriptionclassclassclassMethods in net.minecraft.server.commands.data that return DataAccessorModifier and TypeMethodDescriptionDataCommands.DataProvider.access(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) Creates an accessor based on the command context.Methods in net.minecraft.server.commands.data with parameters of type DataAccessorModifier and TypeMethodDescriptionprivate static intDataCommands.getData(CommandSourceStack pSource, DataAccessor pAccessor) Gets all NBT on the object, and applies syntax highlighting.private static intDataCommands.getData(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) Gets a value, which can be of any known NBT type.private static intDataCommands.getNumeric(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath, double pScale) Gets a single numeric element, scaled by the given amount.static TagDataCommands.getSingleTag(NbtPathArgument.NbtPath pPath, DataAccessor pAccessor) private static intDataCommands.mergeData(CommandSourceStack pSource, DataAccessor pAccessor, CompoundTag pNbt) Merges the given NBT into the targeted object's NBT.private static intDataCommands.removeData(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) Removes the tag at the end of the path.