Commits
md_5 authored 91dcbef92ce
1 1 | package org.bukkit; |
2 2 | |
3 3 | import java.util.HashMap; |
4 4 | import java.util.Map; |
5 5 | |
6 6 | import org.bukkit.block.Block; |
7 7 | import org.bukkit.configuration.serialization.ConfigurationSerializable; |
8 8 | import org.bukkit.util.NumberConversions; |
9 9 | import org.bukkit.util.Vector; |
10 10 | |
11 11 | /** |
12 - | * Represents a 3-dimensional position in a world |
12 + | * Represents a 3-dimensional position in a world. |
13 + | * <br> |
14 + | * No constraints are placed on any angular values other than that they be |
15 + | * specified in degrees. This means that negative angles or angles of greater |
16 + | * magnitude than 360 are valid, but may be normalized to any other equivalent |
17 + | * representation by the implementation. |
13 18 | */ |
14 19 | public class Location implements Cloneable, ConfigurationSerializable { |
15 20 | private World world; |
16 21 | private double x; |
17 22 | private double y; |
18 23 | private double z; |
19 24 | private float pitch; |
20 25 | private float yaw; |
21 26 | |
22 27 | /** |