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.CODEC
Methods in net.minecraft.commands.arguments that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionstatic NbtPathArgument.NbtPath
NbtPathArgument.getPath
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static NbtPathArgument.NbtPath
NbtPathArgument.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.NbtPath
NbtContents.compiledNbtPath
Methods in net.minecraft.network.chat.contents that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionprivate static NbtPathArgument.NbtPath
NbtContents.compileNbtPath
(String nbtPathPattern) Constructors in net.minecraft.network.chat.contents with parameters of type NbtPathArgument.NbtPathModifierConstructorDescriptionprivate
NbtContents
(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 int
ExecuteCommand.checkMatchingData
(DataAccessor accessor, NbtPathArgument.NbtPath path) (package private) static CompoundTag
FunctionCommand.getArgumentTag
(NbtPathArgument.NbtPath nbtPath, DataAccessor dataAccessor) private static CommandSourceStack
ExecuteCommand.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 int
DataCommands.getData
(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) Gets a value, which can be of any known NBT type.private static int
DataCommands.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 Tag
DataCommands.getSingleTag
(NbtPathArgument.NbtPath path, DataAccessor accessor) int
DataCommands.DataManipulator.modify
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, CompoundTag nbt, NbtPathArgument.NbtPath nbtPath, List<Tag> tags) private static int
DataCommands.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.NbtPath
CopyCustomDataFunction.CopyOperation.sourcePath
The field for thesourcePath
record component.private final NbtPathArgument.NbtPath
CopyCustomDataFunction.CopyOperation.targetPath
The field for thetargetPath
record component.Methods in net.minecraft.world.level.storage.loot.functions that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionCopyCustomDataFunction.CopyOperation.sourcePath()
Returns the value of thesourcePath
record component.CopyCustomDataFunction.CopyOperation.targetPath()
Returns the value of thetargetPath
record component.Methods in net.minecraft.world.level.storage.loot.functions with parameters of type NbtPathArgument.NbtPathModifier and TypeMethodDescriptionabstract void
CopyCustomDataFunction.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 aCopyOperation
record 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.NbtPath
StorageValue.path
The field for thepath
record component.Methods in net.minecraft.world.level.storage.loot.providers.number that return NbtPathArgument.NbtPathModifier and TypeMethodDescriptionStorageValue.path()
Returns the value of thepath
record 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 aStorageValue
record class.