Commits
MattBDev authored and md_5 committed b886a63f362
1 1 | package org.bukkit; |
2 2 | |
3 3 | public interface WorldBorder { |
4 4 | |
5 5 | /** |
6 6 | * Resets the border to default values. |
7 7 | */ |
8 8 | public void reset(); |
9 9 | |
10 10 | /** |
11 - | * Gets the current border size. |
11 + | * Gets the current side length of the border. |
12 12 | * |
13 - | * @return The current size of the border. |
13 + | * @return The current side length of the border. |
14 14 | */ |
15 15 | public double getSize(); |
16 16 | |
17 17 | /** |
18 - | * Sets the border to a square region with the specified size in blocks. |
18 + | * Sets the border to a square region with the specified side length in blocks. |
19 19 | * |
20 20 | * @param newSize The new size of the border. |
21 21 | */ |
22 22 | public void setSize(double newSize); |
23 23 | |
24 24 | /** |
25 - | * Sets the border to a square region with the specified size in blocks. |
25 + | * Sets the border to a square region with the specified side length in blocks. |
26 26 | * |
27 - | * @param newSize The new size of the border. |
27 + | * @param newSize The new side length of the border. |
28 28 | * @param seconds The time in seconds in which the border grows or shrinks from the previous size to that being set. |
29 29 | */ |
30 30 | public void setSize(double newSize, long seconds); |
31 31 | |
32 32 | /** |
33 33 | * Gets the current border center. |
34 34 | * |
35 35 | * @return The current border center. |
36 36 | */ |
37 37 | public Location getCenter(); |