diff --git a/src/main/java/org/spongepowered/api/command/args/GenericArguments.java b/src/main/java/org/spongepowered/api/command/args/GenericArguments.java index e8ee30b5d88..b3bf6f35159 100644 --- a/src/main/java/org/spongepowered/api/command/args/GenericArguments.java +++ b/src/main/java/org/spongepowered/api/command/args/GenericArguments.java @@ -250,7 +250,7 @@ public static CommandFlags.Builder flags() { } /** - * Consumes a series of arguments. Usage is the elements concated + * Consumes a series of arguments. Usage is the elements concatenated * * @param elements The series of arguments to expect * @return the element to match the input @@ -1238,7 +1238,7 @@ private double parseRelativeDouble(CommandArgs args, String arg, @Nullable Doubl boolean relative = arg.startsWith("~"); if (relative) { if (relativeTo == null) { - throw args.createError(t("Relative position specified but source does not have a postion")); + throw args.createError(t("Relative position specified but source does not have a position")); } arg = arg.substring(1); if (arg.isEmpty()) { diff --git a/src/main/java/org/spongepowered/api/command/spec/CommandSpec.java b/src/main/java/org/spongepowered/api/command/spec/CommandSpec.java index 05153f88e70..ca9d617e6c7 100644 --- a/src/main/java/org/spongepowered/api/command/spec/CommandSpec.java +++ b/src/main/java/org/spongepowered/api/command/spec/CommandSpec.java @@ -314,7 +314,7 @@ public CommandExecutor getExecutor() { } /** - * Gets the active input tokenizer used for this commmand. + * Gets the active input tokenizer used for this command. * * @return This command's input tokenizer */ diff --git a/src/main/java/org/spongepowered/api/data/DataSerializable.java b/src/main/java/org/spongepowered/api/data/DataSerializable.java index 4eeaa71f04b..eb81bc35de7 100644 --- a/src/main/java/org/spongepowered/api/data/DataSerializable.java +++ b/src/main/java/org/spongepowered/api/data/DataSerializable.java @@ -29,7 +29,7 @@ /** * Represents an object that can be represented by a {@link DataContainer}. *
DataContainers received from {@link DataSerializable#toContainer()} - * should be considered to be copies of the original data, and therefor, + * should be considered to be copies of the original data, and therefore, * thread safe.
*/ public interface DataSerializable { @@ -38,7 +38,7 @@ public interface DataSerializable { * Gets the content version of this {@link DataSerializable}. The version * may differ between instances of plugins and implementations such that * the {@link DataView} from {@link #toContainer()} may include different - * information, or remove other information as they are no longer deemend + * information, or remove other information as they are no longer deemed * necessary. The version goes hand in hand with {@link DataContentUpdater} * as it is required when there exists any {@link DataView} of this * {@link DataSerializable} with an "older" version. diff --git a/src/main/java/org/spongepowered/api/data/key/Keys.java b/src/main/java/org/spongepowered/api/data/key/Keys.java index f1c05c5080c..b53650ad227 100644 --- a/src/main/java/org/spongepowered/api/data/key/Keys.java +++ b/src/main/java/org/spongepowered/api/data/key/Keys.java @@ -364,7 +364,6 @@ public final class Keys { public static final KeyIf settings any of the keys or values causes the message - * to go oer the maximum size, the message will be automatically + * to go over the maximum size, the message will be automatically * truncated.
* * @return The map of custom keys and values to respond with diff --git a/src/main/java/org/spongepowered/api/item/inventory/ItemStack.java b/src/main/java/org/spongepowered/api/item/inventory/ItemStack.java index 35815afad20..2560cd06a1c 100644 --- a/src/main/java/org/spongepowered/api/item/inventory/ItemStack.java +++ b/src/main/java/org/spongepowered/api/item/inventory/ItemStack.java @@ -33,7 +33,6 @@ import org.spongepowered.api.block.BlockType; import org.spongepowered.api.block.tileentity.TileEntity; import org.spongepowered.api.data.DataHolder; -import org.spongepowered.api.data.DataSerializable; import org.spongepowered.api.data.DataView; import org.spongepowered.api.data.key.Key; import org.spongepowered.api.data.manipulator.DataManipulator; @@ -50,11 +49,11 @@ * Represents a stack of a specific {@link ItemType}. Supports serialization and * can be compared using the comparators listed in {@link ItemStackComparators}. * - *{@link ItemStack}s have varying properties and data, it is adviseable to - * use {@link DataHolder#get(Class)} to retrieve different information - * regarding this item stack.
+ *{@link ItemStack}s have a variety of properties and data. It is advised to + * use {@link DataHolder#get(Class)} in order to retrieve information regarding + * this item stack.
*/ -public interface ItemStack extends DataHolder, DataSerializable, Translatable { +public interface ItemStack extends DataHolder, Translatable { /** * Creates a new {@link Builder} to build an {@link ItemStack}. diff --git a/src/main/java/org/spongepowered/api/item/inventory/equipment/EquipmentTypes.java b/src/main/java/org/spongepowered/api/item/inventory/equipment/EquipmentTypes.java index 290dbf57c93..6589af17b67 100644 --- a/src/main/java/org/spongepowered/api/item/inventory/equipment/EquipmentTypes.java +++ b/src/main/java/org/spongepowered/api/item/inventory/equipment/EquipmentTypes.java @@ -34,7 +34,7 @@ public final class EquipmentTypes { // SORTFIELDS:ON /** - * Any type, all other types should sublass this to allow instanceof checks + * Any type, all other types should subclass this to allow instanceof checks * to succeed. */ public static final EquipmentType ANY = DummyObjectProvider.createFor(EquipmentType.class, "ANY"); diff --git a/src/main/java/org/spongepowered/api/item/inventory/property/AcceptsItems.java b/src/main/java/org/spongepowered/api/item/inventory/property/AcceptsItems.java index e719c5d63df..d14b1a720dc 100644 --- a/src/main/java/org/spongepowered/api/item/inventory/property/AcceptsItems.java +++ b/src/main/java/org/spongepowered/api/item/inventory/property/AcceptsItems.java @@ -87,7 +87,7 @@ public int compareTo(Property, ?> other) { /** * Returns true if other is also an {@link AcceptsItems} property - * and any item appearing in the other property's collecion appears + * and any item appearing in the other property's collection appears * in this property's collection. In formal terms, the method returns true * if the size of the intersection between the two item type collections is * greater than zero. diff --git a/src/main/java/org/spongepowered/api/item/inventory/type/TileEntityInventory.java b/src/main/java/org/spongepowered/api/item/inventory/type/TileEntityInventory.java index 6d1a6183036..e9002a05555 100644 --- a/src/main/java/org/spongepowered/api/item/inventory/type/TileEntityInventory.java +++ b/src/main/java/org/spongepowered/api/item/inventory/type/TileEntityInventory.java @@ -38,7 +38,7 @@ * at liberty to return the TE object directly but as far as consumers are * concerned the TE instance and the inventory are separate things. * - *This is intented to provide a consistent way of dealing with inventories + *
This is intended to provide a consistent way of dealing with inventories
* regardless of the "owner" of the inventory. Thus, any code capable of dealing
* with a {@link Carrier} is intrinsically able to deal with a TE inventory just
* as they would with any Entity inventory or any other type of Carrier for that
diff --git a/src/main/java/org/spongepowered/api/network/ChannelBuf.java b/src/main/java/org/spongepowered/api/network/ChannelBuf.java
index 0006f3dd2cd..4172e88ae4f 100644
--- a/src/main/java/org/spongepowered/api/network/ChannelBuf.java
+++ b/src/main/java/org/spongepowered/api/network/ChannelBuf.java
@@ -798,7 +798,7 @@ public interface ChannelBuf {
/**
* Sets the specified {@link DataView} at the current writerIndex and
- * increases the writerIndex according to the lenght of the data view
+ * increases the writerIndex according to the length of the data view
* in this buffer.
*
* @param data The data view data
diff --git a/src/main/java/org/spongepowered/api/service/permission/option/OptionSubjectData.java b/src/main/java/org/spongepowered/api/service/permission/option/OptionSubjectData.java
index e67d07ab0b7..e961a942f7f 100644
--- a/src/main/java/org/spongepowered/api/service/permission/option/OptionSubjectData.java
+++ b/src/main/java/org/spongepowered/api/service/permission/option/OptionSubjectData.java
@@ -61,7 +61,7 @@ public interface OptionSubjectData extends SubjectData {
* Clear all options in the given context combination.
*
* @param contexts The context combination
- * @return Whether the operation was successful (any options were remowed)
+ * @return Whether the operation was successful (any options were removed)
*/
boolean clearOptions(Set For world implementations, only some parts of the world is usually
* loaded, so this method may return no entity if the entity is not
diff --git a/src/main/java/org/spongepowered/api/world/gen/populator/Lake.java b/src/main/java/org/spongepowered/api/world/gen/populator/Lake.java
index fd7c0dd606c..c5a5775499f 100644
--- a/src/main/java/org/spongepowered/api/world/gen/populator/Lake.java
+++ b/src/main/java/org/spongepowered/api/world/gen/populator/Lake.java
@@ -32,7 +32,7 @@
/**
* Represents a populator which will attempt to spawn lakes within the chunk
- * dependending on a random chance.
+ * depending on a random chance.
*/
public interface Lake extends Populator {
diff --git a/src/main/java/org/spongepowered/api/world/storage/WorldStorage.java b/src/main/java/org/spongepowered/api/world/storage/WorldStorage.java
index 6861c5c30ae..3c35c3d7415 100644
--- a/src/main/java/org/spongepowered/api/world/storage/WorldStorage.java
+++ b/src/main/java/org/spongepowered/api/world/storage/WorldStorage.java
@@ -56,7 +56,7 @@ public interface WorldStorage {
* exist in the world.
*
* Note that this is an asynchronous check as the storage of chunks can
- * not be guaranteed to remain in synch with the server, let alone on the
+ * not be guaranteed to remain in sync with the server, let alone on the
* server thread. It is imperative to understand that the {@link CompletableFuture} task
@@ -74,7 +74,7 @@ public interface WorldStorage {
*
* The container is a read only instance of the data, and therefor should
* not be considered as mutable data. Changes are NOT saved, and the data
- * may not be in synch with the server if the chunk is currently loaded.
This may not return a {@link DataContainer} in the event there is no * chunk data generated at the desired coordinates.