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> p_99499_, String p_99500_) static NbtPathArgument.NbtPath
NbtPathArgument.parse
(com.mojang.brigadier.StringReader p_99491_) -
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 pNbtPathPattern) Constructors in net.minecraft.network.chat.contents with parameters of type NbtPathArgument.NbtPathModifierConstructorDescriptionprivate
NbtContents
(String pNbtPathPattern, NbtPathArgument.NbtPath pCompiledNbtPath, boolean pInterpreting, Optional<Component> pSeparator, DataSource pDataSource) -
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 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 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 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.BlockDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.DataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.EntityDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.StorageDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.static Tag
DataCommands.getSingleTag
(NbtPathArgument.NbtPath pPath, DataAccessor pAccessor) int
DataCommands.DataManipulator.modify
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139496_, CompoundTag p_139497_, NbtPathArgument.NbtPath p_139498_, List<Tag> p_139499_) private static int
DataCommands.removeData
(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) 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 pTag, NbtPathArgument.NbtPath pPath, List<Tag> pCurrentData) 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.