Uses of Interface
net.minecraft.command.argument.PosArgument
-
Uses of PosArgument in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic PosArgument
Vec3ArgumentType.getPosArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static PosArgument
RotationArgumentType.getRotation
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) BlockPosArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) ColumnPosArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) RotationArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) Vec2ArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) Vec3ArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of PosArgument in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
TeleportCommand.execute
(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable PosArgument rotation, @Nullable LookTarget facingLocation) private static Set
<PositionFlag> TeleportCommand.getFlags
(PosArgument pos, @Nullable PosArgument rotation, boolean sameDimension) private static int
RotateCommand.rotateToPos
(ServerCommandSource source, Entity entity, PosArgument pos) -
Uses of PosArgument in net.minecraft.text
Modifier and TypeFieldDescriptionprivate final @Nullable PosArgument
BlockNbtDataSource.pos
The field for thepos
record component.Modifier and TypeMethodDescriptionprivate static @Nullable PosArgument
BlockNbtDataSource.pos()
Returns the value of thepos
record component.ModifierConstructorDescriptionBlockNbtDataSource
(String rawPath, @Nullable PosArgument posArgument)