Added base examples
This commit is contained in:
@@ -8,5 +8,11 @@
|
||||
"properties": {
|
||||
"entity_type": { "type": "string", "description": "The entity type that will be riding this entity", "title": "Entity Type" },
|
||||
"spawn_event": { "type": "string", "description": "The spawn event that will be used when the riding entity is created", "title": "Spawn Event" }
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"entity_type": "example",
|
||||
"spawn_event": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -11,6 +11,17 @@
|
||||
"description": "Duration, in seconds, for which mob won't admire items if it was hurt",
|
||||
"title": "Cooldown After Being Attacked"
|
||||
},
|
||||
"duration": { "type": "integer", "default": 10, "description": "Duration, in seconds, that the mob is pacified.", "title": "Duration" }
|
||||
}
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"default": 10,
|
||||
"description": "Duration, in seconds, that the mob is pacified.",
|
||||
"title": "Duration"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"cooldown_after_being_attacked": 0,
|
||||
"duration": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -8,8 +8,16 @@
|
||||
"drop_items": {
|
||||
"description": "List of items that the entity drops when it grows up.",
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json" } },
|
||||
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
],
|
||||
"title": "Drop Items"
|
||||
},
|
||||
@@ -22,23 +30,48 @@
|
||||
"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",
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json" } },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": { "growth": { "type": "number" }, "item": { "$ref": "../../../../general/item/identifier.json" } }
|
||||
"properties": {
|
||||
"growth": {
|
||||
"type": "number"
|
||||
},
|
||||
"item": {
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
|
||||
{
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
],
|
||||
"title": "Feed Items"
|
||||
},
|
||||
"grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "Grow up" },
|
||||
"grow_up": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to run when this entity grows up.",
|
||||
"title": "Grow Up"
|
||||
},
|
||||
"transform_to_item": {
|
||||
"type": "string",
|
||||
"title": "Transform to item",
|
||||
"title": "Transform To Item",
|
||||
"description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"duration": 1200,
|
||||
"transform_to_item": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"type": "object",
|
||||
"title": "Ambient Sound Interval",
|
||||
"description": "Sets the entity's delay between playing its ambient sound.",
|
||||
|
||||
"properties": {
|
||||
"event_name": {
|
||||
"type": "string",
|
||||
@@ -24,5 +23,12 @@
|
||||
"description": "Minimum time in seconds before the entity plays its ambient sound again",
|
||||
"title": "Value"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"event_name": "ambient",
|
||||
"range": 16,
|
||||
"value": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -30,7 +30,12 @@
|
||||
"broadcast_targets": {
|
||||
"type": "array",
|
||||
"description": "A list of entity families to broadcast anger to",
|
||||
"items": { "type": "string", "description": "An entity family", "pattern": "^.+$", "title": "Broadcast Targets" },
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "An entity family",
|
||||
"pattern": "^.+$",
|
||||
"title": "Broadcast Targets"
|
||||
},
|
||||
"title": "Broadcast Targets"
|
||||
},
|
||||
"calm_event": {
|
||||
@@ -38,7 +43,12 @@
|
||||
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being `angry')",
|
||||
"title": "Calm Event"
|
||||
},
|
||||
"angry_sound": { "type": "string", "default": "", "description": "The sound event to play when the mob is angry", "title": "Angry Sound" },
|
||||
"angry_sound": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The sound event to play when the mob is angry",
|
||||
"title": "Angry Sound"
|
||||
},
|
||||
"broadcast_anger_on_attack": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -71,19 +81,53 @@
|
||||
"type": "array",
|
||||
"default": [0, 0],
|
||||
"items": [
|
||||
{ "type": "integer", "minimum": 0, "description": "The minimum interval", "$comment": "UNDOCUMENTED", "title": "Minimum" },
|
||||
{ "type": "integer", "minimum": 0, "description": "The maximum interval", "$comment": "UNDOCUMENTED", "title": "Maximum" }
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "The minimum interval",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Minimum"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "The maximum interval",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Maximum"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"range_min": { "type": "number", "description": "The minimum interval", "$comment": "UNDOCUMENTED", "title": "Range Minimum" },
|
||||
"range_max": { "type": "number", "description": "The maximum interval", "$comment": "UNDOCUMENTED", "title": "Range Maximum" }
|
||||
"range_min": {
|
||||
"type": "number",
|
||||
"description": "The minimum interval",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Range Minimum"
|
||||
},
|
||||
"range_max": {
|
||||
"type": "number",
|
||||
"description": "The maximum interval",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Range Maximum"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"broadcast_anger": false,
|
||||
"broadcast_range": 20,
|
||||
"broadcast_targets": [],
|
||||
"angry_sound": "",
|
||||
"broadcast_anger_on_attack": false,
|
||||
"broadcast_anger_on_being_attacked": false,
|
||||
"duration": 25,
|
||||
"duration_delta": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,12 +7,23 @@
|
||||
"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": "Break Time" },
|
||||
"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": "Minimum Difficulty"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"break_time": 12,
|
||||
"min_difficulty": "hard"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -28,5 +28,12 @@
|
||||
"title": "Cause",
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"damage_per_tick": 2,
|
||||
"damage_range": 0.2,
|
||||
"cause": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -23,5 +23,11 @@
|
||||
"description": "Duration in seconds of the status ailment applied to the damaged entity.",
|
||||
"title": "Effect Duration"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"effect_name": "example",
|
||||
"effect_duration": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -18,11 +18,19 @@
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Maximum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "number" }
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,17 @@
|
||||
"title": "Attack Damage",
|
||||
"additionalProperties": false,
|
||||
"required": ["value"],
|
||||
"properties": { "value": { "type": "number", "description": "UNDOCUMENTED: value", "title": "Value" } },
|
||||
"description": "UNDOCUMENTED: "
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED: value",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED: ",
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,6 +4,17 @@
|
||||
"type": "object",
|
||||
"title": "Balloonable",
|
||||
"required": [],
|
||||
"properties": { "mass": { "type": "number", "description": "UNDOCUMENTED: mass", "title": "Mass" } },
|
||||
"description": "UNDOCUMENTED: "
|
||||
"properties": {
|
||||
"mass": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED: mass",
|
||||
"title": "Mass"
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED: ",
|
||||
"examples": [
|
||||
{
|
||||
"mass": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,12 +5,22 @@
|
||||
"description": "Enables the component to drop an item as a barter exchange.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"barter_table": { "type": "string", "description": "Loot table that's used to drop a random item.", "title": "Barter Table" },
|
||||
"barter_table": {
|
||||
"type": "string",
|
||||
"description": "Loot table that's used to drop a random item.",
|
||||
"title": "Barter Table"
|
||||
},
|
||||
"cooldown_after_being_attacked": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Duration, in seconds, for which mob won't barter items if it was hurt",
|
||||
"title": "Cooldown After Being Attacked"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"barter_table": "example",
|
||||
"cooldown_after_being_attacked": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,7 +5,13 @@
|
||||
"description": "Fires off a specified event when a block in the block list is broken within the sensor range.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"sensor_radius": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Sensor Radius", "minimum": 0 },
|
||||
"sensor_radius": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Sensor Radius",
|
||||
"minimum": 0
|
||||
},
|
||||
"on_break": {
|
||||
"type": "array",
|
||||
"title": "On Break",
|
||||
@@ -20,11 +26,24 @@
|
||||
"type": "array",
|
||||
"title": "Block List",
|
||||
"description": "Blocks that will trigger the component when broken and what event will trigger.",
|
||||
"items": { "$ref": "../../../../general/block/identifier.json", "title": "Block ID" }
|
||||
"items": {
|
||||
"$ref": "../../../../general/block/identifier.json",
|
||||
"title": "Block ID"
|
||||
}
|
||||
},
|
||||
"on_block_broken": { "type": "string", "title": "On Block Broken", "description": "Event to run when a block breaks" }
|
||||
"on_block_broken": {
|
||||
"type": "string",
|
||||
"title": "On Block Broken",
|
||||
"description": "Event to run when a block breaks"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"sensor_radius": 0,
|
||||
"on_break": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,9 +4,13 @@
|
||||
"title": "Boostable",
|
||||
"additionalProperties": false,
|
||||
"description": "Defines the conditions and behavior of a rideable entity's boost",
|
||||
|
||||
"properties": {
|
||||
"duration": { "type": "number", "default": 3, "description": "Time in seconds for the boost.", "title": "Duration" },
|
||||
"duration": {
|
||||
"type": "number",
|
||||
"default": 3,
|
||||
"description": "Time in seconds for the boost.",
|
||||
"title": "Duration"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
@@ -28,7 +32,12 @@
|
||||
"description": "This is the damage that the item will take each time it is used.",
|
||||
"title": "Damage"
|
||||
},
|
||||
"item": { "type": "string", "default": "", "description": "Name of the item that can be used to boost.", "title": "Item" },
|
||||
"item": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Name of the item that can be used to boost.",
|
||||
"title": "Item"
|
||||
},
|
||||
"replace_item": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
@@ -38,5 +47,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"duration": 3,
|
||||
"speed_multiplier": 1,
|
||||
"boost_items": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,12 +12,24 @@
|
||||
"description": "The Maximum distance from the boss at which the boss's health bar is present on the players screen.",
|
||||
"title": "Hud Range"
|
||||
},
|
||||
"name": { "type": "string", "default": "", "description": "The name that will be displayed above the boss's health bar.", "title": "Name" },
|
||||
"name": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The name that will be displayed above the boss's health bar.",
|
||||
"title": "Name"
|
||||
},
|
||||
"should_darken_sky": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether the sky should darken in the presence of the boss.",
|
||||
"title": "Should Darken Sky"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"hud_range": 55,
|
||||
"name": "",
|
||||
"should_darken_sky": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -10,7 +10,14 @@
|
||||
"type": "array",
|
||||
"title": "Breakable Blocks",
|
||||
"description": "A list of the blocks that can be broken as this entity moves around",
|
||||
"items": { "$ref": "../../../../general/blocks_item.json" }
|
||||
"items": {
|
||||
"$ref": "../../../../general/blocks_item.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"breakable_blocks": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,12 +6,42 @@
|
||||
"description": "Defines what blocks this entity can breathe in and gives them the ability to suffocate.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"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" },
|
||||
"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,
|
||||
@@ -27,14 +57,32 @@
|
||||
"breathe_blocks": {
|
||||
"type": "array",
|
||||
"description": "List of blocks this entity can breathe in, in addition to the above",
|
||||
"items": { "$ref": "../../../../general/block/identifier.json" },
|
||||
"items": {
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
},
|
||||
"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" },
|
||||
"items": {
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
},
|
||||
"title": "Non Breathes Blocks"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"total_supply": 15,
|
||||
"suffocate_time": -20,
|
||||
"inhale_time": 0,
|
||||
"breathes_air": true,
|
||||
"breathes_water": false,
|
||||
"breathes_lava": false,
|
||||
"breathes_solids": false,
|
||||
"generates_bubbles": true,
|
||||
"breathe_blocks": [],
|
||||
"non_breathe_blocks": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -9,11 +9,22 @@
|
||||
"type": "object",
|
||||
"description": "An entity definitions that this entity can breed with.",
|
||||
"additionalItems": false,
|
||||
|
||||
"properties": {
|
||||
"baby_type": { "type": "string", "description": "The entity definition of this entity's babies.", "title": "Baby Type" },
|
||||
"breed_event": { "$ref": "../types/event.json", "description": "Event to run when this entity breeds.", "title": "Breed Event" },
|
||||
"mate_type": { "type": "string", "description": "The entity definition of this entity's mate.", "title": "Mate Type" }
|
||||
"baby_type": {
|
||||
"type": "string",
|
||||
"description": "The entity definition of this entity's babies.",
|
||||
"title": "Baby Type"
|
||||
},
|
||||
"breed_event": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to run when this entity breeds.",
|
||||
"title": "Breed Event"
|
||||
},
|
||||
"mate_type": {
|
||||
"type": "string",
|
||||
"description": "The entity definition of this entity's mate.",
|
||||
"title": "Mate Type"
|
||||
}
|
||||
}
|
||||
},
|
||||
"enviroment_requirements": {
|
||||
@@ -41,7 +52,11 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"count": { "type": "number", "description": "The number of the required block types nearby for the entity to breed.", "title": "Count" },
|
||||
"count": {
|
||||
"type": "number",
|
||||
"description": "The number of the required block types nearby for the entity to breed.",
|
||||
"title": "Count"
|
||||
},
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"description": "How many blocks radius from the mob's center to search in for the required blocks. Bounded between 0 and 16.",
|
||||
@@ -52,9 +67,13 @@
|
||||
"title": "Environment Requirements"
|
||||
}
|
||||
},
|
||||
|
||||
"properties": {
|
||||
"allow_sitting": { "description": "If true, entities can breed while sitting.", "type": "boolean", "default": false, "title": "Allow Sitting" },
|
||||
"allow_sitting": {
|
||||
"description": "If true, entities can breed while sitting.",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"title": "Allow Sitting"
|
||||
},
|
||||
"blend_attributes": {
|
||||
"description": "If true, the entities will blend their attributes in the offspring after they breed. For example, horses blend their health, movement, and jump_strength in their offspring.",
|
||||
"type": "boolean",
|
||||
@@ -80,15 +99,28 @@
|
||||
"title": "Breed Item"
|
||||
}
|
||||
},
|
||||
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
|
||||
{
|
||||
"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" } }
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/breeds_with_spec"
|
||||
},
|
||||
{
|
||||
"uniqueItems": true,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/breeds_with_spec"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"deny_parents_variant": {
|
||||
@@ -96,17 +128,40 @@
|
||||
"description": "Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"chance": { "type": "number", "default": 0, "description": "The percentage chance of denying the parents` variant.", "title": "Chance" },
|
||||
"max_variant": { "type": "integer", "default": 0, "description": "The inclusive maximum of the variant range.", "title": "Maximum Variant" },
|
||||
"min_variant": { "type": "integer", "default": 0, "description": "The inclusive minimum of the variant range.", "title": "Minimum Variant" }
|
||||
"chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The percentage chance of denying the parents` variant.",
|
||||
"title": "Chance"
|
||||
},
|
||||
"max_variant": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The inclusive maximum of the variant range.",
|
||||
"title": "Maximum Variant"
|
||||
},
|
||||
"min_variant": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The inclusive minimum of the variant range.",
|
||||
"title": "Minimum Variant"
|
||||
}
|
||||
},
|
||||
"title": "Deny Parents Variant"
|
||||
},
|
||||
"environment_requirements": {
|
||||
"description": "The list of nearby block requirements to get the entity into the `love` state.",
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/enviroment_requirements" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/enviroment_requirements" } }
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/enviroment_requirements"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/enviroment_requirements"
|
||||
}
|
||||
}
|
||||
],
|
||||
"title": "Environment Requirements"
|
||||
},
|
||||
@@ -184,5 +239,20 @@
|
||||
"title": "Transform To Item",
|
||||
"description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"allow_sitting": false,
|
||||
"blend_attributes": true,
|
||||
"breed_cooldown": 60.0,
|
||||
"deny_parents_variant": {},
|
||||
"extra_baby_chance": 0.0,
|
||||
"mutation_factor": {},
|
||||
"causes_pregnancy": false,
|
||||
"inherit_tamed": true,
|
||||
"require_full_health": false,
|
||||
"require_tame": true,
|
||||
"transform_to_item": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -22,5 +22,11 @@
|
||||
},
|
||||
"title": "Bribe Items"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"bribe_cooldown": 2,
|
||||
"bribe_items": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -45,7 +45,10 @@
|
||||
"type": "array",
|
||||
"description": "List of blocks this entity can float on. Must be a liquid block.",
|
||||
"title": "Liquid Blocks",
|
||||
"items": { "type": "string", "title": "Block ID" }
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Block ID"
|
||||
}
|
||||
},
|
||||
"simulate_waves": {
|
||||
"type": "boolean",
|
||||
@@ -53,5 +56,17 @@
|
||||
"description": "Should the movement simulate waves going through.",
|
||||
"title": "Simulate Waves"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"base_buoyancy": 0,
|
||||
"apply_gravity": true,
|
||||
"buoyancy": 1,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10,
|
||||
"drag_down_on_buoyancy_removed": 0,
|
||||
"liquid_blocks": [],
|
||||
"simulate_waves": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,5 +5,12 @@
|
||||
"description": "Specifies if/how a mob burns in daylight.",
|
||||
"required": [],
|
||||
"properties": {},
|
||||
"oneOf": [{ "type": "boolean" }, { "type": "object" }]
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -22,7 +22,12 @@
|
||||
"description": "The sound event to play when the mob is celebrating",
|
||||
"title": "Celebrate Sound"
|
||||
},
|
||||
"duration": { "type": "integer", "default": 4, "description": "Duration, in seconds, of celebration", "title": "Duration" },
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"default": 4,
|
||||
"description": "Duration, in seconds, of celebration",
|
||||
"title": "Duration"
|
||||
},
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"default": 16,
|
||||
@@ -37,11 +42,19 @@
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Maximum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "number" },
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -60,5 +73,13 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"broadcast": true,
|
||||
"celebrate_sound": "",
|
||||
"duration": 4,
|
||||
"radius": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -18,5 +18,11 @@
|
||||
"description": "Width and Depth of the collision box in blocks. A negative value will be assumed to be 0",
|
||||
"title": "Width"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"height": 1,
|
||||
"width": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,5 +5,17 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Defines the entity's color. Only works on vanilla entities that have predefined color values (sheep, llama, shulker).",
|
||||
"required": [],
|
||||
"properties": { "value": { "type": "integer", "default": 0, "description": "The Palette Color value of the entity", "title": "Value" } }
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The Palette Color value of the entity",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,5 +5,17 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Defines the entity's second texture color. Only works on vanilla entities that have a second predefined color values (tropical fish).",
|
||||
"required": [],
|
||||
"properties": { "value": { "type": "integer", "default": 0, "description": "The second Palette Color value of the entity", "title": "Value" } }
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The second Palette Color value of the entity",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -23,5 +23,12 @@
|
||||
"description": "The duration in seconds of Regeneration I added to the mob.",
|
||||
"title": "Regeneration Duration"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"apply_to_family": false,
|
||||
"apply_to_self": false,
|
||||
"regeneration_duration": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -33,7 +33,9 @@
|
||||
"title": "Conditional Values",
|
||||
"description": "Conditions that must be met for these optimization values to be used.",
|
||||
"type": "array",
|
||||
"items": { "$ref": "../../filters/filters.json" }
|
||||
"items": {
|
||||
"$ref": "../../filters/filters.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -61,5 +63,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"conditional_values": [],
|
||||
"default_values": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -30,13 +30,27 @@
|
||||
"title": "Pivot",
|
||||
"description": "The offset from the entity's anchor where the hitbox will spawn",
|
||||
"items": [
|
||||
{ "type": "number", "title": "X" },
|
||||
{ "type": "number", "title": "Y" },
|
||||
{ "type": "number", "title": "Z" }
|
||||
{
|
||||
"type": "number",
|
||||
"title": "X"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Y"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"hitboxes": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,7 +6,23 @@
|
||||
"description": "Applies defined amount of damage to the entity at specified intervals.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"damage_per_hurt": { "type": "integer", "default": 1, "description": "Amount of damage caused each hurt.", "title": "Damage Per Hurt" },
|
||||
"time_between_hurt": { "type": "number", "default": 0, "description": "Time in seconds between damage.", "title": "Time Between Hurt" }
|
||||
}
|
||||
"damage_per_hurt": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Amount of damage caused each hurt.",
|
||||
"title": "Damage Per Hurt"
|
||||
},
|
||||
"time_between_hurt": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds between damage.",
|
||||
"title": "Time Between Hurt"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"damage_per_hurt": 1,
|
||||
"time_between_hurt": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -44,10 +44,25 @@
|
||||
"triggers": {
|
||||
"title": "Triggers",
|
||||
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
|
||||
"examples": [[{ "cause": "all", "deals_damage": false }]],
|
||||
"examples": [
|
||||
[
|
||||
{
|
||||
"cause": "all",
|
||||
"deals_damage": false
|
||||
}
|
||||
]
|
||||
],
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/trigger" } },
|
||||
{ "type": "object", "$ref": "#/definitions/trigger" }
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/trigger"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/trigger"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,5 +5,17 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Sets this entity's default head rotation angle.",
|
||||
"required": [],
|
||||
"properties": { "value": { "type": "number", "default": 0.0, "description": "Angle in degrees", "title": "Value" } }
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Angle in degrees",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -65,5 +65,16 @@
|
||||
"description": "If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.",
|
||||
"title": "Remove Child Entities"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"despawn_from_chance": true,
|
||||
"despawn_from_distance": {},
|
||||
"despawn_from_inactivity": true,
|
||||
"despawn_from_simulation_edge": true,
|
||||
"min_range_inactivity_timer": 30,
|
||||
"min_range_random_chance": 800,
|
||||
"remove_child_entities": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -32,5 +32,11 @@
|
||||
"description": "Optional amount of additional time in seconds given by using splash water bottle on entity.",
|
||||
"title": "Water Bottle Refill Time"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"total_time": 0,
|
||||
"water_bottle_refill_time": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -54,5 +54,17 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"dwelling_type": "example",
|
||||
"dweller_role": "example",
|
||||
"update_interval_base": 0,
|
||||
"update_interval_variant": 0,
|
||||
"preferred_profession": "example",
|
||||
"can_find_poi": true,
|
||||
"can_migrate": true,
|
||||
"first_founding_reward": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -18,8 +18,16 @@
|
||||
"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",
|
||||
"items": [
|
||||
{ "type": "integer", "title": "A", "description": "Minimum" },
|
||||
{ "type": "integer", "title": "B", "description": "Maximum" }
|
||||
{
|
||||
"type": "integer",
|
||||
"title": "A",
|
||||
"description": "Minimum"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"title": "B",
|
||||
"description": "Maximum"
|
||||
}
|
||||
]
|
||||
},
|
||||
"display_name": {
|
||||
@@ -40,8 +48,16 @@
|
||||
"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",
|
||||
"items": [
|
||||
{ "type": "integer", "title": "A", "description": "Minimum" },
|
||||
{ "type": "integer", "title": "B", "description": "Maximum" }
|
||||
{
|
||||
"type": "integer",
|
||||
"title": "A",
|
||||
"description": "Minimum"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"title": "B",
|
||||
"description": "Maximum"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_nearby_cured_discount": {
|
||||
@@ -86,5 +102,21 @@
|
||||
"description": "Determines whether the legacy formula is used to determines the trade prices.",
|
||||
"title": "Use Legacy Price Formula"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"convert_trades_economy": false,
|
||||
"cured_discount": [],
|
||||
"display_name": "",
|
||||
"hero_demand_discount": -4,
|
||||
"max_cured_discount": [],
|
||||
"max_nearby_cured_discount": -200,
|
||||
"nearby_cured_discount": -25,
|
||||
"new_screen": false,
|
||||
"persist_trades": false,
|
||||
"show_trade_screen": true,
|
||||
"table": "",
|
||||
"use_legacy_price_formula": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -35,7 +35,23 @@
|
||||
"description": "The maximum distance another entity can be from this and have the filters checked against it.",
|
||||
"title": "Sensor Range"
|
||||
},
|
||||
"event_filters": { "$ref": "../../filters/filters.json" },
|
||||
"event": { "title": "Event", "description": "event", "type": "string" }
|
||||
}
|
||||
"event_filters": {
|
||||
"$ref": "../../filters/filters.json"
|
||||
},
|
||||
"event": {
|
||||
"title": "Event",
|
||||
"description": "event",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"maximum_count": -1,
|
||||
"minimum_count": 1,
|
||||
"relative_range": true,
|
||||
"require_all": false,
|
||||
"sensor_range": 10,
|
||||
"event": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,14 +4,26 @@
|
||||
"description": "Creates a trigger based on environment conditions.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"definitions": { "trigger": { "$ref": "../types/trigger.json" } },
|
||||
"definitions": {
|
||||
"trigger": {
|
||||
"$ref": "../types/trigger.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"triggers": {
|
||||
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
|
||||
"title": "Triggers",
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/trigger" } },
|
||||
{ "type": "object", "$ref": "#/definitions/trigger" }
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/trigger"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/trigger"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"title": "Equipment",
|
||||
"description": "Sets the equipment table to use for the entity.",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"slot_drop_chance": {
|
||||
"type": "array",
|
||||
@@ -22,7 +21,12 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"slot": { "type": "string", "title": "Slot", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
"slot": {
|
||||
"type": "string",
|
||||
"title": "Slot",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -31,5 +35,10 @@
|
||||
"description": "The file path to the equipment table, relative to the behavior pack's root.",
|
||||
"$ref": "../../../../general/loot_table/identifier.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"slot_drop_chance": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,7 +14,12 @@
|
||||
"title": "Slots",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"slot": { "type": "integer", "default": 0, "description": "The slot number of this slot.", "title": "Slot" },
|
||||
"slot": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The slot number of this slot.",
|
||||
"title": "Slot"
|
||||
},
|
||||
"accepted_items": {
|
||||
"type": "array",
|
||||
"description": "The list of items that can go in this slot.",
|
||||
@@ -49,5 +54,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"slots": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -17,5 +17,11 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"on_bred": 0,
|
||||
"on_death": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -33,7 +33,22 @@
|
||||
"default": [0.0, 0.0],
|
||||
"description": "The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.",
|
||||
"title": "Fuse Length",
|
||||
"oneOf": [{ "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }, { "type": "number" }]
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fuse_lit": {
|
||||
"type": "boolean",
|
||||
@@ -52,5 +67,16 @@
|
||||
"description": "The radius of the explosion in blocks and the amount of damage the explosion deals.",
|
||||
"title": "Power"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"breaks_blocks": true,
|
||||
"causes_fire": false,
|
||||
"destroy_affected_by_griefing": false,
|
||||
"fire_affected_by_griefing": false,
|
||||
"fuse_lit": false,
|
||||
"max_resistance": 0.0,
|
||||
"power": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,5 +6,17 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"required": [],
|
||||
"properties": { "value": { "type": "number", "default": 1, "description": "UNDOCUMENTED: value", "title": "Value" } }
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "UNDOCUMENTED: value",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"title": "Fire Immune",
|
||||
"additionalProperties": false,
|
||||
"description": "Sets that this entity doesn't take damage from fire.",
|
||||
"type": "object",
|
||||
"required": [],
|
||||
"properties": {}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,12 @@
|
||||
"description": "The amount of blocks away the entity will look at to push away from.",
|
||||
"title": "Block Distance"
|
||||
},
|
||||
"block_weight": { "type": "number", "default": 0, "description": "The weight of the push back away from blocks.", "title": "Block Weight" },
|
||||
"block_weight": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The weight of the push back away from blocks.",
|
||||
"title": "Block Weight"
|
||||
},
|
||||
"breach_influence": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -30,7 +35,12 @@
|
||||
"description": "The weight applied for the cohesion steering of the flock.",
|
||||
"title": "Cohesion Weight"
|
||||
},
|
||||
"goal_weight": { "type": "number", "default": 0, "description": "The weight on which to apply on the goal output.", "title": "Goal Weight" },
|
||||
"goal_weight": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The weight on which to apply on the goal output.",
|
||||
"title": "Goal Weight"
|
||||
},
|
||||
"high_flock_limit": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
@@ -73,8 +83,18 @@
|
||||
"description": "Tells the flockers that they can only match similar entities that also match the variant, mark variants, and color data of the other potential flockers.",
|
||||
"title": "Match Variants"
|
||||
},
|
||||
"max_height": { "type": "number", "default": 0, "description": "The Maximum height allowable in the air or water.", "title": "Maximum Height" },
|
||||
"min_height": { "type": "number", "default": 0, "description": "The Minimum height allowable in the air or water.", "title": "Minimum Height" },
|
||||
"max_height": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The Maximum height allowable in the air or water.",
|
||||
"title": "Maximum Height"
|
||||
},
|
||||
"min_height": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The Minimum height allowable in the air or water.",
|
||||
"title": "Minimum Height"
|
||||
},
|
||||
"separation_threshold": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
@@ -93,5 +113,27 @@
|
||||
"description": "Tells the flockers that they will follow flocks based on the center of mass.",
|
||||
"title": "Use Center Of Mass"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"block_distance": 0,
|
||||
"block_weight": 0,
|
||||
"breach_influence": 0,
|
||||
"cohesion_threshold": 1,
|
||||
"cohesion_weight": 1,
|
||||
"goal_weight": 0,
|
||||
"high_flock_limit": 0,
|
||||
"in_water": false,
|
||||
"influence_radius": 0,
|
||||
"innner_cohesion_threshold": 0,
|
||||
"loner_chance": 0,
|
||||
"low_flock_limit": 0,
|
||||
"match_variants": false,
|
||||
"max_height": 0,
|
||||
"min_height": 0,
|
||||
"separation_threshold": 2,
|
||||
"separation_weight": 1,
|
||||
"use_center_of_mass": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,5 +5,17 @@
|
||||
"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": "Value" } }
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": 0.02,
|
||||
"description": "Flying speed in blocks per tick",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.02
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,8 +5,24 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Value" },
|
||||
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Max" }
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Value"
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Max"
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED: "
|
||||
"description": "UNDOCUMENTED: ",
|
||||
"examples": [
|
||||
{
|
||||
"value": 0,
|
||||
"max": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,5 +5,17 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Sets the number of blocks the entity can step without jumping.",
|
||||
"required": [],
|
||||
"properties": { "value": { "type": "number", "default": 0.5, "description": "The value of the size of the entity's step", "title": "Value" } }
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
"description": "The value of the size of the entity's step",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"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": "Value"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -8,9 +8,17 @@
|
||||
"definitions": {
|
||||
"integer_range": {
|
||||
"title": "Range",
|
||||
"examples": [-1, { "range_min": 4, "range_max": 7 }],
|
||||
"examples": [
|
||||
-1,
|
||||
{
|
||||
"range_min": 4,
|
||||
"range_max": 7
|
||||
}
|
||||
],
|
||||
"oneOf": [
|
||||
{ "type": "integer" },
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -34,7 +42,6 @@
|
||||
"properties": {
|
||||
"mutation_rate": {
|
||||
"type": "number",
|
||||
|
||||
"description": "Chance that an allele will be replaced with a random one instead of the parent's allele during birth.",
|
||||
"title": "Mutation Rate"
|
||||
},
|
||||
@@ -92,5 +99,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"mutation_rate": 0.0,
|
||||
"genes": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"description": "Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.",
|
||||
"type": "object",
|
||||
"title": "Giveable",
|
||||
|
||||
"properties": {
|
||||
"triggers": {
|
||||
"description": "Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.",
|
||||
@@ -28,8 +27,17 @@
|
||||
"title": "Properties"
|
||||
}
|
||||
},
|
||||
"on_give": { "$ref": "../types/event.json", "description": "Event to fire when the correct item is given.", "title": "On Give" }
|
||||
"on_give": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to fire when the correct item is given.",
|
||||
"title": "On Give"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"triggers": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"description": "The value of the entity's offset from the terrain, in blocks",
|
||||
"title": "Value"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -9,6 +9,16 @@
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size."
|
||||
},
|
||||
"radius": { "type": "number", "default": 16, "description": "Radius from center of entity.", "title": "Radius" }
|
||||
}
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"default": 16,
|
||||
"description": "Radius from center of entity.",
|
||||
"title": "Radius"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"radius": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,6 +13,17 @@
|
||||
"maximum": 1,
|
||||
"title": "Chance"
|
||||
},
|
||||
"charges": { "type": "integer", "default": 10, "description": "Number of charges", "title": "Charges" }
|
||||
}
|
||||
"charges": {
|
||||
"type": "integer",
|
||||
"default": 10,
|
||||
"description": "Number of charges",
|
||||
"title": "Charges"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"chance": 0,
|
||||
"charges": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"filters": { "$ref": "../../filters/filters.json" },
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json"
|
||||
},
|
||||
"force_use": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -30,9 +32,19 @@
|
||||
"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" }
|
||||
"item": {
|
||||
"type": "string",
|
||||
"description": "Item identifier that can be used to heal this entity",
|
||||
"title": "Item"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"force_use": false,
|
||||
"items": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,14 +6,22 @@
|
||||
"title": "Health",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"dependencies": { "max": ["value"] },
|
||||
"dependencies": {
|
||||
"max": ["value"]
|
||||
},
|
||||
"properties": {
|
||||
"max": { "type": "integer", "description": "The maximum health the entity can heal", "title": "Maximum" },
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "The maximum health the entity can heal",
|
||||
"title": "Maximum"
|
||||
},
|
||||
"value": {
|
||||
"description": "Current health of the entity",
|
||||
"title": "Value",
|
||||
"oneOf": [
|
||||
{ "type": "integer" },
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -35,5 +43,10 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -22,5 +22,11 @@
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"restriction_radius": -1,
|
||||
"home_block_list": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,15 +5,27 @@
|
||||
"additionalProperties": false,
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Value",
|
||||
"oneOf": [
|
||||
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } },
|
||||
{ "type": "number" }
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"range_min": {
|
||||
"type": "number"
|
||||
},
|
||||
"range_max": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,8 +15,15 @@
|
||||
"description": "A condition used to compare the event to.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"filters": { "$ref": "../../filters/filters.json" },
|
||||
"cause": { "type": "string", "title": "Cause", "description": "Damage cause", "$ref": "../../../../general/entity/damage_source.json" },
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json"
|
||||
},
|
||||
"cause": {
|
||||
"type": "string",
|
||||
"title": "Cause",
|
||||
"description": "Damage cause",
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
"damage_per_tick": {
|
||||
"type": "integer",
|
||||
"title": "Damage Per Tick",
|
||||
@@ -25,5 +32,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"damage_conditions": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block": { "$ref": "../../../../general/block_definition.json" },
|
||||
"block": {
|
||||
"$ref": "../../../../general/block_definition.json"
|
||||
},
|
||||
"entered_block_event": {
|
||||
"title": "Entered Block Event",
|
||||
"description": "UNDOCUMENTED",
|
||||
@@ -32,5 +34,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"block_list": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"description": "Number of days the mob has to stay up until the insomnia effect begins.",
|
||||
"title": "Days Until Insomnia"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"days_until_insomnia": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -11,5 +11,10 @@
|
||||
"description": "If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.",
|
||||
"title": "Remove Child Entities"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"remove_child_entities": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -40,7 +40,11 @@
|
||||
"description": "Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls.",
|
||||
"title": "Interact Text"
|
||||
},
|
||||
"on_interact": { "$ref": "../types/trigger.json", "description": "Event to fire when the interaction occurs.", "title": "On Interact" },
|
||||
"on_interact": {
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Event to fire when the interaction occurs.",
|
||||
"title": "On Interact"
|
||||
},
|
||||
"particle_on_start": {
|
||||
"type": "object",
|
||||
"description": "Particle effect that will be triggered at the start of the interaction.",
|
||||
@@ -51,7 +55,11 @@
|
||||
"description": "Whether or not the particle will appear closer to who performed the interaction.",
|
||||
"title": "Particle Offset Towards Interactor"
|
||||
},
|
||||
"particle_type": { "type": "string", "description": "The type of particle that will be spawned.", "title": "Particle Type" },
|
||||
"particle_type": {
|
||||
"type": "string",
|
||||
"description": "The type of particle that will be spawned.",
|
||||
"title": "Particle Type"
|
||||
},
|
||||
"particle_y_offset": {
|
||||
"type": "number",
|
||||
"description": "Will offset the particle this amount in the y direction.",
|
||||
@@ -96,7 +104,12 @@
|
||||
"title": "Transform To Item",
|
||||
"description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"
|
||||
},
|
||||
"use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item.", "title": "Use Item" }
|
||||
"use_item": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the interaction will use an item.",
|
||||
"title": "Use Item"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -105,8 +118,16 @@
|
||||
"description": "The interactions",
|
||||
"title": "Interactions",
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/interaction_spec" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/interaction_spec" } }
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/interaction_spec"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/interaction_spec"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"type": "object",
|
||||
"title": "Inventory",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"additional_slots_per_strength": {
|
||||
"type": "integer",
|
||||
@@ -25,13 +24,33 @@
|
||||
"title": "Container Type",
|
||||
"enum": ["horse", "minecart_chest", "minecart_hopper", "inventory", "container", "hopper"]
|
||||
},
|
||||
"inventory_size": { "type": "integer", "default": 5, "description": "Number of slots the container has", "title": "Inventory Size" },
|
||||
"private": { "type": "boolean", "default": false, "description": "If true, only the entity can access the inventory", "title": "Private" },
|
||||
"inventory_size": {
|
||||
"type": "integer",
|
||||
"default": 5,
|
||||
"description": "Number of slots the container has",
|
||||
"title": "Inventory Size"
|
||||
},
|
||||
"private": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, only the entity can access the inventory",
|
||||
"title": "Private"
|
||||
},
|
||||
"restrict_to_owner": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the entity's inventory can only be accessed by its owner or itself",
|
||||
"title": "Restrict To Owner"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"additional_slots_per_strength": 0,
|
||||
"can_be_siphoned_from": false,
|
||||
"container_type": "none",
|
||||
"inventory_size": 5,
|
||||
"private": false,
|
||||
"restrict_to_owner": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -11,5 +11,10 @@
|
||||
"description": "The text that will display when interacting with this entity with a dye when playing with Touch-screen controls",
|
||||
"title": "Interact Text"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"interact_text": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -9,8 +9,17 @@
|
||||
"control_items": {
|
||||
"description": "List of items that can be used to control this entity",
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "type": "string", "description": "An item that can be used to control this entity", "title": "Item" } },
|
||||
{ "type": "string" }
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "An item that can be used to control this entity",
|
||||
"title": "Item"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"title": "Control Items"
|
||||
}
|
||||
|
||||
@@ -6,6 +6,16 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"jump_power": { "type": "number", "default": 0.42, "description": "The initial vertical velocity for the jump", "title": "Jump Power" }
|
||||
}
|
||||
"jump_power": {
|
||||
"type": "number",
|
||||
"default": 0.42,
|
||||
"description": "The initial vertical velocity for the jump",
|
||||
"title": "Jump Power"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"jump_power": 0.42
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,23 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Value" },
|
||||
"max": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Maximum" }
|
||||
}
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Value"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Maximum"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0,
|
||||
"max": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,6 +7,16 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": { "type": "number", "title": "Value", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
}
|
||||
"value": {
|
||||
"type": "number",
|
||||
"title": "Value",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -17,14 +17,35 @@
|
||||
"description": "Distance in blocks at which the leash stiffens, restricting movement.",
|
||||
"title": "Hard Distance"
|
||||
},
|
||||
"max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks.", "title": "Maximum Distance" },
|
||||
"on_leash": { "$ref": "../types/event.json", "description": "Event to call when this entity is leashed.", "title": "On Leash" },
|
||||
"on_unleash": { "$ref": "../types/event.json", "description": "Event to call when this entity is unleashed.", "title": "On Unleash" },
|
||||
"max_distance": {
|
||||
"type": "number",
|
||||
"default": 10,
|
||||
"description": "Distance in blocks at which the leash breaks.",
|
||||
"title": "Maximum Distance"
|
||||
},
|
||||
"on_leash": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to call when this entity is leashed.",
|
||||
"title": "On Leash"
|
||||
},
|
||||
"on_unleash": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to call when this entity is unleashed.",
|
||||
"title": "On Unleash"
|
||||
},
|
||||
"soft_distance": {
|
||||
"type": "number",
|
||||
"default": 4,
|
||||
"description": "Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it.",
|
||||
"title": "Soft Distance"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"can_be_stolen": false,
|
||||
"hard_distance": 6,
|
||||
"max_distance": 10,
|
||||
"soft_distance": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"type": "object",
|
||||
"title": "Lookat",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"allow_invulnerable": {
|
||||
"type": "boolean",
|
||||
@@ -12,7 +11,11 @@
|
||||
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.",
|
||||
"title": "Allow Invulnerable"
|
||||
},
|
||||
"filters": { "$ref": "../../filters/filters.json", "description": "Defines the entities that can trigger this component", "title": "Filters" },
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Defines the entities that can trigger this component",
|
||||
"title": "Filters"
|
||||
},
|
||||
"look_cooldown": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [0.0, 0.0],
|
||||
@@ -36,5 +39,12 @@
|
||||
"description": "If true, this entity will set the attack target as the entity that looked at it.",
|
||||
"title": "Set Target"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"allow_invulnerable": false,
|
||||
"search_radius": 10,
|
||||
"set_target": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"examples": [
|
||||
{
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -11,7 +11,12 @@
|
||||
"description": "How close a hostile entity must be to have the mob effect applied.",
|
||||
"title": "Effect Range"
|
||||
},
|
||||
"effect_time": { "type": "integer", "default": 10, "description": "How long the applied mob effect lasts in seconds.", "title": "Effect Time" },
|
||||
"effect_time": {
|
||||
"type": "integer",
|
||||
"default": 10,
|
||||
"description": "How long the applied mob effect lasts in seconds.",
|
||||
"title": "Effect Time"
|
||||
},
|
||||
"mob_effect": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
@@ -23,5 +28,12 @@
|
||||
"title": "Entity Filter",
|
||||
"description": "Filter to use for conditions"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"effect_range": 0.2,
|
||||
"effect_time": 10,
|
||||
"mob_effect": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"title": "Maximum Turn"
|
||||
}
|
||||
},
|
||||
"description": "This move control allows the mob to swim in water and walk on land."
|
||||
"description": "This move control allows the mob to swim in water and walk on land.",
|
||||
"examples": [
|
||||
{
|
||||
"max_turn": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||
"title": "Maximum Turn"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max_turn": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||
"title": "Maximum Turn"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max_turn": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||
"title": "Maximum Turn"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max_turn": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -19,5 +19,11 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"start_speed": 0.0,
|
||||
"speed_when_turning": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -11,5 +11,10 @@
|
||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||
"title": "Maximum Turn"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max_turn": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -15,19 +15,46 @@
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Maximum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "type": "number" },
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Range",
|
||||
"properties": { "range_min": { "type": "number", "title": "Range Minimum" }, "range_max": { "type": "number", "title": "Range Maximum" } }
|
||||
"properties": {
|
||||
"range_min": {
|
||||
"type": "number",
|
||||
"title": "Range Minimum"
|
||||
},
|
||||
"range_max": {
|
||||
"type": "number",
|
||||
"title": "Range Maximum"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max": { "type": "number", "title": "Maximum", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
}
|
||||
"max": {
|
||||
"type": "number",
|
||||
"title": "Maximum",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"title": "Movement.jump",
|
||||
"description": "Move control that causes the mob to jump as it moves with a specified delay between jumps.",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"jump_delay": {
|
||||
"type": "array",
|
||||
@@ -12,8 +11,14 @@
|
||||
"description": "Delay after landing when using the slime move control.",
|
||||
"title": "Jump Delay",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Minimum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Minimum"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_turn": {
|
||||
@@ -22,5 +27,11 @@
|
||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||
"title": "Maximum Turn"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"jump_delay": [],
|
||||
"max_turn": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||
"title": "Maximum Turn"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max_turn": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,5 +16,11 @@
|
||||
"description": "The amount of sway that is allowed for movement.",
|
||||
"title": "Sway Amplitude"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"max_turn": 30,
|
||||
"sway_amplitude": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"title": "Nameable",
|
||||
"additionalProperties": false,
|
||||
"description": "Allows this entity to be named (e.g. using a name tag).",
|
||||
|
||||
"definitions": {
|
||||
"name_action": {
|
||||
"type": "object",
|
||||
@@ -33,15 +32,38 @@
|
||||
"description": "If true, this entity can be renamed with name tags",
|
||||
"title": "Allow Name Tag Renaming"
|
||||
},
|
||||
"always_show": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "Always Show" },
|
||||
"default_trigger": { "$ref": "../types/trigger.json", "description": "Trigger to run when the entity gets named", "title": "Default Trigger" },
|
||||
"always_show": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the name will always be shown",
|
||||
"title": "Always Show"
|
||||
},
|
||||
"default_trigger": {
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Trigger to run when the entity gets named",
|
||||
"title": "Default Trigger"
|
||||
},
|
||||
"name_actions": {
|
||||
"title": "Name Actions",
|
||||
"description": "Describes the special names for this entity and the events to call when the entity acquires those names",
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/name_action" } },
|
||||
{ "type": "object", "$ref": "#/definitions/name_action" }
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/name_action"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/name_action"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"allow_name_tag_renaming": true,
|
||||
"always_show": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -123,5 +123,28 @@
|
||||
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
|
||||
"title": "Is Amphibious"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"avoid_damage_blocks": false,
|
||||
"avoid_portals": false,
|
||||
"avoid_sun": false,
|
||||
"avoid_water": false,
|
||||
"blocks_to_avoid": [],
|
||||
"can_breach": false,
|
||||
"can_break_doors": false,
|
||||
"can_jump": true,
|
||||
"can_open_doors": false,
|
||||
"can_open_iron_doors": false,
|
||||
"can_pass_doors": true,
|
||||
"can_path_from_air": false,
|
||||
"can_path_over_lava": false,
|
||||
"can_path_over_water": false,
|
||||
"can_sink": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"can_walk_in_lava": false,
|
||||
"is_amphibious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -123,5 +123,28 @@
|
||||
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
|
||||
"title": "Is Amphibious"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"avoid_damage_blocks": false,
|
||||
"avoid_portals": false,
|
||||
"avoid_sun": false,
|
||||
"avoid_water": false,
|
||||
"blocks_to_avoid": [],
|
||||
"can_breach": false,
|
||||
"can_break_doors": false,
|
||||
"can_jump": true,
|
||||
"can_open_doors": false,
|
||||
"can_open_iron_doors": false,
|
||||
"can_pass_doors": true,
|
||||
"can_path_from_air": false,
|
||||
"can_path_over_lava": false,
|
||||
"can_path_over_water": false,
|
||||
"can_sink": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"can_walk_in_lava": false,
|
||||
"is_amphibious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -123,5 +123,28 @@
|
||||
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
|
||||
"title": "Is Amphibious"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"avoid_damage_blocks": false,
|
||||
"avoid_portals": false,
|
||||
"avoid_sun": false,
|
||||
"avoid_water": false,
|
||||
"blocks_to_avoid": [],
|
||||
"can_breach": false,
|
||||
"can_break_doors": false,
|
||||
"can_jump": true,
|
||||
"can_open_doors": false,
|
||||
"can_open_iron_doors": false,
|
||||
"can_pass_doors": true,
|
||||
"can_path_from_air": false,
|
||||
"can_path_over_lava": false,
|
||||
"can_path_over_water": false,
|
||||
"can_sink": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"can_walk_in_lava": false,
|
||||
"is_amphibious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -123,5 +123,28 @@
|
||||
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
|
||||
"title": "Is Amphibious"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"avoid_damage_blocks": false,
|
||||
"avoid_portals": false,
|
||||
"avoid_sun": false,
|
||||
"avoid_water": false,
|
||||
"blocks_to_avoid": [],
|
||||
"can_breach": false,
|
||||
"can_break_doors": false,
|
||||
"can_jump": true,
|
||||
"can_open_doors": false,
|
||||
"can_open_iron_doors": false,
|
||||
"can_pass_doors": true,
|
||||
"can_path_from_air": false,
|
||||
"can_path_over_lava": false,
|
||||
"can_path_over_water": false,
|
||||
"can_sink": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"can_walk_in_lava": false,
|
||||
"is_amphibious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -123,5 +123,28 @@
|
||||
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
|
||||
"title": "Is Amphibious"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"avoid_damage_blocks": false,
|
||||
"avoid_portals": false,
|
||||
"avoid_sun": false,
|
||||
"avoid_water": false,
|
||||
"blocks_to_avoid": [],
|
||||
"can_breach": false,
|
||||
"can_break_doors": false,
|
||||
"can_jump": true,
|
||||
"can_open_doors": false,
|
||||
"can_open_iron_doors": false,
|
||||
"can_pass_doors": true,
|
||||
"can_path_from_air": false,
|
||||
"can_path_over_lava": false,
|
||||
"can_path_over_water": false,
|
||||
"can_sink": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"can_walk_in_lava": false,
|
||||
"is_amphibious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -123,5 +123,28 @@
|
||||
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
|
||||
"title": "Is Amphibious"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"avoid_damage_blocks": false,
|
||||
"avoid_portals": false,
|
||||
"avoid_sun": false,
|
||||
"avoid_water": false,
|
||||
"blocks_to_avoid": [],
|
||||
"can_breach": false,
|
||||
"can_break_doors": false,
|
||||
"can_jump": true,
|
||||
"can_open_doors": false,
|
||||
"can_open_iron_doors": false,
|
||||
"can_pass_doors": true,
|
||||
"can_path_from_air": false,
|
||||
"can_path_over_lava": false,
|
||||
"can_path_over_water": false,
|
||||
"can_sink": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"can_walk_in_lava": false,
|
||||
"is_amphibious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -123,5 +123,28 @@
|
||||
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
|
||||
"title": "Is Amphibious"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"avoid_damage_blocks": false,
|
||||
"avoid_portals": false,
|
||||
"avoid_sun": false,
|
||||
"avoid_water": false,
|
||||
"blocks_to_avoid": [],
|
||||
"can_breach": false,
|
||||
"can_break_doors": false,
|
||||
"can_jump": true,
|
||||
"can_open_doors": false,
|
||||
"can_open_iron_doors": false,
|
||||
"can_pass_doors": true,
|
||||
"can_path_from_air": false,
|
||||
"can_path_over_lava": false,
|
||||
"can_path_over_water": false,
|
||||
"can_sink": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"can_walk_in_lava": false,
|
||||
"is_amphibious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -8,9 +8,18 @@
|
||||
"rangeXYZ": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "X" },
|
||||
{ "type": "number", "title": "Y" },
|
||||
{ "type": "number", "title": "Z" }
|
||||
{
|
||||
"type": "number",
|
||||
"title": "X"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Y"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -76,11 +85,22 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"variant": { "title": "Variant", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 }
|
||||
"variant": {
|
||||
"title": "Variant",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"npc_data": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,8 +6,16 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"on_close": { "$ref": "../types/event.json", "description": "Event to call when the entity is done peeking", "title": "On Close" },
|
||||
"on_open": { "$ref": "../types/event.json", "description": "Event to call when the entity starts peeking", "title": "On Open" },
|
||||
"on_close": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to call when the entity is done peeking",
|
||||
"title": "On Close"
|
||||
},
|
||||
"on_open": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to call when the entity starts peeking",
|
||||
"title": "On Open"
|
||||
},
|
||||
"on_target_open": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to call when the entity's target entity starts peeking",
|
||||
|
||||
@@ -12,6 +12,17 @@
|
||||
"description": "Whether or not the object collides with things.",
|
||||
"title": "Has Collision"
|
||||
},
|
||||
"has_gravity": { "type": "boolean", "default": true, "description": "Whether or not the entity is affected by gravity.", "title": "Has Gravity" }
|
||||
}
|
||||
"has_gravity": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Whether or not the entity is affected by gravity.",
|
||||
"title": "Has Gravity"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"has_collision": true,
|
||||
"has_gravity": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -21,5 +21,11 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true,
|
||||
"max": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -21,5 +21,11 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true,
|
||||
"max": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -21,5 +21,11 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true,
|
||||
"max": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,5 +14,10 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,8 +6,18 @@
|
||||
"additionalProperties": false,
|
||||
"required": ["preferred_path_blocks"],
|
||||
"properties": {
|
||||
"default_block_cost": { "type": "number", "default": 0, "description": "Cost for non-preferred blocks", "title": "Default Block Cost" },
|
||||
"jump_cost": { "type": "integer", "default": 0, "description": "Added cost for jumping up a node", "title": "Jump Cost" },
|
||||
"default_block_cost": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Cost for non-preferred blocks",
|
||||
"title": "Default Block Cost"
|
||||
},
|
||||
"jump_cost": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Added cost for jumping up a node",
|
||||
"title": "Jump Cost"
|
||||
},
|
||||
"max_fall_blocks": {
|
||||
"type": "integer",
|
||||
"default": 3,
|
||||
@@ -22,8 +32,26 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "Blocks cost",
|
||||
"properties": { "cost": { "type": "number" }, "blocks": { "type": "array", "items": { "$ref": "../../../../general/blocks_item.json" } } }
|
||||
"properties": {
|
||||
"cost": {
|
||||
"type": "number"
|
||||
},
|
||||
"blocks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../../general/blocks_item.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"default_block_cost": 0,
|
||||
"jump_cost": 0,
|
||||
"max_fall_blocks": 3,
|
||||
"preferred_path_blocks": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,14 +5,24 @@
|
||||
"description": "Allows the entity to be a thrown entity.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"anchor": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Anchor" },
|
||||
"anchor": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Anchor"
|
||||
},
|
||||
"angle_offset": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Determines the angle at which the projectile is thrown",
|
||||
"title": "Angle Offset"
|
||||
},
|
||||
"catch_fire": { "type": "boolean", "default": false, "description": "If true, the entity hit will be set on fire", "title": "Catch Fire" },
|
||||
"catch_fire": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the entity hit will be set on fire",
|
||||
"title": "Catch Fire"
|
||||
},
|
||||
"crit_particle_on_hurt": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -43,8 +53,18 @@
|
||||
"description": "The gravity applied to this entity when thrown. The higher the value, the faster the entity falls",
|
||||
"title": "Gravity"
|
||||
},
|
||||
"hit_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile hits something", "title": "Hit Sound" },
|
||||
"homing": { "type": "boolean", "default": false, "description": "If true, the projectile homes in to the nearest entity", "title": "Homing" },
|
||||
"hit_sound": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The sound that plays when the projectile hits something",
|
||||
"title": "Hit Sound"
|
||||
},
|
||||
"homing": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the projectile homes in to the nearest entity",
|
||||
"title": "Homing"
|
||||
},
|
||||
"inertia": {
|
||||
"type": "number",
|
||||
"default": 0.99,
|
||||
@@ -63,7 +83,12 @@
|
||||
"description": "If true, the projectile will knock back the entity it hits",
|
||||
"title": "Knockback"
|
||||
},
|
||||
"lightning": { "type": "boolean", "default": false, "description": "If true, the entity hit will be struck by lightning", "title": "Lightning" },
|
||||
"lightning": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the entity hit will be struck by lightning",
|
||||
"title": "Lightning"
|
||||
},
|
||||
"liquid_inertia": {
|
||||
"type": "number",
|
||||
"default": 0.6,
|
||||
@@ -82,9 +107,21 @@
|
||||
"description": "The offset from the entity's anchor where the projectile will spawn",
|
||||
"title": "Offset",
|
||||
"items": [
|
||||
{ "type": "number", "description": "X", "title": "X" },
|
||||
{ "type": "number", "description": "Y", "title": "Y" },
|
||||
{ "type": "number", "description": "Z", "title": "Z" }
|
||||
{
|
||||
"type": "number",
|
||||
"description": "X",
|
||||
"title": "X"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "Y",
|
||||
"title": "Y"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "Z",
|
||||
"title": "Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"on_fire_time": {
|
||||
@@ -122,11 +159,23 @@
|
||||
"title": "Event",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"affect_projectile": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Affect Projectile" },
|
||||
"event_trigger": { "$ref": "../types/event.json" }
|
||||
"affect_projectile": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Affect Projectile"
|
||||
},
|
||||
"event_trigger": {
|
||||
"$ref": "../types/event.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"douse_fire": { "type": "object", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Douse Fire" },
|
||||
"douse_fire": {
|
||||
"type": "object",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Douse Fire"
|
||||
},
|
||||
"impact_damage": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -134,11 +183,36 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Impact Damage",
|
||||
"properties": {
|
||||
"filter": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Filter" },
|
||||
"catch_fire": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Catch Fire" },
|
||||
"damage": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Damage" },
|
||||
"destroy_on_hit": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Destroy On Hit" },
|
||||
"knockback": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Knockback" },
|
||||
"filter": {
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Filter"
|
||||
},
|
||||
"catch_fire": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Catch Fire"
|
||||
},
|
||||
"damage": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Damage"
|
||||
},
|
||||
"destroy_on_hit": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Destroy On Hit"
|
||||
},
|
||||
"knockback": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Knockback"
|
||||
},
|
||||
"semi_random_diff_damage": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
@@ -154,10 +228,30 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Particle On Hit",
|
||||
"properties": {
|
||||
"particle_type": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Particle Type" },
|
||||
"num_particles": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Num Particles" },
|
||||
"on_entity_hit": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "On Entity Hit" },
|
||||
"on_other_hit": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "On Other Hit" }
|
||||
"particle_type": {
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Particle Type"
|
||||
},
|
||||
"num_particles": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Num Particles"
|
||||
},
|
||||
"on_entity_hit": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "On Entity Hit"
|
||||
},
|
||||
"on_other_hit": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "On Other Hit"
|
||||
}
|
||||
}
|
||||
},
|
||||
"remove_on_hit": {
|
||||
@@ -180,23 +274,78 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "First Spawn Percent Chance"
|
||||
},
|
||||
"first_spawn_chance": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "First Spawn Chance" },
|
||||
"second_spawn_chance": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Second Spawn Chance" },
|
||||
"first_spawn_count": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "First Spawn Count" },
|
||||
"second_spawn_count": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Second Spawn Count" },
|
||||
"spawn_definition": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Spawn Definition" },
|
||||
"spawn_baby": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Spawn Baby" }
|
||||
"first_spawn_chance": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "First Spawn Chance"
|
||||
},
|
||||
"second_spawn_chance": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Second Spawn Chance"
|
||||
},
|
||||
"first_spawn_count": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "First Spawn Count"
|
||||
},
|
||||
"second_spawn_count": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Second Spawn Count"
|
||||
},
|
||||
"spawn_definition": {
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Spawn Definition"
|
||||
},
|
||||
"spawn_baby": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Spawn Baby"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spawn_aoe_cloud": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"radius": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Radius" },
|
||||
"radius_on_use": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Radius On Use" },
|
||||
"potion": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Potion" },
|
||||
"particle": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Particle" },
|
||||
"duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" },
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Radius"
|
||||
},
|
||||
"radius_on_use": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Radius On Use"
|
||||
},
|
||||
"potion": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Potion"
|
||||
},
|
||||
"particle": {
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Particle"
|
||||
},
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Duration"
|
||||
},
|
||||
"color": {
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
@@ -204,13 +353,41 @@
|
||||
"type": "array",
|
||||
"format": "color-array",
|
||||
"items": [
|
||||
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "R", "title": "R" },
|
||||
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "G", "title": "G" },
|
||||
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "B", "title": "B" }
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 255,
|
||||
"description": "R",
|
||||
"title": "R"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 255,
|
||||
"description": "G",
|
||||
"title": "G"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 255,
|
||||
"description": "B",
|
||||
"title": "B"
|
||||
}
|
||||
]
|
||||
},
|
||||
"affect_owner": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Affect Owner" },
|
||||
"reapplication_delay": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Reapplication Delay" }
|
||||
"affect_owner": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Affect Owner"
|
||||
},
|
||||
"reapplication_delay": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Reapplication Delay"
|
||||
}
|
||||
}
|
||||
},
|
||||
"stick_in_ground": {
|
||||
@@ -229,14 +406,24 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"particle": { "type": "string", "default": "iconcrack", "description": "Particle to use upon collision", "title": "Particle" },
|
||||
"particle": {
|
||||
"type": "string",
|
||||
"default": "iconcrack",
|
||||
"description": "Particle to use upon collision",
|
||||
"title": "Particle"
|
||||
},
|
||||
"potion_effect": {
|
||||
"type": "integer",
|
||||
"default": -1,
|
||||
"description": "Defines the effect the arrow will apply to the entity it hits",
|
||||
"title": "Potion Effect"
|
||||
},
|
||||
"power": { "type": "number", "default": 1.3, "description": "Determines the velocity of the projectile", "title": "Power" },
|
||||
"power": {
|
||||
"type": "number",
|
||||
"default": 1.3,
|
||||
"description": "Determines the velocity of the projectile",
|
||||
"title": "Power"
|
||||
},
|
||||
"reflect_on_hurt": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -249,21 +436,36 @@
|
||||
"description": "If true, damage will be randomized based on damage and speed",
|
||||
"title": "Semi Random Diff Damage"
|
||||
},
|
||||
"shoot_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile is shot", "title": "Shoot Sound" },
|
||||
"shoot_sound": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The sound that plays when the projectile is shot",
|
||||
"title": "Shoot Sound"
|
||||
},
|
||||
"shoot_target": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the projectile will be shot towards the target of the entity firing it",
|
||||
"title": "Shoot Target"
|
||||
},
|
||||
"should_bounce": { "type": "boolean", "default": false, "description": "If true, the projectile will bounce upon hit", "title": "Should Bounce" },
|
||||
"should_bounce": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the projectile will bounce upon hit",
|
||||
"title": "Should Bounce"
|
||||
},
|
||||
"splash_potion": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the projectile will be treated like a splash potion",
|
||||
"title": "Splash Potion"
|
||||
},
|
||||
"splash_range": { "type": "number", "default": 4, "description": "Radius in blocks of the `splash` effect", "title": "Splash Range" },
|
||||
"splash_range": {
|
||||
"type": "number",
|
||||
"default": 4,
|
||||
"description": "Radius in blocks of the `splash` effect",
|
||||
"title": "Splash Range"
|
||||
},
|
||||
"uncertainty_base": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -276,5 +478,40 @@
|
||||
"description": "Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
|
||||
"title": "Uncertainty Multiplier"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"anchor": 0,
|
||||
"angle_offset": 0,
|
||||
"catch_fire": false,
|
||||
"crit_particle_on_hurt": false,
|
||||
"destroy_on_hurt": false,
|
||||
"filter": "",
|
||||
"fire_affected_by_griefing": false,
|
||||
"gravity": 0.05,
|
||||
"hit_sound": "",
|
||||
"homing": false,
|
||||
"inertia": 0.99,
|
||||
"is_dangerous": false,
|
||||
"knockback": true,
|
||||
"lightning": false,
|
||||
"liquid_inertia": 0.6,
|
||||
"multiple_targets": true,
|
||||
"offset": [],
|
||||
"on_fire_time": 5,
|
||||
"on_hit": {},
|
||||
"particle": "iconcrack",
|
||||
"potion_effect": -1,
|
||||
"power": 1.3,
|
||||
"reflect_on_hurt": false,
|
||||
"semi_random_diff_damage": false,
|
||||
"shoot_sound": "",
|
||||
"shoot_target": true,
|
||||
"should_bounce": false,
|
||||
"splash_potion": false,
|
||||
"splash_range": 4,
|
||||
"uncertainty_base": 0,
|
||||
"uncertainty_multiplier": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user