Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:10:42 +02:00
parent f188cfa6ee
commit 67ccb3d2d1
134 changed files with 2414 additions and 385 deletions

View File

@@ -4,7 +4,6 @@
"description": "Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior).",
"title": "Spawn Entity",
"additionalProperties": false,
"definitions": {
"entity_spawn": {
"additionalProperties": false,
@@ -57,8 +56,18 @@
"description": "Event to call when the entity is spawned.",
"title": "Spawn Event"
},
"spawn_item": { "type": "string", "default": "egg", "description": "Item identifier of the item to spawn.", "title": "Spawn Item" },
"spawn_method": { "type": "string", "default": "born", "description": "Method to use to spawn the entity.", "title": "Spawn Method" },
"spawn_item": {
"type": "string",
"default": "egg",
"description": "Item identifier of the item to spawn.",
"title": "Spawn Item"
},
"spawn_method": {
"type": "string",
"default": "born",
"description": "Method to use to spawn the entity.",
"title": "Spawn Method"
},
"spawn_sound": {
"type": "string",
"default": "plop",
@@ -74,8 +83,16 @@
"description": "The entities to spawn",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/entity_spawn" },
{ "type": "array", "items": { "$ref": "#/definitions/entity_spawn" } }
{
"type": "object",
"$ref": "#/definitions/entity_spawn"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/entity_spawn"
}
}
]
}
}