Refactor
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:durability",
|
||||
"title": "Durability",
|
||||
"description": "Durability item component: how much damage can this item take before breaking.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["damage_chance"],
|
||||
"properties": {
|
||||
"damage_chance": {
|
||||
"type": "object",
|
||||
"title": "Damange Chance",
|
||||
"description": "Damange chance",
|
||||
"additionalProperties": false,
|
||||
"required": ["min", "max"],
|
||||
"properties": { "min": { "title": "Min", "type": "integer", "description": "The minimum" }, "max": { "title": "Max", "type": "integer", "description": "The minimum" } }
|
||||
},
|
||||
"max_durability": { "title": "Max Durability", "description": "Max durability is the amount of damage that this item can take before breaking.", "type": "number" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user