Updates documentation in EntityEquipment.java (#9992)

* Updates documentation in EntityEquopment.java to reflect behavior mentioned in issue #9867

* rebase and squash patches

---------

Co-authored-by: schwaa96 <schwaa96@mi.fu-berlin.de>
This commit is contained in:
waterlily1
2023-12-02 21:29:47 +01:00
parent 94c1e68205
commit e2a873f205
2 changed files with 124 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ *
+ * <ul>
+ * <li>A drop chance of 0.0F will never drop
+ * <li>A drop chance of 1.0F will always drop
+ * <li>A drop chance of 1.0F will always drop if killed by a player
+ * <li>A drop chance of greater than 1.0F will always drop if killed by anything
+ * </ul>
+ *
+ * @param slot the slot to get the drop chance of
@@ -31,7 +32,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ *
+ * <ul>
+ * <li>A drop chance of 0.0F will never drop
+ * <li>A drop chance of 1.0F will always drop
+ * <li>A drop chance of 1.0F will always drop if killed by a player
+ * <li>A drop chance of greater than 1.0F will always drop if killed by anything
+ * </ul>
+ *
+ * @param slot the slot to set the drop chance of