Flattened 1.16.0

This commit is contained in:
DaanV2
2021-10-08 12:54:09 +02:00
parent 1358630537
commit 1dfd97d95d
185 changed files with 1275 additions and 5992 deletions

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.interact",
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.interact",
"type": "object",
"title": "Interact 1.13.0",
"title": "Interact 1.16.0",
"description": "Defines interactions with this entity.",
"additionalProperties": false,
"definitions": {
@@ -11,7 +11,16 @@
"add_items": {
"type": "object",
"description": "Loot table with items to add to the player's inventory upon successful interaction.",
"title": "Add Items"
"title": "Add Items",
"additionalProperties": false,
"properties": {
"table": {
"type": "string",
"$ref": "../../../../general/loot_table/identifier.json",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "Table"
}
}
},
"cooldown": {
"type": "number",
@@ -66,10 +75,11 @@
"type": "object",
"description": "Loot table with items to drop on the ground upon successful interaction.",
"title": "Spawn Items",
"additionalProperties": false,
"properties": {
"table": {
"type": "string",
"default": "",
"$ref": "../../../../general/loot_table/identifier.json",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "Table"
}
@@ -83,9 +93,8 @@
},
"transform_to_item": {
"type": "string",
"default": "",
"description": "The item used will transform to this item upon successful interaction. Format: itemName:auxValue",
"title": "Transform To Item"
"title": "Transform To Item",
"description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"
},
"use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item.", "title": "Use Item" }
}
@@ -93,8 +102,8 @@
},
"properties": {
"interactions": {
"description": "The interactions",
"title": "Interactions",
"description": "The interactions that are defined",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/interaction_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/interaction_spec" } }