mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
Fix some additional documentation typos
Thanks mrfloris By: md_5 <git@md-5.net>
This commit is contained in:
parent
72ce939ef7
commit
70727107ce
13 changed files with 13 additions and 13 deletions
|
@ -41,7 +41,7 @@ public interface AdvancementProgress {
|
|||
boolean revokeCriteria(String criteria);
|
||||
|
||||
/**
|
||||
* Get the date the specified critera was awarded.
|
||||
* Get the date the specified criteria was awarded.
|
||||
*
|
||||
* @param criteria the criteria to check
|
||||
* @return date awarded or null if unawarded or criteria does not exist
|
||||
|
|
|
@ -261,7 +261,7 @@ public abstract class Command {
|
|||
* outstanding changes
|
||||
*
|
||||
* @param commandMap the CommandMap to unregister
|
||||
* @return true if the unregistration was successfull (the current
|
||||
* @return true if the unregistration was successful (the current
|
||||
* registered CommandMap was the passed CommandMap or null) false
|
||||
* otherwise
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@ public interface EnderDragon extends ComplexLivingEntity {
|
|||
*/
|
||||
CIRCLING,
|
||||
/**
|
||||
* The dragon will fly towards a targetted player and shoot a
|
||||
* The dragon will fly towards a targeted player and shoot a
|
||||
* fireball when within 64 blocks.
|
||||
*/
|
||||
STRAFING,
|
||||
|
|
|
@ -15,7 +15,7 @@ public interface Enderman extends Monster {
|
|||
public MaterialData getCarriedMaterial();
|
||||
|
||||
/**
|
||||
* Set the id and data of the block that the Enderman is carring.
|
||||
* Set the id and data of the block that the Enderman is carrying.
|
||||
*
|
||||
* @param material data to set the carried block to
|
||||
*/
|
||||
|
|
|
@ -49,7 +49,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable {
|
|||
/**
|
||||
* Gets this entity's current velocity
|
||||
*
|
||||
* @return Current travelling velocity of this entity
|
||||
* @return Current traveling velocity of this entity
|
||||
*/
|
||||
public Vector getVelocity();
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ public abstract class PlayerBucketEvent extends PlayerEvent implements Cancellab
|
|||
/**
|
||||
* Return the block clicked
|
||||
*
|
||||
* @return the blicked block
|
||||
* @return the clicked block
|
||||
*/
|
||||
public Block getBlockClicked() {
|
||||
return blockClicked;
|
||||
|
|
|
@ -57,7 +57,7 @@ public class PlayerTeleportEvent extends PlayerMoveEvent {
|
|||
END_PORTAL,
|
||||
/**
|
||||
* Indicates the teleportation was caused by a player teleporting to a
|
||||
* Entity/Player via the specatator menu
|
||||
* Entity/Player via the spectator menu
|
||||
*/
|
||||
SPECTATE,
|
||||
/**
|
||||
|
|
|
@ -4,7 +4,7 @@ import org.bukkit.command.CommandSender;
|
|||
import org.bukkit.event.HandlerList;
|
||||
|
||||
/**
|
||||
* This event is called when a command is recieved over RCON. See the javadocs
|
||||
* This event is called when a command is received over RCON. See the javadocs
|
||||
* of {@link ServerCommandEvent} for more information.
|
||||
*/
|
||||
public class RemoteServerCommandEvent extends ServerCommandEvent {
|
||||
|
|
|
@ -84,7 +84,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* An item stack with the specified damage / durabiltiy
|
||||
* An item stack with the specified damage / durability
|
||||
*
|
||||
* @param type item material
|
||||
* @param amount stack size
|
||||
|
|
|
@ -97,7 +97,7 @@ public abstract class TexturedMaterial extends MaterialData {
|
|||
*/
|
||||
@Deprecated
|
||||
protected void setTextureIndex(int idx) {
|
||||
setData((byte) idx); // Defult to using all bits - override for other mappings
|
||||
setData((byte) idx); // Default to using all bits - override for other mappings
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -113,7 +113,7 @@ public interface Plugin extends TabExecutor {
|
|||
/**
|
||||
* Called after a plugin is loaded but before it has been enabled.
|
||||
* <p>
|
||||
* When mulitple plugins are loaded, the onLoad() for all plugins is
|
||||
* When multiple plugins are loaded, the onLoad() for all plugins is
|
||||
* called before any onEnable() is called.
|
||||
*/
|
||||
public void onLoad();
|
||||
|
|
|
@ -136,7 +136,7 @@ public interface Team {
|
|||
/**
|
||||
* Gets the team's ability to see name tags
|
||||
*
|
||||
* @return the current name tag visibilty for the team
|
||||
* @return the current name tag visibility for the team
|
||||
* @throws IllegalArgumentException if this team has been unregistered
|
||||
* @deprecated see {@link #getOption(org.bukkit.scoreboard.Team.Option)}
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.bukkit.World;
|
|||
/**
|
||||
* Generates noise using the "classic" perlin generator
|
||||
*
|
||||
* @see SimplexNoiseGenerator "Improved" and faster version with slighly
|
||||
* @see SimplexNoiseGenerator "Improved" and faster version with slightly
|
||||
* different results
|
||||
*/
|
||||
public class PerlinNoiseGenerator extends NoiseGenerator {
|
||||
|
|
Loading…
Reference in a new issue