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
Fields in net.minecraft.command.argument with type parameters of type NbtPathArgumentType.NbtPathModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<NbtPathArgumentType.NbtPath> NbtPathArgumentType.NbtPath.CODEC
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) static NbtPathArgumentType.NbtPath
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.Operation.parsedSourcePath
The field for theparsedSourcePath
record component.private final NbtPathArgumentType.NbtPath
CopyNbtLootFunction.Operation.parsedTargetPath
The field for theparsedTargetPath
record component.Methods in net.minecraft.loot.function that return NbtPathArgumentType.NbtPathModifier and TypeMethodDescriptionCopyNbtLootFunction.Operation.parsedSourcePath()
Returns the value of theparsedSourcePath
record component.CopyNbtLootFunction.Operation.parsedTargetPath()
Returns the value of theparsedTargetPath
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.NbtPathModifierConstructorDescription(package private)
Operation
(NbtPathArgumentType.NbtPath nbtPath, NbtPathArgumentType.NbtPath nbtPath2, CopyNbtLootFunction.Operator operator) -
Uses of NbtPathArgumentType.NbtPath in net.minecraft.loot.provider.number
Fields in net.minecraft.loot.provider.number declared as NbtPathArgumentType.NbtPathModifier and TypeFieldDescriptionprivate final NbtPathArgumentType.NbtPath
StorageLootNumberProvider.path
The field for thepath
record component.Methods in net.minecraft.loot.provider.number that return NbtPathArgumentType.NbtPathModifier and TypeMethodDescriptionStorageLootNumberProvider.path()
Returns the value of thepath
record component.Constructors in net.minecraft.loot.provider.number with parameters of type NbtPathArgumentType.NbtPathModifierConstructorDescriptionStorageLootNumberProvider
(Identifier identifier, NbtPathArgumentType.NbtPath 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)