diff options
author | md_5 <git@md-5.net> | 2017-02-20 09:12:18 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-02-20 09:12:18 +1100 |
commit | 100b7da77c3a10766a5a5f17cb20eb2d608ca2ac (patch) | |
tree | 719315b0a3844bc7d1f58dba208a1a15d1469b02 | |
parent | c0827f5df70b84ed701663598a2c4accc4bbf075 (diff) | |
download | bukkit-100b7da77c3a10766a5a5f17cb20eb2d608ca2ac.tar bukkit-100b7da77c3a10766a5a5f17cb20eb2d608ca2ac.tar.gz bukkit-100b7da77c3a10766a5a5f17cb20eb2d608ca2ac.tar.lz bukkit-100b7da77c3a10766a5a5f17cb20eb2d608ca2ac.tar.xz bukkit-100b7da77c3a10766a5a5f17cb20eb2d608ca2ac.zip |
SPIGOT-3076: Make dropChance values clearer
-rw-r--r-- | src/main/java/org/bukkit/inventory/EntityEquipment.java | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/main/java/org/bukkit/inventory/EntityEquipment.java b/src/main/java/org/bukkit/inventory/EntityEquipment.java index da1eb4ec..aee8163c 100644 --- a/src/main/java/org/bukkit/inventory/EntityEquipment.java +++ b/src/main/java/org/bukkit/inventory/EntityEquipment.java @@ -161,8 +161,8 @@ public interface EntityEquipment { * death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @return chance of the currently held item being dropped (1 for players) @@ -174,8 +174,8 @@ public interface EntityEquipment { * main hand being dropped upon this creature's death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @param chance the chance of the main hand item being dropped @@ -188,8 +188,8 @@ public interface EntityEquipment { * death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @return chance of the off hand item being dropped (1 for players) @@ -201,8 +201,8 @@ public interface EntityEquipment { * death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @param chance the chance of off hand item being dropped @@ -214,8 +214,8 @@ public interface EntityEquipment { * Gets the chance of the helmet being dropped upon this creature's death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @return the chance of the helmet being dropped (1 for players) @@ -226,8 +226,8 @@ public interface EntityEquipment { * Sets the chance of the helmet being dropped upon this creature's death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @param chance of the helmet being dropped @@ -240,8 +240,8 @@ public interface EntityEquipment { * death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @return the chance of the chest plate being dropped (1 for players) @@ -253,8 +253,8 @@ public interface EntityEquipment { * death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @param chance of the chest plate being dropped @@ -267,8 +267,8 @@ public interface EntityEquipment { * death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @return the chance of the leggings being dropped (1 for players) @@ -280,8 +280,8 @@ public interface EntityEquipment { * death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @param chance chance of the leggings being dropped @@ -293,8 +293,8 @@ public interface EntityEquipment { * Gets the chance of the boots being dropped upon this creature's death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @return the chance of the boots being dropped (1 for players) @@ -305,8 +305,8 @@ public interface EntityEquipment { * Sets the chance of the boots being dropped upon this creature's death. * * <ul> - * <li>A drop chance of 0F will never drop - * <li>A drop chance of 1F will always drop + * <li>A drop chance of 0.0F will never drop + * <li>A drop chance of 1.0F will always drop * </ul> * * @param chance of the boots being dropped |