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> pContext, String pName) static NbtPathArgument.NbtPathNbtPathArgument.parse(com.mojang.brigadier.StringReader pReader) -
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 pNbtPathPattern) Constructors in net.minecraft.network.chat.contents with parameters of type NbtPathArgument.NbtPathModifierConstructorDescriptionprivateNbtContents(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 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 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 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.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 TagDataCommands.getSingleTag(NbtPathArgument.NbtPath pPath, DataAccessor pAccessor) intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, CompoundTag pNbt, NbtPathArgument.NbtPath pNbtPath, List<Tag> pTags) private static intDataCommands.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.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 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 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.