Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -3,7 +3,7 @@ package org.bukkit.entity;
|
||||
/**
|
||||
* Represents an entity that can age and breed.
|
||||
*/
|
||||
public interface Ageable extends Creature {
|
||||
public interface Ageable extends Creature {
|
||||
/**
|
||||
* Gets the age of this animal.
|
||||
*
|
||||
@@ -49,7 +49,7 @@ public interface Ageable extends Creature {
|
||||
* @return return true if the animal is an adult
|
||||
*/
|
||||
public boolean isAdult();
|
||||
|
||||
|
||||
/**
|
||||
* Return the ability to breed of the animal.
|
||||
*
|
||||
|
||||
@@ -226,7 +226,7 @@ public interface AreaEffectCloud extends Entity {
|
||||
|
||||
/**
|
||||
* Retrieve the original source of this cloud.
|
||||
*
|
||||
*
|
||||
* @return the {@link ProjectileSource} that threw the LingeringPotion
|
||||
*/
|
||||
@Nullable
|
||||
|
||||
@@ -10,7 +10,7 @@ public interface Boat extends Vehicle {
|
||||
|
||||
/**
|
||||
* Gets the wood type of the boat.
|
||||
*
|
||||
*
|
||||
* @return the wood type
|
||||
*/
|
||||
@NotNull
|
||||
@@ -18,7 +18,7 @@ public interface Boat extends Vehicle {
|
||||
|
||||
/**
|
||||
* Sets the wood type of the boat.
|
||||
*
|
||||
*
|
||||
* @param species the new wood type
|
||||
*/
|
||||
void setWoodType(@NotNull TreeSpecies species);
|
||||
|
||||
@@ -20,8 +20,8 @@ public interface Creeper extends Monster {
|
||||
public void setPowered(boolean value);
|
||||
|
||||
/**
|
||||
* Set the maximum fuse ticks for this Creeper, where the maximum ticks
|
||||
* is the amount of time in which a creeper is allowed to be in the
|
||||
* Set the maximum fuse ticks for this Creeper, where the maximum ticks
|
||||
* is the amount of time in which a creeper is allowed to be in the
|
||||
* primed state before exploding.
|
||||
*
|
||||
* @param ticks the new maximum fuse ticks
|
||||
@@ -29,8 +29,8 @@ public interface Creeper extends Monster {
|
||||
public void setMaxFuseTicks(int ticks);
|
||||
|
||||
/**
|
||||
* Get the maximum fuse ticks for this Creeper, where the maximum ticks
|
||||
* is the amount of time in which a creeper is allowed to be in the
|
||||
* Get the maximum fuse ticks for this Creeper, where the maximum ticks
|
||||
* is the amount of time in which a creeper is allowed to be in the
|
||||
* primed state before exploding.
|
||||
*
|
||||
* @return the maximum fuse ticks
|
||||
|
||||
@@ -41,8 +41,8 @@ public interface EnderDragon extends ComplexLivingEntity, Boss {
|
||||
BREATH_ATTACK,
|
||||
/**
|
||||
* The dragon will search for a player to attack with dragon breath.
|
||||
* If no player is close enough to the dragon for 5 seconds, the
|
||||
* dragon will charge at a player within 150 blocks or will take off
|
||||
* If no player is close enough to the dragon for 5 seconds, the
|
||||
* dragon will charge at a player within 150 blocks or will take off
|
||||
* and begin circling if no player is found.
|
||||
*/
|
||||
SEARCH_FOR_BREATH_ATTACK_TARGET,
|
||||
|
||||
@@ -350,7 +350,7 @@ public enum EntityType implements Keyed {
|
||||
|
||||
/**
|
||||
*
|
||||
* @return the raw type id
|
||||
* @return the raw type id
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -4,5 +4,5 @@ package org.bukkit.entity;
|
||||
* A mechanical creature that may harm enemies.
|
||||
*/
|
||||
public interface Golem extends Creature {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ public interface Guardian extends Monster {
|
||||
|
||||
/**
|
||||
* Check if the Guardian is an elder Guardian
|
||||
*
|
||||
*
|
||||
* @return true if the Guardian is an Elder Guardian, false if not
|
||||
* @deprecated should check if instance of {@link ElderGuardian}.
|
||||
*/
|
||||
|
||||
@@ -139,7 +139,7 @@ public interface Minecart extends Vehicle {
|
||||
|
||||
/**
|
||||
* Gets the offset of the display block.
|
||||
*
|
||||
*
|
||||
* @return the current block offset for this minecart.
|
||||
*/
|
||||
public int getDisplayBlockOffset();
|
||||
|
||||
@@ -8,14 +8,14 @@ public interface SpectralArrow extends Arrow {
|
||||
/**
|
||||
* Returns the amount of time that this arrow will apply
|
||||
* the glowing effect for.
|
||||
*
|
||||
*
|
||||
* @return the glowing effect ticks
|
||||
*/
|
||||
int getGlowingTicks();
|
||||
|
||||
/**
|
||||
* Sets the amount of time to apply the glowing effect for.
|
||||
*
|
||||
*
|
||||
* @param duration the glowing effect ticks
|
||||
*/
|
||||
void setGlowingTicks(int duration);
|
||||
|
||||
@@ -10,16 +10,16 @@ import org.bukkit.loot.Lootable;
|
||||
public interface HopperMinecart extends Minecart, InventoryHolder, Lootable {
|
||||
|
||||
/**
|
||||
* Checks whether or not this Minecart will pick up
|
||||
* Checks whether or not this Minecart will pick up
|
||||
* items into its inventory.
|
||||
*
|
||||
*
|
||||
* @return true if the Minecart will pick up items
|
||||
*/
|
||||
boolean isEnabled();
|
||||
|
||||
/**
|
||||
* Sets whether this Minecart will pick up items.
|
||||
*
|
||||
*
|
||||
* @param enabled new enabled state
|
||||
*/
|
||||
void setEnabled(boolean enabled);
|
||||
|
||||
Reference in New Issue
Block a user