Skip to content

Commit a23d644

Browse files
committed
fixes
1 parent bb72885 commit a23d644

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/org/spongepowered/api/world/border/WorldBorder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ default Builder toBuilder() {
104104
double targetDiameter();
105105

106106
/**
107-
* Gets the time remaining until the world border stops expanding or
107+
* Gets the remaining transition time in ticks until the world border stops expanding or
108108
* contracting to the {@link #targetDiameter()}.
109109
*
110110
* <p>If {@link #diameter()} and {@link #targetDiameter()} are the same,
111-
* this will be {@link Duration#ZERO}.</p>
111+
* this will be {@link Ticks#zero()}.</p>
112112
*
113-
* @return The time remaining
113+
* @return The ticks remaining
114114
*/
115-
Duration timeUntilTargetDiameter();
115+
Ticks timeUntilTargetDiameter();
116116

117117
/**
118118
* Gets the distance a player may be outside the world border before taking
@@ -223,7 +223,7 @@ interface Builder extends CopyableBuilder<WorldBorder, Builder>, org.spongepower
223223
* {@link #initialDiameter(double) the initial diameter} to
224224
* {@link #targetDiameter(double) its target diameter}.
225225
*
226-
* @param ticks The time, as a {@link Ticks}
226+
* @param ticks The transition duration in ticks
227227
* @return The builder, for chaining.
228228
*/
229229
Builder timeToTargetDiameter(final Ticks ticks);

0 commit comments

Comments
 (0)