Make durability work like sunlit valley
This commit is contained in:
@@ -157,7 +157,8 @@ export interface ToolProperties {
|
||||
tier: number;
|
||||
// how many times faster than a hand it breaks blocks of its type
|
||||
speed: number;
|
||||
// how much use it can take. nothing uses it up yet
|
||||
// how many deaths it lasts: each one takes 1 off every tool the player carried. what's used up is the stack's
|
||||
// data.damage, see ItemStack.durability
|
||||
durability: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user