This commit is contained in:
DaanV2
2021-06-08 21:05:20 +02:00
parent 87f45e1505
commit f5ab3767ab
35 changed files with 1333 additions and 52 deletions
+12
View File
@@ -10,5 +10,17 @@
"object": { "object": {
"prefix": "json.object", "prefix": "json.object",
"body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"object\", \n\"additionalProperties\": false,\n\"properties\": {}" "body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"object\", \n\"additionalProperties\": false,\n\"properties\": {}"
},
"number": {
"prefix": "json.number",
"body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"number\", \n\"minimum\": 0"
},
"integer": {
"prefix": "json.integer",
"body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"integer\", \n\"minimum\": 0"
},
"string": {
"prefix": "json.string",
"body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"string\""
} }
} }
@@ -100,13 +100,13 @@
"properties": { "properties": {
"denominator": { "denominator": {
"title": "Denominator", "title": "Denominator",
"description": "", "description": "UNDOCUMENTATED",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
}, },
"numerator": { "numerator": {
"title": "Numerator", "title": "Numerator",
"description": "", "description": "UNDOCUMENTATED",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
} }
@@ -64,7 +64,7 @@
"size": { "type": "number", "default": 1, "description": "The base size of the entity" }, "size": { "type": "number", "default": 1, "description": "The base size of the entity" },
"sound_event": { "type": "string", "description": "The sound event to play for this step" }, "sound_event": { "type": "string", "description": "The sound event to play for this step" },
"summon_cap": { "type": "integer", "default": 0, "description": "Maximum number of summoned entities at any given time" }, "summon_cap": { "type": "integer", "default": 0, "description": "Maximum number of summoned entities at any given time" },
"summon_cap_radius": { "type": "number", "default": 0, "description": "" }, "summon_cap_radius": { "type": "number", "default": 0, "description": "UNDOCUMENTATED" },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
@@ -18,8 +18,8 @@
"description": "How much should the discount be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)", "description": "How much should the discount be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)",
"title": "Cured Discount", "title": "Cured Discount",
"items": [ "items": [
{ "type": "integer", "title": "A", "description": "" }, { "type": "integer", "title": "A", "description": "UNDOCUMENTATED" },
{ "type": "integer", "title": "B", "description": "" } { "type": "integer", "title": "B", "description": "UNDOCUMENTATED" }
] ]
}, },
"display_name": { "display_name": {
@@ -40,8 +40,8 @@
"description": "The max the discount can be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)", "description": "The max the discount can be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)",
"title": "Max Cured Discount", "title": "Max Cured Discount",
"items": [ "items": [
{ "type": "integer", "title": "A", "description": "" }, { "type": "integer", "title": "A", "description": "UNDOCUMENTATED" },
{ "type": "integer", "title": "B", "description": "" } { "type": "integer", "title": "B", "description": "UNDOCUMENTATED" }
] ]
}, },
"max_nearby_cured_discount": { "max_nearby_cured_discount": {
@@ -10,7 +10,7 @@
"definitions": { "definitions": {
"coord_dist": { "coord_dist": {
"title": "", "title": "",
"description": "", "description": "UNDOCUMENTATED",
"oneOf": [ "oneOf": [
{ {
"$ref": "../../../molang/number.json", "$ref": "../../../molang/number.json",
@@ -54,7 +54,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["identifier", "places_feature"], "required": ["identifier", "places_feature"],
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -26,7 +26,7 @@
"minItems": 1, "minItems": 1,
"items": { "items": {
"title": "Feature", "title": "Feature",
"description": "", "description": "UNDOCUMENTATED",
"type": "string" "type": "string"
} }
}, },
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -65,7 +65,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -59,7 +59,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -15,7 +15,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -32,7 +32,7 @@
"items": { "items": {
"type": "object", "type": "object",
"title": "Feature Area", "title": "Feature Area",
"description": "", "description": "UNDOCUMENTATED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"feature": { "feature": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -61,7 +61,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -12,7 +12,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -42,7 +42,7 @@
}, },
"may_attach_to": { "may_attach_to": {
"title": "May attach to", "title": "May attach to",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,7 +7,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
File diff suppressed because it is too large Load Diff
@@ -1,10 +1,13 @@
{ {
"title": "Structure Template Feature",
"description": "`minecraft:structure_template_feature` places a structure in the world. The structure must be stored as a .mcstructure file in the `structures` subdirectory of a behavior pack. It is possible to reference structures that are part of other behavior packs, they do not need to come from the same behavior pack as this feature. Constraints can be defined to specify where the structure is allowed to be placed. During placement, the feature will search for a position within the 'adjustment_radius' that satisfies all constraints. If none are found, the structure will not be placed.\nSucceeds if: The structure is placed in the world.\nFails if: The structure fails to be placed within the world.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["description", "structure_name", "constraints"],
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -4,7 +4,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -4,7 +4,7 @@
"properties": { "properties": {
"description": { "description": {
"title": "Description", "title": "Description",
"description": "", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
@@ -7,17 +7,17 @@
"offset_spec": { "offset_spec": {
"type": "object", "type": "object",
"title": "Offset", "title": "Offset",
"description": "", "description": "UNDOCUMENTATED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"first_person": { "first_person": {
"title": "First Person", "title": "First Person",
"description": "", "description": "UNDOCUMENTATED",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
}, },
"thrid_person": { "thrid_person": {
"title": "Thrid Person", "title": "Thrid Person",
"description": "", "description": "UNDOCUMENTATED",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
} }
} }
@@ -25,7 +25,7 @@
"mode": { "mode": {
"type": "object", "type": "object",
"title": "Mode", "title": "Mode",
"description": "", "description": "UNDOCUMENTATED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"position": { "position": {
@@ -5,7 +5,7 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"dispensable": { "title": "Dispensable", "description": "", "type": "boolean" }, "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTATED", "type": "boolean" },
"slot": { "slot": {
"title": "Slot", "title": "Slot",
"description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest", "description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest",
@@ -8,17 +8,17 @@
"offset_spec": { "offset_spec": {
"type": "object", "type": "object",
"title": "Offset", "title": "Offset",
"description": "", "description": "UNDOCUMENTATED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"first_person": { "first_person": {
"title": "First Person", "title": "First Person",
"description": "", "description": "UNDOCUMENTATED",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
}, },
"thrid_person": { "thrid_person": {
"title": "Thrid Person", "title": "Thrid Person",
"description": "", "description": "UNDOCUMENTATED",
"$ref": "#/definitions/mode" "$ref": "#/definitions/mode"
} }
} }
@@ -26,7 +26,7 @@
"mode": { "mode": {
"type": "object", "type": "object",
"title": "Mode", "title": "Mode",
"description": "", "description": "UNDOCUMENTATED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"position": { "position": {
@@ -5,7 +5,7 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"dispensable": { "title": "Dispensable", "description": "", "type": "boolean" }, "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTATED", "type": "boolean" },
"slot": { "slot": {
"title": "Slot", "title": "Slot",
"description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest", "description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest",
+1 -1
View File
@@ -45,7 +45,7 @@
} }
] ]
}, },
"type": { "title": "Type", "type": "string", "description": "", "enum": ["loot_table", "item", "empty"] }, "type": { "title": "Type", "type": "string", "description": "UNDOCUMENTATED", "enum": ["loot_table", "item", "empty"] },
"conditions": { "title": "Conditions", "description": "TODO", "type": "array", "items": { "$ref": "./conditions.json" } }, "conditions": { "title": "Conditions", "description": "TODO", "type": "array", "items": { "$ref": "./conditions.json" } },
"entries": { "entries": {
"title": "Entries", "title": "Entries",
@@ -166,7 +166,7 @@
"type": "object", "type": "object",
"required": ["input"], "required": ["input"],
"properties": { "properties": {
"input": { "title": "Input", "description": "", "$ref": "../../../molang/number.json" }, "input": { "title": "Input", "description": "UNDOCUMENTATED", "$ref": "../../../molang/number.json" },
"remap_curve": { "remap_curve": {
"title": "Remap Curve", "title": "Remap Curve",
"additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" } "additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" }
+20 -5
View File
@@ -101,11 +101,26 @@
"description": "TODO", "description": "TODO",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"stencilDepthFailOp": { "type": "string", "title": "Stencil Depth Fail Operation", "description": "", "$ref": "#/definitions/FailOperation" }, "stencilDepthFailOp": {
"stencilFailOp": { "type": "string", "title": "Stencil Fail Operation", "description": "", "$ref": "#/definitions/FailOperation" }, "type": "string",
"stencilFunc": { "type": "string", "title": "Stencil Function", "description": "", "enum": ["Always", "Equal", "NotEqual"] }, "title": "Stencil Depth Fail Operation",
"stencilPass": { "type": "string", "title": "Stencil Pass", "description": "", "enum": ["Replace"] }, "description": "UNDOCUMENTATED",
"stencilPassOp": { "type": "string", "title": "Stencil Depth Fail Operation", "description": "", "$ref": "#/definitions/FailOperation" } "$ref": "#/definitions/FailOperation"
},
"stencilFailOp": {
"type": "string",
"title": "Stencil Fail Operation",
"description": "UNDOCUMENTATED",
"$ref": "#/definitions/FailOperation"
},
"stencilFunc": { "type": "string", "title": "Stencil Function", "description": "UNDOCUMENTATED", "enum": ["Always", "Equal", "NotEqual"] },
"stencilPass": { "type": "string", "title": "Stencil Pass", "description": "UNDOCUMENTATED", "enum": ["Replace"] },
"stencilPassOp": {
"type": "string",
"title": "Stencil Depth Fail Operation",
"description": "UNDOCUMENTATED",
"$ref": "#/definitions/FailOperation"
}
} }
}, },
"StatesSpecification": { "StatesSpecification": {
+1 -1
View File
@@ -3,7 +3,7 @@
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Item Texture File", "title": "Item Texture File",
"description": "", "description": "UNDOCUMENTATED",
"definitions": { "definitions": {
"texture": { "texture": {
"oneOf": [ "oneOf": [
@@ -3,7 +3,7 @@
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Terrain Texture File", "title": "Terrain Texture File",
"description": "", "description": "UNDOCUMENTATED",
"definitions": { "definitions": {
"texture": { "texture": {
"oneOf": [ "oneOf": [