mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
@@ -448,11 +448,11 @@ public interface Block extends Metadatable {
|
|||||||
* into account tools, potion effects, whether or not the player is in
|
* into account tools, potion effects, whether or not the player is in
|
||||||
* water, enchantments, etc.
|
* water, enchantments, etc.
|
||||||
*
|
*
|
||||||
* The returned value is the amount of progress made in breaking the block.
|
* The returned value is the amount of progress made in breaking the block
|
||||||
* When the total breaking progress reaches {@code 1.0f}, the block is
|
* each tick. When the total breaking progress reaches {@code 1.0f}, the
|
||||||
* broken. Note that the break speed can change in the course of breaking a
|
* block is broken. Note that the break speed can change in the course of
|
||||||
* block, e.g. if a potion effect is applied or expires, or the player
|
* breaking a block, e.g. if a potion effect is applied or expires, or the
|
||||||
* jumps/enters water.
|
* player jumps/enters water.
|
||||||
*
|
*
|
||||||
* @param player player breaking the block
|
* @param player player breaking the block
|
||||||
* @return the speed at which the player breaks this block
|
* @return the speed at which the player breaks this block
|
||||||
|
Reference in New Issue
Block a user