Updated titles

This commit is contained in:
DaanV2
2021-07-01 16:32:59 +02:00
parent 0b1527e81a
commit bd92fde1b8
30 changed files with 132 additions and 124 deletions

View File

@@ -12,7 +12,7 @@
"type": "boolean",
"default": false,
"description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob",
"title": "TODO Title"
"title": "Can Get Scared"
},
"can_tempt_while_ridden": {
"type": "boolean",
@@ -23,14 +23,14 @@
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
"items": { "$ref": "../../../../general/item/identifier.json" },
"title": "TODO Title"
"items": { "$ref": "../../../../general/item/identifier.json", "title": "Item" },
"title": "Items"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
"title": "TODO Title"
"title": "Within Radius"
}
}
}

View File

@@ -10,7 +10,7 @@
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entities this mob can copy the owner from.",
"title": "TODO Title"
"title": "Entity Types"
}
}
}

View File

@@ -10,7 +10,7 @@
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entities this mob can copy the owner from.",
"title": "TODO Title"
"title": "Entity Types"
}
}
}

View File

@@ -10,7 +10,7 @@
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types the wither takes into account to find who dealt the most damage to it",
"title": "TODO Title"
"title": "Entity Types"
}
}
}

View File

@@ -2,6 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.work",
"type": "object",
"title": "Work 1.8.0",
"description": "Allows an entity to navigate and interact with a point of interest that has been assigned as their worksite.",
"additionalProperties": false,
"required": [],
"properties": {
@@ -11,34 +12,42 @@
"type": "integer",
"default": 0,
"description": "The amount of ticks the NPC will stay in their the work location",
"title": "TODO Title"
"title": "Active Time"
},
"can_work_in_rain": {
"type": "boolean",
"default": false,
"description": "If true, this entity can work when their jobsite POI is being rained on.",
"title": "TODO Title"
"title": "Can Work In Rain"
},
"goal_cooldown": {
"type": "integer",
"default": 0,
"description": "The amount of ticks the goal will be on cooldown before it can be used again",
"title": "TODO Title"
"title": "Goal Cooldown"
},
"on_arrival": {
"$ref": "../types/event.json",
"description": "Event to run when the mob reaches their jobsite and finishes working.",
"title": "TODO Title"
"title": "On Arrival"
},
"sound_delay_max": {
"type": "integer",
"default": 0,
"description": "The max interval in which a sound will play",
"title": "Sound Delay Maximum"
},
"sound_delay_min": {
"type": "integer",
"default": 0,
"description": "The min interval in which a sound will play",
"title": "Sound Delay Minimum"
},
"sound_delay_max": { "type": "integer", "default": 0, "description": "The max interval in which a sound will play", "title": "TODO Title" },
"sound_delay_min": { "type": "integer", "default": 0, "description": "The min interval in which a sound will play", "title": "TODO Title" },
"work_in_rain_tolerance": {
"type": "integer",
"default": -1,
"description": "If `can_work_in_rain` is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal",
"title": "TODO Title"
"title": "Work In Rain Tolerance"
}
},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -14,7 +14,11 @@
},
"feedItems": {
"description": "List of items that can be fed to the entity. Includes `item` for the item name and `growth` to define how much time it grows up by",
"title": "Feed Items",
"type": "array",
"items": {
"title": "Feed Items",
"description": "UNDOCUMENTATED: feedItems",
"oneOf": [
{
"type": "object",
@@ -29,11 +33,8 @@
}
},
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
],
"description": "UNDOCUMENTATED: feedItems",
"title": "Feed Items"
},
"title": "Feed Items"
]
}
},
"drop_items": {
"type": "array",
@@ -43,11 +44,11 @@
},
"grow_up": {
"description": "Event to run when this entity grows up",
"title": "Grow Up",
"oneOf": [
{ "type": "string" },
{ "type": "object", "properties": { "event": { "type": "string" }, "target": { "$ref": "../../filters/filters/types/subject.json" } } }
],
"title": "TODO Title"
]
}
}
}

View File

@@ -10,19 +10,19 @@
"type": "string",
"default": "ambient",
"description": "Level sound event to be played as the ambient sound.",
"title": "TODO Title"
"title": "Event Name"
},
"max": {
"type": "number",
"default": 16,
"description": "Maximum time in seconds to randomly add to the ambient sound delay time.",
"title": "TODO Title"
"title": "Maximum"
},
"min": {
"type": "number",
"default": 8,
"description": "Minimum time in seconds before the entity plays its ambient sound again",
"title": "TODO Title"
"title": "Minimum"
}
}
}

View File

@@ -5,13 +5,14 @@
"type": "object",
"title": "Annotation.break Door 1.8.0",
"required": [],
"$comment": "Caution No longe rin use",
"properties": {
"break_time": { "type": "number", "default": 12, "description": "The time in seconds required to break through doors.", "title": "TODO Title" },
"break_time": { "type": "number", "default": 12, "description": "The time in seconds required to break through doors.", "title": "Break Time" },
"min_difficulty": {
"type": "string",
"default": "hard",
"description": "The minimum difficulty that the world must be on for this entity to break doors.",
"title": "TODO Title"
"title": "Minimum Difficulty"
}
}
}

View File

@@ -6,15 +6,18 @@
"description": "Defines the conditions and behavior of a rideable entity's boost",
"required": [],
"properties": {
"duration": { "type": "number", "default": 3, "description": "Time in seconds for the boost", "title": "TODO Title" },
"duration": { "type": "number", "default": 3, "description": "Time in seconds for the boost", "title": "Duration" },
"speed_multiplier": {
"type": "number",
"default": 1,
"description": "Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast",
"title": "TODO Title"
"title": "Speed Multiplier"
},
"boost_items": {
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Boost Items",
"items": {
"type": "object",
"description": "List of items that can be used to boost while riding this entity.",
@@ -31,10 +34,7 @@
"description": "The item used to boost will become this item once it is used up"
}
}
},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO Title"
}
}
}
}

View File

@@ -6,65 +6,35 @@
"description": "Defines what blocks this entity can breathe in and gives them the ability to suffocate.",
"required": [],
"properties": {
"totalSupply": { "type": "integer", "default": 15, "description": "Time in seconds the entity can hold its breath", "title": "TODO Title" },
"total_supply": { "type": "integer", "default": 15, "description": "Time in seconds the entity can hold its breath", "title": "TODO Title" },
"suffocateTime": { "type": "integer", "default": -20, "description": "Time in seconds between suffocation damage", "title": "TODO Title" },
"suffocate_time": { "type": "integer", "default": -20, "description": "Time in seconds between suffocation damage", "title": "TODO Title" },
"inhaleTime": { "type": "number", "default": 0, "description": "Time in seconds to recover breath to maximum", "title": "TODO Title" },
"inhale_time": { "type": "number", "default": 0, "description": "Time in seconds to recover breath to maximum", "title": "TODO Title" },
"breathesAir": { "type": "boolean", "default": true, "description": "If true, this entity can breathe in air", "title": "TODO Title" },
"breathes_air": { "type": "boolean", "default": true, "description": "If true, this entity can breathe in air", "title": "TODO Title" },
"breathesWater": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in water", "title": "TODO Title" },
"breathes_water": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in water", "title": "TODO Title" },
"breathesLava": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in lava", "title": "TODO Title" },
"breathes_lava": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in lava", "title": "TODO Title" },
"breathesSolids": {
"type": "boolean",
"default": false,
"description": "If true, this entity can breathe in solid blocks",
"title": "TODO Title"
},
"total_supply": { "type": "integer", "default": 15, "description": "Time in seconds the entity can hold its breath", "title": "Total Supply" },
"suffocate_time": { "type": "integer", "default": -20, "description": "Time in seconds between suffocation damage", "title": "Suffocate Time" },
"inhale_time": { "type": "number", "default": 0, "description": "Time in seconds to recover breath to maximum", "title": "Inhale Time" },
"breathes_air": { "type": "boolean", "default": true, "description": "If true, this entity can breathe in air", "title": "Breathes Air" },
"breathes_water": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in water", "title": "Breathes Water" },
"breathes_lava": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in lava", "title": "Breathes Lava" },
"breathes_solids": {
"type": "boolean",
"default": false,
"description": "If true, this entity can breathe in solid blocks",
"title": "TODO Title"
},
"generatesBubbles": {
"type": "boolean",
"default": true,
"description": "If true, this entity will have visible bubbles while in water",
"title": "TODO Title"
"title": "Breathes Solids"
},
"generates_bubbles": {
"type": "boolean",
"default": true,
"description": "If true, this entity will have visible bubbles while in water",
"title": "TODO Title"
},
"breatheBlocks": {
"type": "array",
"description": "List of blocks this entity can breathe in, in addition to the above",
"items": { "$ref": "../../../../general/block/identifier.json" },
"title": "TODO Title"
"title": "Generates Bubbles"
},
"breathe_blocks": {
"type": "array",
"description": "List of blocks this entity can breathe in, in addition to the above",
"items": { "$ref": "../../../../general/block/identifier.json" },
"title": "TODO Title"
},
"nonBreatheBlocks": {
"type": "array",
"description": "List of blocks this entity can't breathe in, in addition to the above",
"items": { "$ref": "../../../../general/block/identifier.json" },
"title": "TODO Title"
"title": "Breathe Blocks"
},
"non_breathe_blocks": {
"type": "array",
"description": "List of blocks this entity can't breathe in, in addition to the above",
"items": { "$ref": "../../../../general/block/identifier.json" },
"title": "TODO Title"
"title": "Non Breathes Blocks"
}
}
}

View File

@@ -42,19 +42,19 @@
"type": "string",
"description": "An item that can be used to get the entity into the `love` state",
"$ref": "../../../../general/item/identifier.json",
"title": "TODO Title"
"title": "Breed Item"
}
},
{ "type": "string", "$ref": "../../../../general/item/identifier.json", "title": "TODO Title" }
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
]
},
"breeds_with": {
"description": "The list of entity definitions that this entity can breed with.",
"title": "Breeds With",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/breeds_with_spec" },
{ "uniqueItems": true, "type": "array", "items": { "type": "object", "$ref": "#/definitions/breeds_with_spec" } }
],
"title": "TODO Title"
]
},
"causes_pregnancy": {
"type": "boolean",

View File

@@ -5,5 +5,5 @@
"additionalProperties": false,
"description": "Sets this entity's default head rotation angle.",
"required": [],
"properties": { "value": { "type": "number", "default": 0.0, "description": "Angle in degrees", "title": "TODO Title" } }
"properties": { "value": { "type": "number", "default": 0.0, "description": "Angle in degrees", "title": "Value" } }
}

View File

@@ -5,5 +5,5 @@
"additionalProperties": false,
"description": "Speed in Blocks that this entity flies at.",
"required": [],
"properties": { "value": { "type": "number", "default": 0.02, "description": "Flying speed in blocks per tick", "title": "TODO Title" } }
"properties": { "value": { "type": "number", "default": 0.02, "description": "Flying speed in blocks per tick", "title": "Value" } }
}

View File

@@ -10,7 +10,7 @@
"type": "number",
"default": 1.0,
"description": "The higher the number, the more the friction affects this entity. A value of 1.0 means regular friction, while 2.0 means twice as much",
"title": "TODO Title"
"title": "Value"
}
}
}

View File

@@ -10,7 +10,7 @@
"type": "number",
"default": 0.0,
"description": "The value of the entity's offset from the terrain, in blocks",
"title": "TODO Title"
"title": "Value"
}
}
}

View File

@@ -6,19 +6,16 @@
"additionalProperties": false,
"required": [],
"properties": {
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filter group that defines the conditions for this trigger",
"title": "Filters"
},
"filters": { "$ref": "../../filters/filters.json" },
"force_use": {
"type": "boolean",
"default": false,
"description": "Determines if item can be used regardless of entity being at full health",
"title": "TODO Title"
"title": "Force Use"
},
"items": {
"description": "The array of items that can be used to heal this entity",
"title": "Items",
"type": "array",
"items": {
"type": "object",
@@ -27,11 +24,15 @@
"$ref": "../../filters/filters.json",
"description": "The filter group that defines the conditions for using this item to heal the entity"
},
"heal_amount": { "type": "integer", "default": 1, "description": "The amount of health this entity gains when fed this item" },
"item": { "type": "string", "description": "Item identifier that can be used to heal this entity" }
"heal_amount": {
"type": "integer",
"default": 1,
"description": "The amount of health this entity gains when fed this item",
"title": "Heal Amount"
},
"item": { "type": "string", "description": "Item identifier that can be used to heal this entity", "title": "Item" }
}
},
"title": "TODO Title"
}
}
}
}

View File

@@ -10,7 +10,7 @@
"type": "number",
"default": 3,
"description": "Number of days the mob has to stay up until the insomnia effect begins.",
"title": "TODO Title"
"title": "Days Until Insomnia"
}
}
}

View File

@@ -36,11 +36,10 @@
"title": "Blocks To Avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "TODO", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json", "title": "Name" } } }
]
}
},

View File

@@ -40,7 +40,7 @@
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "TODO", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json", "title": "Name" } } }
]
}
},

View File

@@ -40,7 +40,7 @@
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "TODO", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json", "title": "Name" } } }
]
}
},

View File

@@ -40,7 +40,7 @@
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "TODO", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json", "title": "Name" } } }
]
}
},

View File

@@ -39,7 +39,7 @@
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "TODO", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json", "title": "Name" } } }
]
}
},

View File

@@ -40,7 +40,7 @@
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "TODO", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json", "title": "Name" } } }
]
}
},

View File

@@ -40,7 +40,7 @@
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "TODO", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json", "title": "Name" } } }
]
}
},

View File

@@ -9,7 +9,7 @@
"triggered_event": {
"$ref": "../types/event.json",
"description": "Event to run we attempt to trigger a raid on the village.",
"title": "TODO Title"
"title": "Triggered Event"
}
}
}

View File

@@ -10,24 +10,25 @@
"type": "number",
"default": 3,
"description": "The strength with which blocking entities should be knocked back",
"title": "TODO Title"
"title": "Knockback Strength"
},
"reaction_choices": {
"type": "array",
"description": "A list of weighted responses to the melee attack being blocked",
"title": "Reaction Choices",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"weight": { "type": "integer" },
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"value": {
"additionalProperties": false,
"type": "object",
"properties": { "event": { "type": "string" }, "target": { "type": "string", "$ref": "../../filters/filters/types/subject.json" } }
"title": "Value",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../types/event.json"
}
}
},
"title": "TODO Title"
}
}
}
}

View File

@@ -11,13 +11,13 @@
"type": "array",
"title": "Dispense On",
"description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.",
"items": { "title": "TODO", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
"items": { "title": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
},
"use_on": {
"type": "array",
"title": "Use On",
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",
"items": { "title": "TODO", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
"items": { "title": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}
}

View File

@@ -3,16 +3,19 @@
"additionalProperties": false,
"description": "The function enchant_with_levels",
"title": "Enchant With Levels",
"type": "object",
"properties": {
"function": {
"type": "string",
"const": "enchant_with_levels",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO Title"
"title": "Function"
},
"levels": {
"title": "Levels",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "integer" },
{
@@ -21,9 +24,7 @@
"required": ["min", "max"],
"properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } }
}
],
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
]
},
"treasure": { "type": "boolean", "title": "Treasure", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}

View File

@@ -3,6 +3,7 @@
"additionalProperties": false,
"description": "A minecraft loot table",
"title": "Loot Table",
"type": "object",
"examples": [
{
"pools": [
@@ -34,6 +35,8 @@
"properties": {
"rolls": {
"title": "Rolls",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "integer", "minimum": 0 },
{
@@ -63,23 +66,46 @@
"entries": {
"title": "Entries",
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"additionalProperties": false,
"type": "object",
"required": ["type"],
"title": "Entry",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"type": { "title": "Type", "type": "string", "enum": ["item", "empty", "loot_table"] },
"count": { "type": "integer", "title": "Count", "description": "The amount of the item" },
"type": {
"title": "Type",
"type": "string",
"enum": ["item", "empty", "loot_table"],
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"count": {
"type": "integer",
"title": "Count",
"description": "The amount of the item"
},
"name": { "title": "Name", "type": "string", "description": "An item or loottable", "pattern": "^([\\w]+:|loot_tables/)" },
"weight": { "title": "Weight", "type": "integer", "minimum": 1 },
"weight": { "title": "Weight", "type": "integer", "minimum": 1, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"functions": {
"title": "Functions",
"type": "array",
"items": { "type": "object", "required": ["function"], "title": "Function", "$ref": "./functions.json" }
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"required": ["function"],
"title": "Function",
"$ref": "./functions.json"
}
},
"pools": { "$ref": "#/definitions/pools_spec" },
"quality": { "title": "Quality", "description": "UNDOCUMANTED", "type": "integer" }
"quality": { "title": "Quality", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" }
}
}
},
@@ -100,7 +126,7 @@
}
},
"properties": {
"pools": { "$ref": "#/definitions/pools_spec", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO Title" },
"pools": { "$ref": "#/definitions/pools_spec", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Pools" },
"type": { "title": "Type", "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["minecraft:chest"] }
}
}