This commit is contained in:
DaanV2
2021-07-19 15:01:58 +02:00
parent f544b1603a
commit 25dd9e2c33
4 changed files with 20 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
"additionalProperties": false,
"description": "Defines the families this entity belongs to.",
"required": ["family"],
"examples": [{ "family": ["monster"] }, { "family": ["mob"] }, { "family": ["animal"] }, { "family": ["npc"] }],
"properties": {
"family": {
"type": "array",

View File

@@ -0,0 +1,7 @@
{
"$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:use_animation",
"title": "Use Animation",
"description": "Wearable item component.",
"type": "string",
"additionalProperties": false
}

View File

@@ -65,6 +65,12 @@
"minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" },
"minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" },
"minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" },
"minecraft:max_stack_size": { "type": "integer", "title": "Max Stack Size", "description": "Maximum stack size.", "minimum": 0 },
"minecraft:use_duration": {
"type": "integer",
"title": "Use Duration",
"description": "How long to use before item is done being used."
},
"minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" },
"minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" },
"minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" },
@@ -72,7 +78,6 @@
"minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" },
"minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" },
"minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" },
"minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." }
}
},

View File

@@ -62,6 +62,12 @@
"minecraft:fuel": { "$ref": "./components/minecraft.fuel.json" },
"minecraft:icon": { "$ref": "./components/minecraft.icon.json" },
"minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" },
"minecraft:max_stack_size": { "type": "integer", "title": "Max Stack Size", "description": "Maximum stack size.", "minimum": 0 },
"minecraft:use_duration": {
"type": "integer",
"title": "Use Duration",
"description": "How long to use before item is done being used."
},
"minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" },
"minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" },
"minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" },