Class Breakable
-
- All Implemented Interfaces:
public final class Breakable
-
-
Method Summary
Modifier and Type Method Description final Double
getHardness()
final Unit
setHardness(Double hardness)
final Drop
getDrop()
final Unit
setDrop(Drop drop)
final Integer
breakTime(Player player)
Calculates the time it should take for a Player to break this CustomBlock / Furniture final Double
speedMultiplier(Player player)
-
-
Method Detail
-
getHardness
final Double getHardness()
-
setHardness
final Unit setHardness(Double hardness)
-
breakTime
final Integer breakTime(Player player)
Calculates the time it should take for a Player to break this CustomBlock / Furniture
- Parameters:
player
- The Player breaking the block- Returns:
Time in ticks it takes for player to break this block / furniture
-
speedMultiplier
final Double speedMultiplier(Player player)
-
-
-
-