Uses of Interface
net.minecraft.commands.arguments.coordinates.Coordinates
Packages that use Coordinates
Package
Description
-
Uses of Coordinates in net.minecraft.commands.arguments.coordinates
Classes in net.minecraft.commands.arguments.coordinates that implement CoordinatesClasses in net.minecraft.commands.arguments.coordinates that implement interfaces with type arguments of type CoordinatesModifier and TypeClassDescriptionclassclassclassclassclassMethods in net.minecraft.commands.arguments.coordinates that return CoordinatesModifier and TypeMethodDescriptionstatic CoordinatesVec3Argument.getCoordinates(CommandContext<CommandSourceStack> context, String name) static CoordinatesRotationArgument.getRotation(CommandContext<CommandSourceStack> context, String name) BlockPosArgument.parse(StringReader reader) ColumnPosArgument.parse(StringReader reader) RotationArgument.parse(StringReader reader) Vec2Argument.parse(StringReader reader) Vec3Argument.parse(StringReader reader) -
Uses of Coordinates in net.minecraft.network.chat.contents.data
Fields in net.minecraft.network.chat.contents.data with type parameters of type CoordinatesModifier and TypeFieldDescriptionstatic final Codec<CompilableString<Coordinates>> BlockDataSource.BLOCK_POS_CODECprivate final CompilableString<Coordinates> BlockDataSource.coordinatesThe field for thecoordinatesrecord component.Methods in net.minecraft.network.chat.contents.data that return types with arguments of type CoordinatesModifier and TypeMethodDescriptionBlockDataSource.coordinates()Returns the value of thecoordinatesrecord component.Constructor parameters in net.minecraft.network.chat.contents.data with type arguments of type CoordinatesModifierConstructorDescriptionBlockDataSource(CompilableString<Coordinates> coordinates) Creates an instance of aBlockDataSourcerecord class. -
Uses of Coordinates in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type CoordinatesModifier and TypeMethodDescriptionTeleportCommand.getRelatives(Coordinates destination, @Nullable Coordinates rotation, boolean sameDimension) private static intRotateCommand.rotate(CommandSourceStack source, Entity entity, Coordinates rotation) private static intSetSpawnCommand.setSpawn(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, Coordinates rotation) private static intSetWorldSpawnCommand.setSpawn(CommandSourceStack source, BlockPos pos, Coordinates rotation) private static intTeleportCommand.teleportToPos(CommandSourceStack source, Collection<? extends Entity> entities, ServerLevel level, Coordinates destination, @Nullable Coordinates rotation, @Nullable LookAt lookAt)