Uses of Class
net.minecraft.command.argument.NbtPathArgumentType.NbtPath
Packages that use NbtPathArgumentType.NbtPath
Package
Description
-
Uses of NbtPathArgumentType.NbtPath in net.minecraft.command
Methods in net.minecraft.command with parameters of type NbtPathArgumentType.NbtPathModifier and TypeMethodDescriptionBlockDataObject.feedbackGet
(NbtPathArgumentType.NbtPath path, double scale, int result) DataCommandObject.feedbackGet
(NbtPathArgumentType.NbtPath path, double scale, int result) EntityDataObject.feedbackGet
(NbtPathArgumentType.NbtPath path, double scale, int result) StorageDataObject.feedbackGet
(NbtPathArgumentType.NbtPath path, double scale, int result) -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return NbtPathArgumentType.NbtPathModifier and TypeMethodDescriptionstatic NbtPathArgumentType.NbtPath
NbtPathArgumentType.getNbtPath
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) NbtPathArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as NbtPathArgumentType.NbtPathModifier and TypeFieldDescriptionprivate final NbtPathArgumentType.NbtPath
CopyNbtLootFunction.Path.path
The field for thepath
record component.Methods in net.minecraft.loot.function that return NbtPathArgumentType.NbtPathModifier and TypeMethodDescriptionCopyNbtLootFunction.Path.path()
Returns the value of thepath
record component.Methods in net.minecraft.loot.function with parameters of type NbtPathArgumentType.NbtPathModifier and TypeMethodDescriptionabstract void
CopyNbtLootFunction.Operator.merge
(NbtElement itemNbt, NbtPathArgumentType.NbtPath targetPath, List<NbtElement> sourceNbts) Constructors in net.minecraft.loot.function with parameters of type NbtPathArgumentType.NbtPath -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type NbtPathArgumentType.NbtPathModifier and TypeMethodDescriptionprivate static int
ExecuteCommand.countPathMatches
(DataCommandObject object, NbtPathArgumentType.NbtPath path) private static int
DataCommand.executeGet
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static int
DataCommand.executeGet
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, double scale) private static int
DataCommand.executeRemove
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static ServerCommandSource
ExecuteCommand.executeStoreData
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult) (package private) static NbtCompound
FunctionCommand.getArgument
(NbtPathArgumentType.NbtPath path, DataCommandObject object) static NbtElement
DataCommand.getNbt
(NbtPathArgumentType.NbtPath path, DataCommandObject object) int
DataCommand.ModifyOperation.modify
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.text
Fields in net.minecraft.text declared as NbtPathArgumentType.NbtPathMethods in net.minecraft.text that return NbtPathArgumentType.NbtPathConstructors in net.minecraft.text with parameters of type NbtPathArgumentType.NbtPathModifierConstructorDescriptionprivate
NbtTextContent
(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Optional<Text> separator, NbtDataSource dataSource)