Updating to documentation

This commit is contained in:
DaanV2
2021-09-21 23:06:44 +02:00
parent bbb56faa79
commit 7a8f9c81a7
2 changed files with 3 additions and 3 deletions

View File

@@ -7,14 +7,14 @@
"properties": { "properties": {
"on_bred": { "on_bred": {
"default": 0, "default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.", "description": "A Molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.",
"title": "On Bred", "title": "On Bred",
"$ref": "../../../../molang/number.json" "$ref": "../../../../molang/number.json"
}, },
"on_death": { "on_death": {
"type": "string", "type": "string",
"default": 0, "default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.", "description": "A Molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.",
"title": "On Death", "title": "On Death",
"$ref": "../../../../molang/number.json" "$ref": "../../../../molang/number.json"
} }

View File

@@ -76,7 +76,7 @@
}, },
"offset": { "offset": {
"$ref": "../../../../general/array_3_number.json", "$ref": "../../../../general/array_3_number.json",
"default": [0.0, 0.5, 0.0], "default": [0.0, 0.0, 0.0],
"description": "The offset from the entity's anchor where the projectile will spawn", "description": "The offset from the entity's anchor where the projectile will spawn",
"title": "Offset" "title": "Offset"
}, },