Updated titles

This commit is contained in:
DaanV2
2021-05-26 01:27:39 +02:00
parent a98fbfbaa8
commit 109b31d31a
10 changed files with 23 additions and 23 deletions

View File

@@ -111,7 +111,7 @@
"on_entry": { "on_entry": {
"type": "array", "type": "array",
"description": "Events, commands or transitions to preform", "description": "Events, commands or transitions to preform",
"title": "On entry", "title": "On Entry",
"items": { "items": {
"$ref": "#/definitions/commands" "$ref": "#/definitions/commands"
} }
@@ -119,7 +119,7 @@
"on_exit": { "on_exit": {
"type": "array", "type": "array",
"description": "Events, commands or transitions to preform", "description": "Events, commands or transitions to preform",
"title": "On exit", "title": "On Exit",
"items": { "items": {
"$ref": "#/definitions/commands" "$ref": "#/definitions/commands"
} }

View File

@@ -20,7 +20,7 @@
"required": ["effect"], "required": ["effect"],
"properties": { "properties": {
"bind_to_actor": { "bind_to_actor": {
"title": "Bind to actor", "title": "Bind To Actor",
"type": "boolean", "type": "boolean",
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).",
"const": false "const": false
@@ -30,7 +30,7 @@
"pre_effect_script": { "pre_effect_script": {
"type": "string", "type": "string",
"description": "A molang script that will be run when the particle emitter is initialized", "description": "A molang script that will be run when the particle emitter is initialized",
"title": "Pre effect script" "title": "Pre Effect Script"
} }
} }
}, },

View File

@@ -20,7 +20,7 @@
"required": ["effect"], "required": ["effect"],
"properties": { "properties": {
"bind_to_actor": { "bind_to_actor": {
"title": "Bind to actor", "title": "Bind To Actor",
"type": "boolean", "type": "boolean",
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).",
"const": false "const": false
@@ -30,7 +30,7 @@
"pre_effect_script": { "pre_effect_script": {
"type": "string", "type": "string",
"description": "A molang script that will be run when the particle emitter is initialized", "description": "A molang script that will be run when the particle emitter is initialized",
"title": "Pre effect script" "title": "Pre Effect Script"
} }
} }
}, },

View File

@@ -28,7 +28,7 @@
"type": "array", "type": "array",
"items": { "items": {
"type": ["string"], "type": ["string"],
"title": "Spell effect id", "title": "Spell Effect ID",
"description": "identifier of the effect to be removed from this entity after adding this component" "description": "identifier of the effect to be removed from this entity after adding this component"
} }
}, },

View File

@@ -11,12 +11,12 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"first_person": { "first_person": {
"title": "First person", "title": "First Person",
"description": "", "description": "",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
}, },
"thrid_person": { "thrid_person": {
"title": "Thrid person", "title": "Thrid Person",
"description": "", "description": "",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
} }

View File

@@ -12,12 +12,12 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"first_person": { "first_person": {
"title": "First person", "title": "First Person",
"description": "", "description": "",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
}, },
"thrid_person": { "thrid_person": {
"title": "Thrid person", "title": "Thrid Person",
"description": "", "description": "",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
} }

View File

@@ -75,18 +75,18 @@
"particle_emitters": { "particle_emitters": {
"type": "object", "type": "object",
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle emitter" }, "additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle Emitter" },
"description": "A collection of particle emitters definitions", "description": "A collection of particle emitters definitions",
"title": "Particle Emitters" "title": "Particle Emitters"
}, },
"render_controllers": { "render_controllers": {
"type": "array", "type": "array",
"description": "A collection of Render controller definitions", "description": "A collection of Render controller definitions",
"title": "Render controllers", "title": "Render Controllers",
"minItems": 1, "minItems": 1,
"items": { "items": {
"oneOf": [ "oneOf": [
{ "type": "string", "title": "Render controller", "description": "A single render controller definition" }, { "type": "string", "title": "Render Controller", "description": "A single render controller definition" },
{ {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
@@ -121,7 +121,7 @@
"additionalProperties": { "additionalProperties": {
"oneOf": [ "oneOf": [
{ "type": "string", "description": "A molang condition", "title": "Molang" }, { "type": "string", "description": "A molang condition", "title": "Molang" },
{ "type": "number", "description": "Blend weight", "title": "Blend weight" } { "type": "number", "description": "Blend weight", "title": "Blend Weight" }
] ]
} }
} }
@@ -196,7 +196,7 @@
"description": "A collection of sound effect definition", "description": "A collection of sound effect definition",
"type": "object", "type": "object",
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound effect" } "additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound Effect" }
}, },
"spawn_egg": { "spawn_egg": {
"additionalProperties": false, "additionalProperties": false,

View File

@@ -92,18 +92,18 @@
"particle_emitters": { "particle_emitters": {
"type": "object", "type": "object",
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle emitter" }, "additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle Emitter" },
"description": "A collection of particle emitters definitions", "description": "A collection of particle emitters definitions",
"title": "Particle Emitters" "title": "Particle Emitters"
}, },
"render_controllers": { "render_controllers": {
"type": "array", "type": "array",
"description": "A collection of Render controller definitions", "description": "A collection of Render controller definitions",
"title": "Render controllers", "title": "Render Controllers",
"minItems": 1, "minItems": 1,
"items": { "items": {
"oneOf": [ "oneOf": [
{ "type": "string", "title": "Render controller", "description": "A single render controller definition" }, { "type": "string", "title": "Render Controller", "description": "A single render controller definition" },
{ {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
@@ -154,7 +154,7 @@
"description": "A collection of sound effect definition", "description": "A collection of sound effect definition",
"type": "object", "type": "object",
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound effect" } "additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound Effect" }
}, },
"spawn_egg": { "spawn_egg": {
"additionalProperties": false, "additionalProperties": false,

View File

@@ -34,7 +34,7 @@
"flipbook_texture": { "flipbook_texture": {
"description": "A texture file", "description": "A texture file",
"pattern": "^textures/.+$", "pattern": "^textures/.+$",
"title": "Flipbook texture", "title": "Flipbook Texture",
"type": "string" "type": "string"
}, },
"frames": { "frames": {
@@ -55,7 +55,7 @@
}, },
"ticks_per_frame": { "ticks_per_frame": {
"description": "The amount of ticks to wait between frames", "description": "The amount of ticks to wait between frames",
"title": "Ticks per frame", "title": "Ticks Per Frame",
"type": "integer" "type": "integer"
} }
} }

View File

@@ -53,7 +53,7 @@
"textures": { "textures": {
"oneOf": [ "oneOf": [
{ "$ref": "#/definitions/texture" }, { "$ref": "#/definitions/texture" },
{ "description": "A collection of textures", "title": "Texture data", "type": "array", "items": { "$ref": "#/definitions/texture" } } { "description": "A collection of textures", "title": "Texture Data", "type": "array", "items": { "$ref": "#/definitions/texture" } }
] ]
} }
} }