Uses of Class
net.minecraft.commands.arguments.NbtPathArgument.NbtPath
Package
Description
-
Uses of NbtPathArgument.NbtPath in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<NbtPathArgument.NbtPath> NbtPathArgument.NbtPath.CODEC
Modifier 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
Modifier and TypeFieldDescriptionprotected final NbtPathArgument.NbtPath
NbtContents.compiledNbtPath
Modifier and TypeMethodDescriptionprivate static NbtPathArgument.NbtPath
NbtContents.compileNbtPath
(String p_237410_) ModifierConstructorDescriptionprivate
NbtContents
(String p_237389_, NbtPathArgument.NbtPath p_237390_, boolean p_237391_, Optional<Component> p_237392_, DataSource p_237393_) -
Uses of NbtPathArgument.NbtPath in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
ExecuteCommand.checkMatchingData
(DataAccessor p_137146_, NbtPathArgument.NbtPath p_137147_) (package private) static CompoundTag
FunctionCommand.getArgumentTag
(NbtPathArgument.NbtPath p_295114_, DataAccessor p_296132_) private static CommandSourceStack
ExecuteCommand.storeData
(CommandSourceStack p_137118_, DataAccessor p_137119_, NbtPathArgument.NbtPath p_137120_, IntFunction<Tag> p_137121_, boolean p_137122_) -
Uses of NbtPathArgument.NbtPath in net.minecraft.server.commands.data
Modifier and TypeMethodDescriptionprivate static int
DataCommands.getData
(CommandSourceStack p_139444_, DataAccessor p_139445_, NbtPathArgument.NbtPath p_139446_) private static int
DataCommands.getNumeric
(CommandSourceStack p_139390_, DataAccessor p_139391_, NbtPathArgument.NbtPath p_139392_, double p_139393_) BlockDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139301_, double p_139302_, int p_139303_) DataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139320_, double p_139321_, int p_139322_) EntityDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139513_, double p_139514_, int p_139515_) StorageDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139550_, double p_139551_, int p_139552_) static Tag
DataCommands.getSingleTag
(NbtPathArgument.NbtPath p_139399_, DataAccessor p_139400_) 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 p_139386_, DataAccessor p_139387_, NbtPathArgument.NbtPath p_139388_) -
Uses of NbtPathArgument.NbtPath in net.minecraft.world.level.storage.loot.functions
Modifier 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.Modifier and TypeMethodDescriptionCopyCustomDataFunction.CopyOperation.sourcePath()
Returns the value of thesourcePath
record component.CopyCustomDataFunction.CopyOperation.targetPath()
Returns the value of thetargetPath
record component.Modifier and TypeMethodDescriptionabstract void
CopyCustomDataFunction.MergeStrategy.merge
(Tag p_330558_, NbtPathArgument.NbtPath p_331810_, List<Tag> p_330953_) ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionprivate final NbtPathArgument.NbtPath
StorageValue.path
The field for thepath
record component.Modifier and TypeMethodDescriptionStorageValue.path()
Returns the value of thepath
record component.ModifierConstructorDescriptionStorageValue
(ResourceLocation storage, NbtPathArgument.NbtPath path) Creates an instance of aStorageValue
record class.