This commit is contained in:
DaanV2
2021-10-08 14:02:52 +02:00
parent 9e2badace5
commit 0b5cfa8ed5
2 changed files with 6 additions and 6 deletions

View File

@@ -8,29 +8,29 @@
"dried_out_event": { "dried_out_event": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "Event to fire when the drying out time runs out.", "description": "Event to fire when the drying out time runs out.",
"title": "dried out event" "title": "Dried Out Event"
}, },
"recover_after_dried_out_event": { "recover_after_dried_out_event": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "Event to fire when entity was already dried out but received increase in water supply.", "description": "Event to fire when entity was already dried out but received increase in water supply.",
"title": "recover after dried out event" "title": "Recover After Dried Out Event"
}, },
"stopped_drying_out_event": { "stopped_drying_out_event": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "Event to fire when entity stopped drying out, for example got into water or under rain.", "description": "Event to fire when entity stopped drying out, for example got into water or under rain.",
"title": "stopped drying out event" "title": "Stopped Drying Out Event"
}, },
"total_time": { "total_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Amount of time in seconds to dry out fully.", "description": "Amount of time in seconds to dry out fully.",
"title": "total time" "title": "Total Time"
}, },
"water_bottle_refill_time": { "water_bottle_refill_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Optional amount of additional time in seconds given by using splash water bottle on entity.", "description": "Optional amount of additional time in seconds given by using splash water bottle on entity.",
"title": "water bottle refill time" "title": "Water Bottle Refill Time"
} }
} }
} }

View File

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