Uses of Class
net.minecraft.commands.arguments.NbtPathArgument.NbtPath
Package
Description
-
Uses of NbtPathArgument.NbtPath in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic NbtPathArgument.NbtPath
NbtPathArgument.getPath
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_99499_, String p_99500_) 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_) private static CompoundTag
FunctionCommand.getArgumentTag
(NbtPathArgument.NbtPath p_298274_, DataAccessor p_301396_) 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
CopyNbtFunction.Path.path
The field for thepath
record component.Modifier and TypeMethodDescriptionCopyNbtFunction.Path.path()
Returns the value of thepath
record component.Modifier and TypeMethodDescriptionabstract void
CopyNbtFunction.MergeStrategy.merge
(Tag p_80351_, NbtPathArgument.NbtPath p_80352_, List<Tag> p_80353_) ModifierConstructorDescription(package private)
Path
(String string, NbtPathArgument.NbtPath path) Creates an instance of aPath
record class.