@@ -41,7 +41,7 @@ public interface CooldownTracker {
4141 * Checks if the specified {@link ItemType} is currently on cooldown
4242 * for the player.
4343 *
44- * @param type The item type to check is on cooldown
44+ * @param stack The item type to check is on cooldown
4545 * @return Whether or not the specified item type is cooldown
4646 */
4747 boolean hasCooldown (ItemStack stack );
@@ -51,7 +51,7 @@ public interface CooldownTracker {
5151 * Gets the cooldown of the specified {@link ItemType} in ticks for the
5252 * player, or empty if the the item type is currently not on cooldown.
5353 *
54- * @param type The item type to get the cooldown for
54+ * @param stack The item type to get the cooldown for
5555 * @return The cooldown remaining for this item type in ticks, if not
5656 * on cooldown
5757 */
@@ -62,7 +62,7 @@ public interface CooldownTracker {
6262 * Sets the cooldown for the specified {@link ItemType} for the
6363 * specified amount of ticks.
6464 *
65- * @param type The item type to set the cooldown for
65+ * @param stack The item type to set the cooldown for
6666 * @param ticks The amount of ticks to set the item type on cooldown for
6767 * @return False if setting the cooldown failed, possibly due to the event
6868 * being cancelled
@@ -74,7 +74,7 @@ public interface CooldownTracker {
7474 * Resets the cooldown of the specified {@link ItemType} for the
7575 * player.
7676 *
77- * @param type The item type to reset the cooldown for
77+ * @param stack The item type to reset the cooldown for
7878 * @return False if setting the cooldown failed, possibly due to the event
7979 * being cancelled
8080 */
@@ -88,7 +88,7 @@ public interface CooldownTracker {
8888 *
8989 * <p>If present, this value will be between 0.0 and 1.0.</p>
9090 *
91- * @param type The item type to get the cooldown fraction remaining
91+ * @param stack The item type to get the cooldown fraction remaining
9292 * @return The fraction of cooldown remaining for the specified item type
9393 */
9494 OptionalDouble fractionRemaining (ItemStack stack );
0 commit comments