diff --git a/src/main/java/com/sk89q/jnbt/CompoundTag.java b/src/main/java/com/sk89q/jnbt/CompoundTag.java index 6f959e81a..4ab326d5e 100644 --- a/src/main/java/com/sk89q/jnbt/CompoundTag.java +++ b/src/main/java/com/sk89q/jnbt/CompoundTag.java @@ -309,7 +309,9 @@ public final class CompoundTag extends Tag { * list will also be returned.
* * @param key the key + * @param listType the class of the contained type * @return a list of tags + * @paramComponents < 0.5 are rounded down, otherwise up.
+ *Components < 0.5 are rounded down, otherwise up.
* * @return a new vector */ diff --git a/src/main/java/com/sk89q/worldedit/Vector2D.java b/src/main/java/com/sk89q/worldedit/Vector2D.java index cf1f98097..2c295ca2c 100644 --- a/src/main/java/com/sk89q/worldedit/Vector2D.java +++ b/src/main/java/com/sk89q/worldedit/Vector2D.java @@ -509,7 +509,7 @@ public class Vector2D { /** * Rounds all components to the closest integer. * - *Components < 0.5 are rounded down, otherwise up.
+ *Components < 0.5 are rounded down, otherwise up.
* * @return a new vector */ @@ -607,6 +607,7 @@ public class Vector2D { /** * Creates a 3D vector by adding the specified Y component to this vector. * + * @param y the Y component * @return a new vector */ public Vector toVector(double y) { diff --git a/src/main/java/com/sk89q/worldedit/extent/Extent.java b/src/main/java/com/sk89q/worldedit/extent/Extent.java index 436c59ea8..617dff41f 100644 --- a/src/main/java/com/sk89q/worldedit/extent/Extent.java +++ b/src/main/java/com/sk89q/worldedit/extent/Extent.java @@ -64,6 +64,7 @@ public interface Extent extends InputExtent, OutputExtent { * game will not have every chunk loaded), then this list may not be * incomplete. * + * @param region the region in which entities must be contained * @return a list of entities */ List extends Entity> getEntities(Region region); diff --git a/src/main/java/com/sk89q/worldedit/extent/OutputExtent.java b/src/main/java/com/sk89q/worldedit/extent/OutputExtent.java index e7218e719..cdb21d662 100644 --- a/src/main/java/com/sk89q/worldedit/extent/OutputExtent.java +++ b/src/main/java/com/sk89q/worldedit/extent/OutputExtent.java @@ -48,6 +48,7 @@ public interface OutputExtent { * @param position position of the block * @param block block to set * @return true if the block was successfully set (return value may not be accurate) + * @throws WorldEditException thrown on an error */ boolean setBlock(Vector position, BaseBlock block) throws WorldEditException;