Added documentation for spawnrules

This commit is contained in:
DaanV2
2021-04-23 13:23:02 +02:00
parent 8d33845d05
commit 8f1663b45b
8 changed files with 36 additions and 20 deletions

View File

@@ -6,8 +6,13 @@
"title": "Brightness Filter 1.11.0", "title": "Brightness Filter 1.11.0",
"description": "TODO", "description": "TODO",
"properties": { "properties": {
"min": { "type": "integer", "description": "TODO", "title": "Min" }, "min": { "type": "integer", "description": "This is the minimum light level value that allows the mob to spawn", "title": "Min" },
"max": { "type": "integer", "description": "TODO", "title": "Max" }, "max": { "type": "integer", "description": "This is the maximum light level value that allows the mob to spawn", "title": "Max" },
"adjust_for_weather": { "type": "boolean", "description": "TODO", "title": "Max", "default": true } "adjust_for_weather": {
"type": "boolean",
"description": "This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)",
"title": "Adjust for weather",
"default": true
}
} }
} }

View File

@@ -5,5 +5,8 @@
"type": "object", "type": "object",
"title": "Density Limit 1.11.0", "title": "Density Limit 1.11.0",
"description": "TODO", "description": "TODO",
"properties": { "surface": { "type": "integer", "description": "TODO", "title": "Surface" }, "underground": { "type": "integer", "description": "TODO", "title": "Underground" } } "properties": {
"surface": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable on the surface", "title": "Surface" },
"underground": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable underground", "title": "Underground" }
}
} }

View File

@@ -7,7 +7,7 @@
"description": "TODO", "description": "TODO",
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } }, "definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
"properties": { "properties": {
"min": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Min" }, "min": { "$ref": "#/definitions/difficulty", "description": "This is the minimum difficulty level that a mob spawns", "title": "Min" },
"max": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Max" } "max": { "$ref": "#/definitions/difficulty", "description": "This is the maximum difficulty level that a mob spawns", "title": "Max" }
} }
} }

View File

@@ -12,10 +12,10 @@
"properties": { "properties": {
"initial_event": { "title": "Initial Event", "description": "UNDOCUMENATED", "type": "string" }, "initial_event": { "title": "Initial Event", "description": "UNDOCUMENATED", "type": "string" },
"initial_event_count": { "title": "Initial Event Count", "description": "UNDOCUMENATED", "type": "integer" }, "initial_event_count": { "title": "Initial Event Count", "description": "UNDOCUMENATED", "type": "integer" },
"min_size": { "type": "integer", "description": "TODO", "title": "Min Size" }, "min_size": { "type": "integer", "description": "This is the minimum number of mobs that spawn in a herd", "title": "Min Size" },
"max_size": { "type": "integer", "description": "TODO", "title": "Max Size" }, "max_size": { "type": "integer", "description": "This is the maximum number of mobs that spawn in a herd", "title": "Max Size" },
"event": { "type": "string", "description": "TODO", "title": "Event" }, "event": { "type": "string", "description": "This is an event that can be triggered from spawning", "title": "Event" },
"event_skip_count": { "type": "integer", "description": "TODO", "title": "Event Skip Count" } "event_skip_count": { "type": "integer", "description": "This is the number of mobs spawned before the specified event is triggered", "title": "Event Skip Count" }
} }
} }
}, },

View File

@@ -6,8 +6,13 @@
"title": "Brightness Filter 1.8.0", "title": "Brightness Filter 1.8.0",
"description": "TODO", "description": "TODO",
"properties": { "properties": {
"min": { "type": "integer", "description": "TODO", "title": "Min" }, "min": { "type": "integer", "description": "This is the minimum light level value that allows the mob to spawn", "title": "Min" },
"max": { "type": "integer", "description": "TODO", "title": "Max" }, "max": { "type": "integer", "description": "This is the maximum light level value that allows the mob to spawn", "title": "Max" },
"adjust_for_weather": { "type": "boolean", "description": "TODO", "title": "Max", "default": true } "adjust_for_weather": {
"type": "boolean",
"description": "This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)",
"title": "Adjust for weather",
"default": true
}
} }
} }

View File

@@ -5,5 +5,8 @@
"type": "object", "type": "object",
"title": "Density Limit 1.8.0", "title": "Density Limit 1.8.0",
"description": "TODO", "description": "TODO",
"properties": { "surface": { "type": "integer", "description": "TODO", "title": "Surface" }, "underground": { "type": "integer", "description": "TODO", "title": "Underground" } } "properties": {
"surface": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable on the surface", "title": "Surface" },
"underground": { "type": "integer", "description": "This is the maximum number of mobs of this type spawnable underground", "title": "Underground" }
}
} }

View File

@@ -7,7 +7,7 @@
"description": "TODO", "description": "TODO",
"definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } }, "definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
"properties": { "properties": {
"min": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Min" }, "min": { "$ref": "#/definitions/difficulty", "description": "This is the minimum difficulty level that a mob spawns", "title": "Min" },
"max": { "$ref": "#/definitions/difficulty", "description": "TODO", "title": "Max" } "max": { "$ref": "#/definitions/difficulty", "description": "This is the maximum difficulty level that a mob spawns", "title": "Max" }
} }
} }

View File

@@ -10,10 +10,10 @@
"description": "Herd", "description": "Herd",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"min_size": { "type": "integer", "description": "TODO", "title": "Min Size" }, "min_size": { "type": "integer", "description": "This is the minimum number of mobs that spawn in a herd", "title": "Min Size" },
"max_size": { "type": "integer", "description": "TODO", "title": "Max Size" }, "max_size": { "type": "integer", "description": "This is the maximum number of mobs that spawn in a herd", "title": "Max Size" },
"event": { "type": "string", "description": "TODO", "title": "Event" }, "event": { "type": "string", "description": "This is an event that can be triggered from spawning", "title": "Event" },
"event_skip_count": { "type": "integer", "description": "TODO", "title": "Event Skip Count" } "event_skip_count": { "type": "integer", "description": "This is the number of mobs spawned before the specified event is triggered", "title": "Event Skip Count" }
} }
} }
}, },