Uses of Class
net.minecraft.command.argument.NbtPathArgumentType.NbtPath
Package
Description
-
Uses of NbtPathArgumentType.NbtPath in net.minecraft.command
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprivate final NbtPathArgumentType.NbtPath
CopyNbtLootFunction.Path.path
The field for thepath
record component.Modifier and TypeMethodDescriptionCopyNbtLootFunction.Path.path()
Returns the value of thepath
record component.Modifier and TypeMethodDescriptionabstract void
CopyNbtLootFunction.Operator.merge
(NbtElement itemNbt, NbtPathArgumentType.NbtPath targetPath, List<NbtElement> sourceNbts) -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.server.command
Modifier 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
ModifierConstructorDescriptionprivate
NbtTextContent
(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Optional<Text> separator, NbtDataSource dataSource)