Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -234,7 +234,7 @@ public interface EntityEquipment {
|
||||
|
||||
/**
|
||||
* Sets the chance of the helmet being dropped upon this creature's death.
|
||||
*
|
||||
*
|
||||
* <ul>
|
||||
* <li>A drop chance of 0.0F will never drop
|
||||
* <li>A drop chance of 1.0F will always drop
|
||||
@@ -248,7 +248,7 @@ public interface EntityEquipment {
|
||||
/**
|
||||
* Gets the chance of the chest plate being dropped upon this creature's
|
||||
* death.
|
||||
*
|
||||
*
|
||||
* <ul>
|
||||
* <li>A drop chance of 0.0F will never drop
|
||||
* <li>A drop chance of 1.0F will always drop
|
||||
@@ -261,7 +261,7 @@ public interface EntityEquipment {
|
||||
/**
|
||||
* Sets the chance of the chest plate being dropped upon this creature's
|
||||
* death.
|
||||
*
|
||||
*
|
||||
* <ul>
|
||||
* <li>A drop chance of 0.0F will never drop
|
||||
* <li>A drop chance of 1.0F will always drop
|
||||
@@ -275,7 +275,7 @@ public interface EntityEquipment {
|
||||
/**
|
||||
* Gets the chance of the leggings being dropped upon this creature's
|
||||
* death.
|
||||
*
|
||||
*
|
||||
* <ul>
|
||||
* <li>A drop chance of 0.0F will never drop
|
||||
* <li>A drop chance of 1.0F will always drop
|
||||
@@ -288,7 +288,7 @@ public interface EntityEquipment {
|
||||
/**
|
||||
* Sets the chance of the leggings being dropped upon this creature's
|
||||
* death.
|
||||
*
|
||||
*
|
||||
* <ul>
|
||||
* <li>A drop chance of 0.0F will never drop
|
||||
* <li>A drop chance of 1.0F will always drop
|
||||
@@ -301,7 +301,7 @@ public interface EntityEquipment {
|
||||
|
||||
/**
|
||||
* Gets the chance of the boots being dropped upon this creature's death.
|
||||
*
|
||||
*
|
||||
* <ul>
|
||||
* <li>A drop chance of 0.0F will never drop
|
||||
* <li>A drop chance of 1.0F will always drop
|
||||
@@ -313,7 +313,7 @@ public interface EntityEquipment {
|
||||
|
||||
/**
|
||||
* Sets the chance of the boots being dropped upon this creature's death.
|
||||
*
|
||||
*
|
||||
* <ul>
|
||||
* <li>A drop chance of 0.0F will never drop
|
||||
* <li>A drop chance of 1.0F will always drop
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
* as it should.
|
||||
*/
|
||||
public abstract class InventoryView {
|
||||
public final static int OUTSIDE = -999;
|
||||
public static final int OUTSIDE = -999;
|
||||
/**
|
||||
* Represents various extra properties of certain inventory windows.
|
||||
*/
|
||||
|
||||
@@ -9,7 +9,7 @@ public interface BlockStateMeta extends ItemMeta {
|
||||
/**
|
||||
* Returns whether the item has a block state currently
|
||||
* attached to it.
|
||||
*
|
||||
*
|
||||
* @return whether a block state is already attached
|
||||
*/
|
||||
boolean hasBlockState();
|
||||
|
||||
@@ -86,14 +86,14 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable {
|
||||
* <p>
|
||||
* Plugins should check if hasLore() returns <code>true</code> before
|
||||
* calling this method.
|
||||
*
|
||||
*
|
||||
* @return a list of lore that is set
|
||||
*/
|
||||
@Nullable
|
||||
List<String> getLore();
|
||||
|
||||
/**
|
||||
* Sets the lore for this item.
|
||||
* Sets the lore for this item.
|
||||
* Removes lore when given null.
|
||||
*
|
||||
* @param lore the lore that will be set
|
||||
@@ -157,7 +157,7 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable {
|
||||
int getEnchantLevel(@NotNull Enchantment ench);
|
||||
|
||||
/**
|
||||
* Returns a copy the enchantments in this ItemMeta. <br>
|
||||
* Returns a copy the enchantments in this ItemMeta. <br>
|
||||
* Returns an empty map if none.
|
||||
*
|
||||
* @return An immutable copy of the enchantments
|
||||
|
||||
Reference in New Issue
Block a user