Updated documentation with the microsoft documentation

This commit is contained in:
DaanV2
2021-07-02 13:00:02 +02:00
parent f9ecdb79e8
commit dd28b6a467
29 changed files with 152 additions and 127 deletions

View File

@@ -26,19 +26,28 @@
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" }, "remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"randomize": { "randomize": {
"type": "array", "type": "array",
"description": "Randomly selects one of the following items based upon their weight and the total weights",
"$comment": "UNDOCUMENTED",
"title": "Randomize",
"items": { "items": {
"description": "A single randomized item",
"$comment": "UNDOCUMENTED",
"title": "Randomize",
"type": "object",
"required": ["weight"], "required": ["weight"],
"examples": [{ "weight": 1 }],
"properties": { "properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" }, "add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" }, "remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Trigger" }, "trigger": { "type": "string", "description": "Triggers additional events", "$comment": "UNDOCUMENTED", "title": "Trigger" },
"weight": { "type": "number", "description": "UNDOCUMENTATED: weight", "title": "Weight" } "weight": {
}, "type": "number",
"description": "UNDOCUMENTATED: randomize", "description": "The weight on how likely this section is to trigger",
"title": "Randomize" "$comment": "UNDOCUMENTED",
}, "title": "Weight"
"description": "UNDOCUMENTATED: randomize", }
"title": "Randomize" }
}
}, },
"sequence": { "sequence": {
"type": "array", "type": "array",
@@ -56,7 +65,7 @@
"title": "Sequences" "title": "Sequences"
}, },
"filters": { "$ref": "./../filters/filters.json" }, "filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Trigger" } "trigger": { "type": "string", "description": "Triggers additional events", "$comment": "UNDOCUMENTED", "title": "Trigger" }
} }
} }
}, },

View File

@@ -12,13 +12,13 @@
"description": "Amount of time before the entity grows up, -1 for always a baby.", "description": "Amount of time before the entity grows up, -1 for always a baby.",
"title": "Duration" "title": "Duration"
}, },
"feedItems": { "feed_items": {
"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", "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", "title": "Feed Items",
"type": "array", "type": "array",
"items": { "items": {
"title": "Feed Items", "title": "Feed Item",
"description": "UNDOCUMENTATED: feedItems", "description": "An item that can be fed to the entity. Includes 'item' for the item name and 'growth' to define how much time it grows up by",
"oneOf": [ "oneOf": [
{ {
"type": "object", "type": "object",

View File

@@ -6,8 +6,6 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"broadcastAnger": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Broadcast Anger" },
"broadcastRange": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Broadcast Range" },
"broadcast_anger": { "broadcast_anger": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
@@ -73,16 +71,16 @@
"type": "array", "type": "array",
"default": [0, 0], "default": [0, 0],
"items": [ "items": [
{ "type": "integer", "minimum": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Minimum" }, { "type": "integer", "minimum": 0, "description": "The minimum interval", "$comment": "UNDOCUMENTED", "title": "Minimum" },
{ "type": "integer", "minimum": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Maximum" } { "type": "integer", "minimum": 0, "description": "The maximum interval", "$comment": "UNDOCUMENTED", "title": "Maximum" }
] ]
}, },
{ {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"range_min": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Minimum" }, "range_min": { "type": "number", "description": "The minimum interval", "$comment": "UNDOCUMENTED", "title": "Range Minimum" },
"range_max": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Maximum" } "range_max": { "type": "number", "description": "The maximum interval", "$comment": "UNDOCUMENTED", "title": "Range Maximum" }
} }
} }
] ]

View File

@@ -17,11 +17,14 @@
"description": "How close a hostile entity must be to have the damage applied.", "description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage Range" "title": "Damage Range"
}, },
"entity_filter": { "$ref": "../../filters/filters.json", "description": "Entity_filter", "title": "Filter" }, "entity_filter": {
"$ref": "../../filters/filters.json",
"description": "Filter to see which entities can be affected by the attack",
"title": "Entity Filter"
},
"cause": { "cause": {
"type": "string", "type": "string",
"description": "UNDOCUMENTED", "description": "what causes the attack to occur",
"$comment": "UNDOCUMENTED",
"title": "Cause", "title": "Cause",
"$ref": "../../../../general/entity/damage_source.json" "$ref": "../../../../general/entity/damage_source.json"
} }

View File

@@ -5,10 +5,16 @@
"description": "Fires off a specified event when a block in the block list is broken within the sensor range.", "description": "Fires off a specified event when a block in the block list is broken within the sensor range.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"sensor_radius": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Sensor Radius", "minimum": 0 }, "sensor_radius": {
"type": "integer",
"description": "radius from entity in order to check for when block is broken",
"title": "Sensor Radius",
"minimum": 0
},
"on_break": { "on_break": {
"type": "array", "type": "array",
"title": "On Break", "title": "On Break",
"description": "blocks that will trigger the component when broken and what event will trigger.",
"items": { "items": {
"type": "object", "type": "object",
"title": "On Block Broken", "title": "On Block Broken",
@@ -17,15 +23,17 @@
"block_list": { "block_list": {
"type": "array", "type": "array",
"title": "Block List", "title": "Block List",
"description": "UNDOCUMENTED", "description": "list of blocks that will trigger the senor.",
"$comment": "UNDOCUMENTED", "items": {
"items": { "type": "string", "title": "Block ID" } "type": "string",
"title": "Block ID",
"description": "A block that will trigger the senor.",
"$ref": "../../../../general/block/identifier.json"
}
}, },
"on_block_broken": { "type": "string", "title": "On Block Broken", "description": "On block broken" } "on_block_broken": { "type": "string", "title": "On Block Broken", "description": "Event to run when a block breaks" }
} }
}, }
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
} }
} }
} }

View File

@@ -15,12 +15,12 @@
}, },
"boost_items": { "boost_items": {
"type": "array", "type": "array",
"description": "UNDOCUMENTED", "description": "List of items that can be used to boost while riding this entity.",
"$comment": "UNDOCUMENTED",
"title": "Boost Items", "title": "Boost Items",
"items": { "items": {
"type": "object", "type": "object",
"description": "List of items that can be used to boost while riding this entity.", "description": "List of items that can be used to boost while riding this entity.",
"title": "Boost Item",
"properties": { "properties": {
"damage": { "type": "integer", "default": 1, "description": "This is the damage that the item will take each time it is used" }, "damage": { "type": "integer", "default": 1, "description": "This is the damage that the item will take each time it is used" },
"item": { "item": {
@@ -28,7 +28,7 @@
"$ref": "../../../../general/item/identifier.json", "$ref": "../../../../general/item/identifier.json",
"description": "Name of the item that can be used to boost" "description": "Name of the item that can be used to boost"
}, },
"replaceItem": { "replace_item": {
"type": "string", "type": "string",
"$ref": "../../../../general/item/identifier.json", "$ref": "../../../../general/item/identifier.json",
"description": "The item used to boost will become this item once it is used up" "description": "The item used to boost will become this item once it is used up"

View File

@@ -2,14 +2,13 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.buoyant", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.buoyant",
"type": "object", "type": "object",
"title": "Buoyant 1.8.0", "title": "Buoyant 1.8.0",
"description": "Enables an entity to float on the specified liquid blocks.", "description": "Allows an entity to float on the specified liquid blocks.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"base_buoyancy": { "base_buoyancy": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "UNDOCUMENTED", "description": "Base buoyancy used to calculate how much will a mob float.",
"$comment": "UNDOCUMENTED",
"title": "Base Buoyancy" "title": "Base Buoyancy"
}, },
"apply_gravity": { "apply_gravity": {
@@ -46,7 +45,12 @@
"type": "array", "type": "array",
"description": "List of blocks this entity can float on. Must be a liquid block.", "description": "List of blocks this entity can float on. Must be a liquid block.",
"title": "Liquid Blocks", "title": "Liquid Blocks",
"items": { "type": "string", "title": "Block ID" } "items": {
"type": "string",
"title": "Block ID",
"description": "A block this entity can float on. Must be a liquid block.",
"$ref": "../../../../general/block/identifier.json"
}
}, },
"simulate_waves": { "simulate_waves": {
"type": "boolean", "type": "boolean",

View File

@@ -5,5 +5,12 @@
"additionalProperties": false, "additionalProperties": false,
"description": "Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.", "description": "Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.",
"required": [], "required": [],
"properties": { "value": { "type": "boolean", "default": true, "description": "UNDOCUMENTATED: value", "title": "Value" } } "properties": {
"value": {
"type": "boolean",
"default": true,
"description": "Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.",
"title": "Value"
}
}
} }

View File

@@ -2,29 +2,39 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.custom_hit_test", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.custom_hit_test",
"type": "object", "type": "object",
"title": "Custom Hit Test 1.8.0", "title": "Custom Hit Test 1.8.0",
"description": "List of hitboxes for melee and ranged hits against the entity.", "description": "Defines a list of hitboxes for melee and ranged hits against the entity.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"hitboxes": { "hitboxes": {
"type": "array", "type": "array",
"title": "Hitboxes", "title": "Hitboxes",
"description": "UNDOCUMENTED", "description": "Defines a hitbox size and pivot to test against.",
"$comment": "UNDOCUMENTED",
"items": { "items": {
"type": "object", "type": "object",
"title": "Hitbox", "title": "Hitbox",
"description": "UNDOCUMENTED", "description": "Defines a hitbox size and pivot to test against.",
"$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"required": ["width", "height", "pivot"],
"properties": { "properties": {
"width": { "type": "number", "title": "Width", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, "width": {
"height": { "type": "number", "title": "Height", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, "type": "number",
"title": "Width",
"description": "Width and Depth of the hitbox in blocks. A negative value will be assumed to be 0."
},
"height": {
"type": "number",
"title": "Height",
"description": "Height of the hitbox in blocks. A negative value will be assumed to be 0."
},
"pivot": { "pivot": {
"type": "array", "type": "array",
"title": "Pivot", "title": "Pivot",
"description": "UNDOCUMENTED", "description": "The offset from the entity's anchor where the hitbox will spawn",
"$comment": "UNDOCUMENTED", "items": [
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] { "type": "number", "title": "X" },
{ "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" }
]
} }
} }
} }

View File

@@ -3,11 +3,13 @@
"title": "Damage Sensor 1.8.0", "title": "Damage Sensor 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Defines what events to call when this entity is damaged by specific entities or items.", "description": "Defines what events to call when this entity is damaged by specific entities or items.",
"type": "object",
"definitions": { "definitions": {
"damagespec": { "damagespec": {
"type": "object", "type": "object",
"description": "A trigger with the events to call when taking specific kinds of damage.", "description": "A trigger with the events to call when taking specific kinds of damage.",
"additionalProperties": false, "additionalProperties": false,
"title": "Damage Trigger",
"properties": { "properties": {
"cause": { "cause": {
"type": "string", "type": "string",
@@ -25,16 +27,11 @@
"on_damage": { "on_damage": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"properties": {
"filters": { "$ref": "../../filters/filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "UNDOCUMENTATED: event", "title": "Event" },
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "UNDOCUMENTATED: target", "title": "Target" }
},
"description": "Specifies filters for entity definitions and events.", "description": "Specifies filters for entity definitions and events.",
"title": "On Damage" "title": "On Damage",
"$ref": "../types/trigger.json"
} }
}, }
"title": "Damagespec"
} }
}, },
"required": [], "required": [],

View File

@@ -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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, { "type": "integer", "title": "A", "description": "Minimum" },
{ "type": "integer", "title": "B", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } { "type": "integer", "title": "B", "description": "Maximum" }
] ]
}, },
"display_name": { "display_name": {
@@ -40,8 +40,8 @@
"description": "The Maximum 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 Maximum 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": "Maximum Cured Discount", "title": "Maximum Cured Discount",
"items": [ "items": [
{ "type": "integer", "title": "A", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, { "type": "integer", "title": "A", "description": "Minimum" },
{ "type": "integer", "title": "B", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } { "type": "integer", "title": "B", "description": "Maximum" }
] ]
}, },
"max_nearby_cured_discount": { "max_nearby_cured_discount": {

View File

@@ -3,11 +3,12 @@
"title": "Environment Sensor 1.8.0", "title": "Environment Sensor 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the entity to power jump like the horse does in vanilla.", "description": "Allows the entity to power jump like the horse does in vanilla.",
"type": "object",
"definitions": { "definitions": {
"on_environement": { "on_environement": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"description": "UNDOCUMENTATED: on environement", "description": "Allows the entity to power jump like the horse does in vanilla.",
"title": "On Environement", "title": "On Environement",
"properties": { "properties": {
"filters": { "$ref": "../../filters/filters.json", "description": "The filters to evualate for this environment sensor", "title": "Filters" }, "filters": { "$ref": "../../filters/filters.json", "description": "The filters to evualate for this environment sensor", "title": "Filters" },

View File

@@ -2,10 +2,15 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.equipment", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.equipment",
"type": "object", "type": "object",
"title": "Equipment 1.8.0", "title": "Equipment 1.8.0",
"description": "Sets the equipment table to use for the entity.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"table": { "type": "string", "pattern": ".*\\.json$", "description": "UNDOCUMENTATED: table", "title": "Table" }, "table": {
"title": "Table",
"description": "The file path to the equipment table, relative to the behavior pack's root.",
"$ref": "../../../../general/loot_table/identifier.json"
},
"slot_drop_chance": { "slot_drop_chance": {
"type": "array", "type": "array",
"title": "Slot Drop Chance", "title": "Slot Drop Chance",
@@ -22,6 +27,5 @@
} }
} }
} }
}, }
"description": "UNDOCUMENTATED: "
} }

View File

@@ -2,21 +2,21 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.experience_reward", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.experience_reward",
"type": "object", "type": "object",
"title": "Experience Reward 1.8.0", "title": "Experience Reward 1.8.0",
"description": "UNDOCUMENTED", "description": "Defines the amount of experience rewarded when the entity dies or is successfully bred.",
"$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"on_bred": { "on_bred": {
"type": "string",
"default": 0, "default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.", "description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.",
"title": "On Bred" "title": "On Bred",
"$ref": "../../../../molang/number.json"
}, },
"on_death": { "on_death": {
"type": "string", "type": "string",
"default": 0, "default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.", "description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.",
"title": "On Death" "title": "On Death",
"$ref": "../../../../molang/number.json"
} }
} }
} }

View File

@@ -20,13 +20,13 @@
"required": ["range_min", "range_max"], "required": ["range_min", "range_max"],
"properties": { "properties": {
"range_min": { "range_min": {
"title": "Range minimum", "title": "Range Minimum",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"
}, },
"range_max": { "range_max": {
"title": "Range maximum", "title": "Range Maximum",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"

View File

@@ -8,13 +8,11 @@
"damage_conditions": { "damage_conditions": {
"type": "array", "type": "array",
"title": "Damage Conditions", "title": "Damage Conditions",
"description": "UNDOCUMENTED", "description": "An array of conditions used to compare the event to.",
"$comment": "UNDOCUMENTED",
"items": { "items": {
"type": "object", "type": "object",
"title": "Damage Condition", "title": "Damage Condition",
"description": "UNDOCUMENTED", "description": "A condition used to compare the event to.",
"$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"filters": { "$ref": "../../filters/filters.json" }, "filters": { "$ref": "../../filters/filters.json" },
@@ -22,8 +20,7 @@
"damage_per_tick": { "damage_per_tick": {
"type": "integer", "type": "integer",
"title": "Damage Per Tick", "title": "Damage Per Tick",
"description": "UNDOCUMENTED", "description": "Amount of damage done each tick that the conditions are met."
"$comment": "UNDOCUMENTED"
} }
} }
} }

View File

@@ -12,8 +12,7 @@
"type": "array", "type": "array",
"items": { "items": {
"title": "Block", "title": "Block",
"description": "UNDOCUMENTED", "description": "A of block, with certain block states, that we are monitoring to see if the entity is inside.",
"$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.mob_effect", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.mob_effect",
"type": "object", "type": "object",
"title": "Mob Effect 1.8.0", "title": "Mob Effect 1.8.0",
"description": "A component that applies a mob effect to entities that get within range.", "description": "Applies a mob effect to entities that get within range.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"effect_range": { "effect_range": {
@@ -21,8 +21,7 @@
"entity_filter": { "entity_filter": {
"$ref": "../../filters/filters.json", "$ref": "../../filters/filters.json",
"title": "Entity Filter", "title": "Entity Filter",
"description": "UNDOCUMENTED", "description": "Filter to use for conditions"
"$comment": "UNDOCUMENTED"
} }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.sway", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.sway",
"description": "This move control causes the mob to sway side to side giving the impression it is swimming.", "description": "Causes the mob to sway side to side giving the impression it is swimming.",
"type": "object", "type": "object",
"title": "Movement.sway 1.8.0", "title": "Movement.sway 1.8.0",
"additionalProperties": false, "additionalProperties": false,
@@ -12,6 +12,10 @@
"description": "The maximum number in degrees the mob can turn per tick.", "description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn" "title": "Maximum Turn"
}, },
"sway_amplitude": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Sway Amplitude" } "sway_amplitude": {
"type": "number",
"description": "The amount of sway that is allowed for movement.",
"title": "Sway Amplitude"
}
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -10,7 +10,7 @@
"def": { "def": {
"title": "Def", "title": "Def",
"type": "string", "type": "string",
"description": "Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile" "description": "Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectil"
}, },
"type": { "title": "Type", "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } "type": { "title": "Type", "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
} }

View File

@@ -37,15 +37,17 @@
"type": "array", "type": "array",
"default": [], "default": [],
"description": "This is a list of objects, representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.", "description": "This is a list of objects, representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.",
"title": "Random Time Choices",
"items": { "items": {
"title": "Random Time Choices",
"description": "representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.",
"type": "object",
"additionalProperties": false,
"properties": { "properties": {
"weight": { "type": "integer", "description": "UNDOCUMENTATED: weight", "title": "Weight" }, "weight": { "type": "integer", "description": "UNDOCUMENTATED: weight", "title": "Weight" },
"value": { "type": "integer", "description": "UNDOCUMENTATED: value", "title": "Value" } "value": { "type": "integer", "description": "UNDOCUMENTATED: value", "title": "Value" }
}, }
"description": "UNDOCUMENTATED: random time choices", }
"title": "Random Time Choices"
},
"title": "Random Time Choices"
} }
} }
} }

View File

@@ -1,7 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.water_movement", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.water_movement",
"description": "UNDOCUMENTED", "description": "Defines the speed with which an entity can move through water.",
"$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"title": "Water Movement 1.8.0", "title": "Water Movement 1.8.0",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -0,0 +1,8 @@
{
"$id": "blockception.minecraft.loot_table.identifier",
"type": "string",
"title": "Loot Table Identifier",
"description": "A minecraft loot_table identifier",
"pattern": "^loot_tables/.*\\.json$",
"examples": ["loot_tables/"]
}