Uses of Class
net.minecraft.commands.arguments.NbtPathArgument.NbtPath
Packages that use NbtPathArgument.NbtPath
Package
Description
-
Uses of NbtPathArgument.NbtPath in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type NbtPathArgument.NbtPathModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NbtPathArgument.NbtPath> NbtPathArgument.NbtPath.CODECMethods in net.minecraft.commands.arguments that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionstatic NbtPathArgument.NbtPathNbtPathArgument.getPath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static NbtPathArgument.NbtPathNbtPathArgument.parse(com.mojang.brigadier.StringReader reader) -
Uses of NbtPathArgument.NbtPath in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents declared as NbtPathArgument.NbtPathModifier and TypeFieldDescriptionprotected final NbtPathArgument.NbtPathNbtContents.compiledNbtPathMethods in net.minecraft.network.chat.contents that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionprivate static NbtPathArgument.NbtPathNbtContents.compileNbtPath(String nbtPathPattern) Constructors in net.minecraft.network.chat.contents with parameters of type NbtPathArgument.NbtPathModifierConstructorDescriptionprivateNbtContents(String nbtPathPattern, NbtPathArgument.NbtPath compiledNbtPath, boolean interpreting, Optional<Component> separator, DataSource dataSource) -
Uses of NbtPathArgument.NbtPath in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type NbtPathArgument.NbtPathModifier and TypeMethodDescriptionprivate static intExecuteCommand.checkMatchingData(DataAccessor accessor, NbtPathArgument.NbtPath path) (package private) static CompoundTagFunctionCommand.getArgumentTag(NbtPathArgument.NbtPath nbtPath, DataAccessor dataAccessor) private static CommandSourceStackExecuteCommand.storeData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> tagConverter, boolean storingResult) -
Uses of NbtPathArgument.NbtPath in net.minecraft.server.commands.data
Methods in net.minecraft.server.commands.data with parameters of type NbtPathArgument.NbtPathModifier and TypeMethodDescriptionprivate static intDataCommands.getData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) Gets a value, which can be of any known NBT type.private static intDataCommands.getNumeric(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, double scale) Gets a single numeric element, scaled by the given amount.BlockDataAccessor.getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value) Gets the message used as a result of querying the given path with a scale.DataAccessor.getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value) Gets the message used as a result of querying the given path with a scale.EntityDataAccessor.getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value) Gets the message used as a result of querying the given path with a scale.StorageDataAccessor.getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value) Gets the message used as a result of querying the given path with a scale.static TagDataCommands.getSingleTag(NbtPathArgument.NbtPath path, DataAccessor accessor) intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, CompoundTag nbt, NbtPathArgument.NbtPath nbtPath, List<Tag> tags) private static intDataCommands.removeData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) Removes the tag at the end of the path. -
Uses of NbtPathArgument.NbtPath in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as NbtPathArgument.NbtPathModifier and TypeFieldDescriptionprivate final NbtPathArgument.NbtPathCopyCustomDataFunction.CopyOperation.sourcePathThe field for thesourcePathrecord component.private final NbtPathArgument.NbtPathCopyCustomDataFunction.CopyOperation.targetPathThe field for thetargetPathrecord component.Methods in net.minecraft.world.level.storage.loot.functions that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionCopyCustomDataFunction.CopyOperation.sourcePath()Returns the value of thesourcePathrecord component.CopyCustomDataFunction.CopyOperation.targetPath()Returns the value of thetargetPathrecord component.Methods in net.minecraft.world.level.storage.loot.functions with parameters of type NbtPathArgument.NbtPathModifier and TypeMethodDescriptionabstract voidCopyCustomDataFunction.MergeStrategy.merge(Tag tag, NbtPathArgument.NbtPath path, List<Tag> currentData) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type NbtPathArgument.NbtPathModifierConstructorDescription(package private)CopyOperation(NbtPathArgument.NbtPath sourcePath, NbtPathArgument.NbtPath targetPath, CopyCustomDataFunction.MergeStrategy op) Creates an instance of aCopyOperationrecord class. -
Uses of NbtPathArgument.NbtPath in net.minecraft.world.level.storage.loot.providers.number
Fields in net.minecraft.world.level.storage.loot.providers.number declared as NbtPathArgument.NbtPathModifier and TypeFieldDescriptionprivate final NbtPathArgument.NbtPathStorageValue.pathThe field for thepathrecord component.Methods in net.minecraft.world.level.storage.loot.providers.number that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionStorageValue.path()Returns the value of thepathrecord component.Constructors in net.minecraft.world.level.storage.loot.providers.number with parameters of type NbtPathArgument.NbtPathModifierConstructorDescriptionStorageValue(ResourceLocation storage, NbtPathArgument.NbtPath path) Creates an instance of aStorageValuerecord class.