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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<NbtPathArgumentType.NbtPath> NbtPathArgumentType.NbtPath.CODEC
Modifier and TypeMethodDescriptionstatic NbtPathArgumentType.NbtPath
NbtPathArgumentType.getNbtPath
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static NbtPathArgumentType.NbtPath
NbtPathArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final NbtPathArgumentType.NbtPath
CopyNbtLootFunction.Operation.parsedSourcePath
The field for theparsedSourcePath
record component.private final NbtPathArgumentType.NbtPath
CopyNbtLootFunction.Operation.parsedTargetPath
The field for theparsedTargetPath
record component.Modifier and TypeMethodDescriptionCopyNbtLootFunction.Operation.parsedSourcePath()
Returns the value of theparsedSourcePath
record component.CopyNbtLootFunction.Operation.parsedTargetPath()
Returns the value of theparsedTargetPath
record component.Modifier and TypeMethodDescriptionabstract void
CopyNbtLootFunction.Operator.merge
(NbtElement itemNbt, NbtPathArgumentType.NbtPath targetPath, List<NbtElement> sourceNbts) ModifierConstructorDescription(package private)
Operation
(NbtPathArgumentType.NbtPath nbtPath, NbtPathArgumentType.NbtPath nbtPath2, CopyNbtLootFunction.Operator operator) -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.loot.provider.number
Modifier and TypeFieldDescriptionprivate final NbtPathArgumentType.NbtPath
StorageLootNumberProvider.path
The field for thepath
record component.Modifier and TypeMethodDescriptionStorageLootNumberProvider.path()
Returns the value of thepath
record component.ModifierConstructorDescriptionStorageLootNumberProvider
(Identifier identifier, NbtPathArgumentType.NbtPath nbtPath) -
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)