auto: Formatted documents

This commit is contained in:
DaanV2
2021-05-18 23:32:44 +02:00
parent 6963d4eaab
commit 5b784a9cfc
400 changed files with 6276 additions and 1125 deletions

View File

@@ -14,7 +14,10 @@
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/animation_controller.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/animation_controller.json" } },
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "./1.10.0/animation_controller.json" }
},
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -77,7 +77,10 @@
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"additionalProperties": {
"oneOf": [{ "$ref": "#/definitions/commands" }, { "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } }]
"oneOf": [
{ "$ref": "#/definitions/commands" },
{ "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } }
]
}
}
}

View File

@@ -28,7 +28,11 @@
}
},
"sea_material": { "title": "Sea Material", "description": "Material used to replace air blocks below sea level.", "type": "string" },
"foundation_material": { "title": "Foundation Material", "description": "Material used to repalce solid blocks that are not surface blocks.", "type": "string" },
"foundation_material": {
"title": "Foundation Material",
"description": "Material used to repalce solid blocks that are not surface blocks.",
"type": "string"
},
"beach_material": { "title": "Beach Material", "description": "Material used to decorate surface near sea level.", "type": "string" }
}
}

View File

@@ -9,10 +9,30 @@
"additionalProperties": false,
"properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "title": "Mid Material", "description": "Controls the block type used in a layer below the surface of this biome.", "string": "string" },
"sea_floor_material": { "title": "Sea Floor Material", "description": "Controls the block type used as a floor for bodies of water in this biome.", "string": "boostringlean" },
"foundation_material": { "title": "Foundation Material", "description": "Controls the block type used deep underground in this biome.", "string": "string" },
"sea_material": { "title": "Sea Material", "description": "Controls the block type used for the bodies of water in this biome.", "string": "string" },
"sea_floor_depth": { "title": "Sea Floor Depth", "description": "Controls how deep below the world water level the floor should occur.", "type": "integer" }
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"string": "string"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"string": "string"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
}
}
}

View File

@@ -9,11 +9,31 @@
"additionalProperties": false,
"properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "title": "Mid Material", "description": "Controls the block type used in a layer below the surface of this biome.", "string": "string" },
"sea_floor_material": { "title": "Sea Floor Material", "description": "Controls the block type used as a floor for bodies of water in this biome.", "string": "boostringlean" },
"foundation_material": { "title": "Foundation Material", "description": "Controls the block type used deep underground in this biome.", "string": "string" },
"sea_material": { "title": "Sea Material", "description": "Controls the block type used for the bodies of water in this biome.", "string": "string" },
"sea_floor_depth": { "title": "Sea Floor Depth", "description": "Controls how deep below the world water level the floor should occur.", "type": "integer" },
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"string": "string"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"string": "string"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
},
"clay_material": { "title": "Clay Material", "description": "UNDOCUMENTATED", "type": "string" },
"hard_clay_material": { "title": "Hard Clay Material", "description": "UNDOCUMENTATED", "type": "string" },
"bryce_pillars": { "title": "Bryce Pillars", "description": "UNDOCUMENTATED", "type": "boolean" },

View File

@@ -6,10 +6,26 @@
"type": "object",
"additionalProperties": false,
"properties": {
"target_temperature": { "title": "Target Temperature", "description": "Temperature with which this biome should selected, relative to other biomes.", "type": "number" },
"target_humidity": { "title": "Target Humidity", "description": "Humidity with which this biome should selected, relative to other biomes.", "type": "number" },
"target_altitude": { "title": "Target Altitude", "description": "Altitude with which this biome should selected, relative to other biomes.", "type": "number" },
"target_weirdness": { "title": "Target Weirdness", "description": "Weirdness with which this biome should selected, relative to other biomes.", "type": "number" },
"target_temperature": {
"title": "Target Temperature",
"description": "Temperature with which this biome should selected, relative to other biomes.",
"type": "number"
},
"target_humidity": {
"title": "Target Humidity",
"description": "Humidity with which this biome should selected, relative to other biomes.",
"type": "number"
},
"target_altitude": {
"title": "Target Altitude",
"description": "Altitude with which this biome should selected, relative to other biomes.",
"type": "number"
},
"target_weirdness": {
"title": "Target Weirdness",
"description": "Weirdness with which this biome should selected, relative to other biomes.",
"type": "number"
},
"weight": { "title": "Weight", "description": "Weight with which this biome should selected, relative to other biomes.", "type": "number" }
}
}

View File

@@ -9,10 +9,30 @@
"additionalProperties": false,
"properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "title": "Mid Material", "description": "Controls the block type used in a layer below the surface of this biome.", "string": "string" },
"sea_floor_material": { "title": "Sea Floor Material", "description": "Controls the block type used as a floor for bodies of water in this biome.", "string": "boostringlean" },
"foundation_material": { "title": "Foundation Material", "description": "Controls the block type used deep underground in this biome.", "string": "string" },
"sea_material": { "title": "Sea Material", "description": "Controls the block type used for the bodies of water in this biome.", "string": "string" },
"sea_floor_depth": { "title": "Sea Floor Depth", "description": "Controls how deep below the world water level the floor should occur.", "type": "integer" }
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"string": "string"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"string": "string"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
}
}
}

View File

@@ -9,10 +9,30 @@
"additionalProperties": false,
"properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "title": "Mid Material", "description": "Controls the block type used in a layer below the surface of this biome.", "string": "string" },
"sea_floor_material": { "title": "Sea Floor Material", "description": "Controls the block type used as a floor for bodies of water in this biome.", "string": "boostringlean" },
"foundation_material": { "title": "Foundation Material", "description": "Controls the block type used deep underground in this biome.", "string": "string" },
"sea_material": { "title": "Sea Material", "description": "Controls the block type used for the bodies of water in this biome.", "string": "string" },
"sea_floor_depth": { "title": "Sea Floor Depth", "description": "Controls how deep below the world water level the floor should occur.", "type": "integer" }
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"string": "string"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"string": "string"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
}
}
}

View File

@@ -7,7 +7,17 @@
"description": "Describes the flammable properties for this block.",
"additionalItems": false,
"properties": {
"burn_odds": { "type": "integer", "default": 0, "description": "How likely the block will be destroyed by flames when on fire.", "title": "Burn Odds" },
"flame_odds": { "type": "integer", "default": 0, "description": "How likely the block will catch flame when next to a fire.", "title": "Flame Odds" }
"burn_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will be destroyed by flames when on fire.",
"title": "Burn Odds"
},
"flame_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will catch flame when next to a fire.",
"title": "Flame Odds"
}
}
}

View File

@@ -7,7 +7,17 @@
"description": "Describes the flammable properties for this block.",
"additionalItems": false,
"properties": {
"burn_odds": { "type": "integer", "default": 0, "description": "How likely the block will be destroyed by flames when on fire.", "title": "Burn Odds" },
"flame_odds": { "type": "integer", "default": 0, "description": "How likely the block will catch flame when next to a fire.", "title": "Flame Odds" }
"burn_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will be destroyed by flames when on fire.",
"title": "Burn Odds"
},
"flame_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will catch flame when next to a fire.",
"title": "Flame Odds"
}
}
}

View File

@@ -12,7 +12,12 @@
"type": "string",
"additionalProperties": false,
"properties": {
"condition": { "title": "Condition", "type": "string", "default": "1", "description": "The condition of event to be executed on the block. Molang" },
"condition": {
"title": "Condition",
"type": "string",
"default": "1",
"description": "The condition of event to be executed on the block. Molang"
},
"event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." },
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
"target": {
@@ -24,6 +29,11 @@
}
},
"looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" },
"range": { "type": "array", "default": [10, 10], "description": "The Range between which the component will trigger his event.", "title": "Range" }
"range": {
"type": "array",
"default": [10, 10],
"description": "The Range between which the component will trigger his event.",
"title": "Range"
}
}
}

View File

@@ -6,7 +6,12 @@
"title": "Remove Mob Effect",
"additionalProperties": false,
"properties": {
"effect": { "type": "string", "default": "", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "title": "Effect" },
"effect": {
"type": "string",
"default": "",
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
"title": "Effect"
},
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
}
}

View File

@@ -6,5 +6,7 @@
"title": "Spawn Loot",
"required": ["table"],
"additionalProperties": false,
"properties": { "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } }
"properties": {
"table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
}
}

View File

@@ -6,7 +6,12 @@
"title": "Teleport",
"additionalProperties": false,
"properties": {
"avoid_water": { "type": "boolean", "default": true, "description": "Determines if the teleport avoids putting the target in water.", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": true,
"description": "Determines if the teleport avoids putting the target in water.",
"title": "Avoid Water"
},
"destination": {
"default": [0.0, 0.0, 0.0],
"description": "Origin destination of the teleport.",
@@ -17,7 +22,12 @@
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
]
},
"land_on_block": { "type": "boolean", "default": true, "description": "Determines if the teleport places the target on a block.", "title": "Land On Block" },
"land_on_block": {
"type": "boolean",
"default": true,
"description": "Determines if the teleport places the target on a block.",
"title": "Land On Block"
},
"max_range": {
"default": [8.0, 8.0, 8.0],
"description": "Max range the target can teleport relative to the origin destination.",

View File

@@ -7,7 +7,17 @@
"description": "Describes the flammable properties for this block.",
"additionalItems": false,
"properties": {
"burn_odds": { "type": "integer", "default": 0, "description": "How likely the block will be destroyed by flames when on fire.", "title": "Burn Odds" },
"flame_odds": { "type": "integer", "default": 0, "description": "How likely the block will catch flame when next to a fire.", "title": "Flame Odds" }
"burn_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will be destroyed by flames when on fire.",
"title": "Burn Odds"
},
"flame_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will catch flame when next to a fire.",
"title": "Flame Odds"
}
}
}

View File

@@ -12,7 +12,12 @@
"type": "string",
"additionalProperties": false,
"properties": {
"condition": { "title": "Condition", "type": "string", "default": "1", "description": "The condition of event to be executed on the block. Molang" },
"condition": {
"title": "Condition",
"type": "string",
"default": "1",
"description": "The condition of event to be executed on the block. Molang"
},
"event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." },
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
"target": {
@@ -24,6 +29,11 @@
}
},
"looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" },
"range": { "type": "array", "default": [10, 10], "description": "The Range between which the component will trigger his event.", "title": "Range" }
"range": {
"type": "array",
"default": [10, 10],
"description": "The Range between which the component will trigger his event.",
"title": "Range"
}
}
}

View File

@@ -6,7 +6,12 @@
"title": "Remove Mob Effect 1.16.200",
"additionalProperties": false,
"properties": {
"effect": { "type": "string", "default": "", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "title": "Effect" },
"effect": {
"type": "string",
"default": "",
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
"title": "Effect"
},
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
}
}

View File

@@ -6,5 +6,7 @@
"title": "Spawn Loot 1.16.200",
"required": ["table"],
"additionalProperties": false,
"properties": { "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } }
"properties": {
"table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
}
}

View File

@@ -6,7 +6,12 @@
"title": "Teleport 1.16.200",
"additionalProperties": false,
"properties": {
"avoid_water": { "type": "boolean", "default": true, "description": "Determines if the teleport avoids putting the target in water.", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": true,
"description": "Determines if the teleport avoids putting the target in water.",
"title": "Avoid Water"
},
"destination": {
"default": [0.0, 0.0, 0.0],
"description": "Origin destination of the teleport.",
@@ -17,7 +22,12 @@
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
]
},
"land_on_block": { "type": "boolean", "default": true, "description": "Determines if the teleport places the target on a block.", "title": "Land On Block" },
"land_on_block": {
"type": "boolean",
"default": true,
"description": "Determines if the teleport places the target on a block.",
"title": "Land On Block"
},
"max_range": {
"default": [8.0, 8.0, 8.0],
"description": "Max range the target can teleport relative to the origin destination.",

View File

@@ -1,7 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.blocks",
"examples": [{ "format_version": "1.16.200", "minecraft:block": { "description": { "identifier": "namespace:block", "properties": {} }, "components": {}, "events": {} } }],
"examples": [
{
"format_version": "1.16.200",
"minecraft:block": { "description": { "identifier": "namespace:block", "properties": {} }, "components": {}, "events": {} }
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },

View File

@@ -243,12 +243,16 @@
"minecraft:behavior.move_to_random_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_random_block.json" },
"minecraft:behavior.move_to_village": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_village.json" },
"minecraft:behavior.move_to_water": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_water.json" },
"minecraft:behavior.move_towards_dwelling_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json" },
"minecraft:behavior.move_towards_dwelling_restriction": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json"
},
"minecraft:behavior.move_towards_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_restriction.json" },
"minecraft:behavior.move_towards_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_target.json" },
"minecraft:behavior.nap": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nap.json" },
"minecraft:behavior.nearest_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json"
},
"minecraft:behavior.ocelot_sit_on_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelot_sit_on_block.json" },
"minecraft:behavior.ocelotattack": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelotattack.json" },
"minecraft:behavior.offer_flower": { "$ref": "../1.8.0/behaviors/minecraft.behavior.offer_flower.json" },

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"anchor": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"angle_offset": { "type": "number", "default": 0, "description": "Determines the angle at which the projectile is thrown", "title": "Angle Offset" },
"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" },
"crit_particle_on_hurt": {
"type": "boolean",
@@ -16,9 +21,24 @@
"description": "If true, the projectile will produce additional particles when a critical hit happens",
"title": "Crit Particle On Hurt"
},
"destroy_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "Destroy On Hurt" },
"destroyOnHurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "Destroy On Hurt" },
"filter": { "type": "string", "default": "", "description": "Entity Definitions defined here can't be hurt by the projectile", "title": "Filter" },
"destroy_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be destroyed when hit",
"title": "Destroy On Hurt"
},
"destroyOnHurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be destroyed when hit",
"title": "Destroy On Hurt"
},
"filter": {
"type": "string",
"default": "",
"description": "Entity Definitions defined here can't be hurt by the projectile",
"title": "Filter"
},
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
@@ -33,9 +53,24 @@
},
"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, "description": "The fraction of the projectile's speed maintained every frame while traveling in air", "title": "Inertia" },
"is_dangerous": { "type": "boolean", "default": false, "description": "If true, the projectile will be treated as dangerous to the players", "title": "Is Dangerous" },
"knockback": { "type": "boolean", "default": true, "description": "If true, the projectile will knock back the entity it hits", "title": "Knockback" },
"inertia": {
"type": "number",
"default": 0.99,
"description": "The fraction of the projectile's speed maintained every frame while traveling in air",
"title": "Inertia"
},
"is_dangerous": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will be treated as dangerous to the players",
"title": "Is Dangerous"
},
"knockback": {
"type": "boolean",
"default": true,
"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" },
"liquid_inertia": {
"type": "number",
@@ -43,7 +78,12 @@
"description": "The fraction of the projectile's speed maintained every frame while traveling in water",
"title": "Liquid Inertia"
},
"multiple_targets": { "type": "boolean", "default": true, "description": "If true, the projectile can hit multiple entities per flight", "title": "Multiple Targets" },
"multiple_targets": {
"type": "boolean",
"default": true,
"description": "If true, the projectile can hit multiple entities per flight",
"title": "Multiple Targets"
},
"offset": {
"type": "array",
"default": [0, 0.5, 0],
@@ -67,7 +107,12 @@
}
]
},
"on_fire_time": { "type": "number", "default": 5, "description": "Time in seconds that the entity hit will be on fire for", "title": "On Fire Time" },
"on_fire_time": {
"type": "number",
"default": 5,
"description": "Time in seconds that the entity hit will be on fire for",
"title": "On Fire Time"
},
"on_hit": {
"additionalProperties": false,
"type": "object",
@@ -320,9 +365,19 @@
}
},
"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" },
"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" },
"reflect_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be reflected back when hit", "title": "Reflect On Hurt" },
"reflect_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be reflected back when hit",
"title": "Reflect On Hurt"
},
"semi_random_diff_damage": {
"type": "boolean",
"default": false,
@@ -337,7 +392,12 @@
"title": "Shoot Target"
},
"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_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" },
"uncertainty_base": {
"type": "number",

View File

@@ -72,8 +72,16 @@
"$ref": "#/definitions/event_base",
"title": "Entity Born"
},
"minecraft:entity_spawned": { "description": "Event called on an entity that is placed in the level.", "$ref": "#/definitions/event_base", "title": "Entity Spawned" },
"minecraft:on_prime": { "description": "Event called on an entity whose fuse is lit and is ready to explode.", "$ref": "#/definitions/event_base", "title": "On Prime" }
"minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.",
"$ref": "#/definitions/event_base",
"title": "Entity Spawned"
},
"minecraft:on_prime": {
"description": "Event called on an entity whose fuse is lit and is ready to explode.",
"$ref": "#/definitions/event_base",
"title": "On Prime"
}
},
"additionalProperties": { "$ref": "#/definitions/event_base" }
}

View File

@@ -8,21 +8,48 @@
{
"propertyNames": { "enum": ["all_of", "any_of", "none_of"] },
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
}
},
{
"required": ["test"],
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
},
"allOf": [
{ "if": { "properties": { "test": { "const": "clock_time" } } }, "then": { "$ref": "../1.8.0/filters/clock_time.json" } },
{ "if": { "properties": { "test": { "const": "distance_to_nearest_player" } } }, "then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" } },
{
"if": { "properties": { "test": { "const": "distance_to_nearest_player" } } },
"then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" }
},
{ "if": { "properties": { "test": { "const": "has_ability" } } }, "then": { "$ref": "../1.8.0/filters/has_ability.json" } },
{ "if": { "properties": { "test": { "const": "has_biome_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_biome_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_component" } } }, "then": { "$ref": "../1.8.0/filters/has_component.json" } },
@@ -59,8 +86,14 @@
{ "if": { "properties": { "test": { "const": "is_sneaking" } } }, "then": { "$ref": "../1.8.0/filters/is_sneaking.json" } },
{ "if": { "properties": { "test": { "const": "is_snow_covered" } } }, "then": { "$ref": "../1.8.0/filters/is_snow_covered.json" } },
{ "if": { "properties": { "test": { "const": "is_target" } } }, "then": { "$ref": "../1.8.0/filters/is_target.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_type" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_type.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_value" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_value.json" } },
{
"if": { "properties": { "test": { "const": "is_temperature_type" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_type.json" }
},
{
"if": { "properties": { "test": { "const": "is_temperature_value" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_value.json" }
},
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "../1.8.0/filters/is_underground.json" } },
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "../1.8.0/filters/is_underwater.json" } },
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_variant.json" } },

View File

@@ -14,10 +14,22 @@
"title": "Animations",
"description": "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs",
"type": "object",
"additionalProperties": { "title": "Animation (controller)", "description": "The name of the animation controller / animation", "type": "string" }
"additionalProperties": {
"title": "Animation (controller)",
"description": "The name of the animation controller / animation",
"type": "string"
}
},
"identifier": {
"$ref": "../../../general/entity/identifier.json",
"description": "Sets the identifier for this entity's description.",
"title": "Identifier"
},
"is_spawnable": {
"type": "boolean",
"title": "Is Spawnable",
"description": "Sets whether or not this entity has a spawn egg in the creative ui."
},
"identifier": { "$ref": "../../../general/entity/identifier.json", "description": "Sets the identifier for this entity's description.", "title": "Identifier" },
"is_spawnable": { "type": "boolean", "title": "Is Spawnable", "description": "Sets whether or not this entity has a spawn egg in the creative ui." },
"is_summonable": {
"type": "boolean",
"title": "Is Summonable Property",
@@ -45,7 +57,12 @@
"items": {
"oneOf": [
{ "type": "string", "title": "Animation", "description": "The name of an animation controller referenced in animations" },
{ "type": "object", "title": "Conditional Animation", "description": "TODO", "additionalProperties": { "type": "string", "title": "Animation" } }
{
"type": "object",
"title": "Conditional Animation",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "Animation" }
}
]
}
}

View File

@@ -10,7 +10,12 @@
"additionalProperties": false,
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"max_dist": { "type": "number", "description": "Maximum distance this mob can be away to be a valid choice", "default": 16, "title": "Max Dist" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",
"default": 16,
"title": "Max Dist"
},
"walk_speed_multiplier": {
"type": "number",
"description": "Multiplier for the walking speed. A value of 1.0 means the speed is unchanged",
@@ -23,7 +28,12 @@
"default": 16,
"title": "Sprint Speed Multiplier"
},
"must_see": { "type": "boolean", "description": "If true, the mob has to be visible to be a valid choice", "default": false, "title": "Must See" },
"must_see": {
"type": "boolean",
"description": "If true, the mob has to be visible to be a valid choice",
"default": false,
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",

View File

@@ -9,7 +9,11 @@
"type": "object",
"properties": {
"event": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
"target": { "type": "string", "description": "The target of the event", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] }
"target": {
"type": "string",
"description": "The target of the event",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
}
}
}
]

View File

@@ -73,8 +73,16 @@
"$ref": "#/definitions/event_base",
"title": "Entity Born"
},
"minecraft:entity_spawned": { "description": "Event called on an entity that is placed in the level.", "$ref": "#/definitions/event_base", "title": "Entity Spawned" },
"minecraft:on_prime": { "description": "Event called on an entity whose fuse is lit and is ready to explode.", "$ref": "#/definitions/event_base", "title": "On Prime" }
"minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.",
"$ref": "#/definitions/event_base",
"title": "Entity Spawned"
},
"minecraft:on_prime": {
"description": "Event called on an entity whose fuse is lit and is ready to explode.",
"$ref": "#/definitions/event_base",
"title": "On Prime"
}
},
"additionalProperties": { "$ref": "#/definitions/event_base" }
}

View File

@@ -8,21 +8,48 @@
{
"propertyNames": { "enum": ["all_of", "any_of", "none_of"] },
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
}
},
{
"required": ["test"],
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
},
"allOf": [
{ "if": { "properties": { "test": { "const": "clock_time" } } }, "then": { "$ref": "../1.8.0/filters/clock_time.json" } },
{ "if": { "properties": { "test": { "const": "distance_to_nearest_player" } } }, "then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" } },
{
"if": { "properties": { "test": { "const": "distance_to_nearest_player" } } },
"then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" }
},
{ "if": { "properties": { "test": { "const": "has_ability" } } }, "then": { "$ref": "../1.8.0/filters/has_ability.json" } },
{ "if": { "properties": { "test": { "const": "has_biome_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_biome_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_component" } } }, "then": { "$ref": "../1.8.0/filters/has_component.json" } },
@@ -59,8 +86,14 @@
{ "if": { "properties": { "test": { "const": "is_sneaking" } } }, "then": { "$ref": "../1.8.0/filters/is_sneaking.json" } },
{ "if": { "properties": { "test": { "const": "is_snow_covered" } } }, "then": { "$ref": "../1.8.0/filters/is_snow_covered.json" } },
{ "if": { "properties": { "test": { "const": "is_target" } } }, "then": { "$ref": "../1.8.0/filters/is_target.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_type" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_type.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_value" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_value.json" } },
{
"if": { "properties": { "test": { "const": "is_temperature_type" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_type.json" }
},
{
"if": { "properties": { "test": { "const": "is_temperature_value" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_value.json" }
},
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "../1.8.0/filters/is_underground.json" } },
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "../1.8.0/filters/is_underwater.json" } },
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_variant.json" } },

View File

@@ -14,10 +14,22 @@
"title": "Animations",
"description": "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs",
"type": "object",
"additionalProperties": { "title": "Animation (controller)", "description": "The name of the animation controller / animation", "type": "string" }
"additionalProperties": {
"title": "Animation (controller)",
"description": "The name of the animation controller / animation",
"type": "string"
}
},
"identifier": {
"$ref": "../../../general/entity/identifier.json",
"description": "Sets the identifier for this entity's description.",
"title": "Identifier"
},
"is_spawnable": {
"type": "boolean",
"title": "Is Spawnable",
"description": "Sets whether or not this entity has a spawn egg in the creative ui."
},
"identifier": { "$ref": "../../../general/entity/identifier.json", "description": "Sets the identifier for this entity's description.", "title": "Identifier" },
"is_spawnable": { "type": "boolean", "title": "Is Spawnable", "description": "Sets whether or not this entity has a spawn egg in the creative ui." },
"is_summonable": {
"type": "boolean",
"title": "Is Summonable Property",
@@ -45,7 +57,12 @@
"items": {
"oneOf": [
{ "type": "string", "title": "Animation", "description": "The name of an animation controller referenced in animations" },
{ "type": "object", "title": "Conditional Animation", "description": "TODO", "additionalProperties": { "type": "string", "title": "Animation" } }
{
"type": "object",
"title": "Conditional Animation",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "Animation" }
}
]
}
}

View File

@@ -244,12 +244,16 @@
"minecraft:behavior.move_to_random_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_random_block.json" },
"minecraft:behavior.move_to_village": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_village.json" },
"minecraft:behavior.move_to_water": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_water.json" },
"minecraft:behavior.move_towards_dwelling_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json" },
"minecraft:behavior.move_towards_dwelling_restriction": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json"
},
"minecraft:behavior.move_towards_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_restriction.json" },
"minecraft:behavior.move_towards_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_target.json" },
"minecraft:behavior.nap": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nap.json" },
"minecraft:behavior.nearest_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json"
},
"minecraft:behavior.ocelot_sit_on_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelot_sit_on_block.json" },
"minecraft:behavior.ocelotattack": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelotattack.json" },
"minecraft:behavior.offer_flower": { "$ref": "../1.8.0/behaviors/minecraft.behavior.offer_flower.json" },

View File

@@ -7,8 +7,18 @@
"description": "Defines how the entity explodes.",
"required": [],
"properties": {
"breaks_blocks": { "type": "boolean", "default": true, "description": "If true, the explosion will destroy blocks in the explosion radius.", "title": "Breaks Blocks" },
"causes_fire": { "type": "boolean", "default": false, "description": "If true, blocks in the explosion radius will be set on fire.", "title": "Causes Fire" },
"breaks_blocks": {
"type": "boolean",
"default": true,
"description": "If true, the explosion will destroy blocks in the explosion radius.",
"title": "Breaks Blocks"
},
"causes_fire": {
"type": "boolean",
"default": false,
"description": "If true, blocks in the explosion radius will be set on fire.",
"title": "Causes Fire"
},
"destroy_affected_by_griefing": {
"type": "boolean",
"default": false,
@@ -38,13 +48,23 @@
}
]
},
"fuse_lit": { "type": "boolean", "default": false, "description": "If true, the fuse is already lit when this component is added to the entity.", "title": "Fuse Lit" },
"fuse_lit": {
"type": "boolean",
"default": false,
"description": "If true, the fuse is already lit when this component is added to the entity.",
"title": "Fuse Lit"
},
"max_resistance": {
"type": "number",
"default": 3.40282e38,
"description": "A blocks explosion resistance will be capped at this value when an explosion occurs.",
"title": "Max Resistance"
},
"power": { "type": "number", "default": 3, "description": "The radius of the explosion in blocks and the amount of damage the explosion deals.", "title": "Power" }
"power": {
"type": "number",
"default": 3,
"description": "The radius of the explosion in blocks and the amount of damage the explosion deals.",
"title": "Power"
}
}
}

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"anchor": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"angle_offset": { "type": "number", "default": 0, "description": "Determines the angle at which the projectile is thrown", "title": "Angle Offset" },
"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" },
"crit_particle_on_hurt": {
"type": "boolean",
@@ -16,8 +21,18 @@
"description": "If true, the projectile will produce additional particles when a critical hit happens",
"title": "Crit Particle On Hurt"
},
"destroy_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "Destroy On Hurt" },
"filter": { "type": "string", "default": "", "description": "Entity Definitions defined here can't be hurt by the projectile", "title": "Filter" },
"destroy_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be destroyed when hit",
"title": "Destroy On Hurt"
},
"filter": {
"type": "string",
"default": "",
"description": "Entity Definitions defined here can't be hurt by the projectile",
"title": "Filter"
},
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
@@ -33,9 +48,24 @@
"hit_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile hits something", "title": "Hit Sound" },
"hit_ground_sound": { "type": "string", "default": "", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"homing": { "type": "boolean", "default": false, "description": "If true, the projectile homes in to the nearest entity", "title": "Homing" },
"inertia": { "type": "number", "default": 0.99, "description": "The fraction of the projectile's speed maintained every frame while traveling in air", "title": "Inertia" },
"is_dangerous": { "type": "boolean", "default": false, "description": "If true, the projectile will be treated as dangerous to the players", "title": "Is Dangerous" },
"knockback": { "type": "boolean", "default": true, "description": "If true, the projectile will knock back the entity it hits", "title": "Knockback" },
"inertia": {
"type": "number",
"default": 0.99,
"description": "The fraction of the projectile's speed maintained every frame while traveling in air",
"title": "Inertia"
},
"is_dangerous": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will be treated as dangerous to the players",
"title": "Is Dangerous"
},
"knockback": {
"type": "boolean",
"default": true,
"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" },
"liquid_inertia": {
"type": "number",
@@ -43,7 +73,12 @@
"description": "The fraction of the projectile's speed maintained every frame while traveling in water",
"title": "Liquid Inertia"
},
"multiple_targets": { "type": "boolean", "default": true, "description": "If true, the projectile can hit multiple entities per flight", "title": "Multiple Targets" },
"multiple_targets": {
"type": "boolean",
"default": true,
"description": "If true, the projectile can hit multiple entities per flight",
"title": "Multiple Targets"
},
"offset": {
"type": "array",
"default": [0, 0.5, 0],
@@ -55,7 +90,12 @@
{ "type": "number", "description": "Z", "title": "Z" }
]
},
"on_fire_time": { "type": "number", "default": 5, "description": "Time in seconds that the entity hit will be on fire for", "title": "On Fire Time" },
"on_fire_time": {
"type": "number",
"default": 5,
"description": "Time in seconds that the entity hit will be on fire for",
"title": "On Fire Time"
},
"on_hit": {
"additionalProperties": false,
"type": "object",
@@ -184,9 +224,19 @@
}
},
"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" },
"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" },
"reflect_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be reflected back when hit", "title": "Reflect On Hurt" },
"reflect_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be reflected back when hit",
"title": "Reflect On Hurt"
},
"semi_random_diff_damage": {
"type": "boolean",
"default": false,
@@ -201,7 +251,12 @@
"title": "Shoot Target"
},
"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_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" },
"stop_on_hurt": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"uncertainty_base": {

View File

@@ -72,8 +72,16 @@
"$ref": "#/definitions/event_base",
"title": "Entity Born"
},
"minecraft:entity_spawned": { "description": "Event called on an entity that is placed in the level.", "$ref": "#/definitions/event_base", "title": "Entity Spawned" },
"minecraft:on_prime": { "description": "Event called on an entity whose fuse is lit and is ready to explode.", "$ref": "#/definitions/event_base", "title": "On Prime" }
"minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.",
"$ref": "#/definitions/event_base",
"title": "Entity Spawned"
},
"minecraft:on_prime": {
"description": "Event called on an entity whose fuse is lit and is ready to explode.",
"$ref": "#/definitions/event_base",
"title": "On Prime"
}
},
"additionalProperties": { "$ref": "#/definitions/event_base" }
}

View File

@@ -8,21 +8,48 @@
{
"propertyNames": { "enum": ["all_of", "any_of", "none_of"] },
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
}
},
{
"required": ["test"],
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
},
"allOf": [
{ "if": { "properties": { "test": { "const": "clock_time" } } }, "then": { "$ref": "../1.8.0/filters/clock_time.json" } },
{ "if": { "properties": { "test": { "const": "distance_to_nearest_player" } } }, "then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" } },
{
"if": { "properties": { "test": { "const": "distance_to_nearest_player" } } },
"then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" }
},
{ "if": { "properties": { "test": { "const": "has_ability" } } }, "then": { "$ref": "../1.8.0/filters/has_ability.json" } },
{ "if": { "properties": { "test": { "const": "has_biome_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_biome_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_component" } } }, "then": { "$ref": "../1.8.0/filters/has_component.json" } },
@@ -59,8 +86,14 @@
{ "if": { "properties": { "test": { "const": "is_sneaking" } } }, "then": { "$ref": "../1.8.0/filters/is_sneaking.json" } },
{ "if": { "properties": { "test": { "const": "is_snow_covered" } } }, "then": { "$ref": "../1.8.0/filters/is_snow_covered.json" } },
{ "if": { "properties": { "test": { "const": "is_target" } } }, "then": { "$ref": "../1.8.0/filters/is_target.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_type" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_type.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_value" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_value.json" } },
{
"if": { "properties": { "test": { "const": "is_temperature_type" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_type.json" }
},
{
"if": { "properties": { "test": { "const": "is_temperature_value" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_value.json" }
},
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "../1.8.0/filters/is_underground.json" } },
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "../1.8.0/filters/is_underwater.json" } },
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_variant.json" } },

View File

@@ -14,10 +14,22 @@
"title": "Animations",
"description": "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs",
"type": "object",
"additionalProperties": { "title": "Animation (controller)", "description": "The name of the animation controller / animation", "type": "string" }
"additionalProperties": {
"title": "Animation (controller)",
"description": "The name of the animation controller / animation",
"type": "string"
}
},
"identifier": {
"$ref": "../../../general/entity/identifier.json",
"description": "Sets the identifier for this entity's description.",
"title": "Identifier"
},
"is_spawnable": {
"type": "boolean",
"title": "Is Spawnable",
"description": "Sets whether or not this entity has a spawn egg in the creative ui."
},
"identifier": { "$ref": "../../../general/entity/identifier.json", "description": "Sets the identifier for this entity's description.", "title": "Identifier" },
"is_spawnable": { "type": "boolean", "title": "Is Spawnable", "description": "Sets whether or not this entity has a spawn egg in the creative ui." },
"is_summonable": {
"type": "boolean",
"title": "Is Summonable Property",
@@ -45,7 +57,12 @@
"items": {
"oneOf": [
{ "type": "string", "title": "Animation", "description": "The name of an animation controller referenced in animations" },
{ "type": "object", "title": "Conditional Animation", "description": "TODO", "additionalProperties": { "type": "string", "title": "Animation" } }
{
"type": "object",
"title": "Conditional Animation",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "Animation" }
}
]
}
}

View File

@@ -9,7 +9,12 @@
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"max_dist": { "type": "number", "description": "Maximum distance this mob can be away to be a valid choice", "default": 16, "title": "Max Dist" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",
"default": 16,
"title": "Max Dist"
},
"walk_speed_multiplier": {
"type": "number",
"description": "Multiplier for the walking speed. A value of 1.0 means the speed is unchanged",
@@ -22,7 +27,12 @@
"default": 16,
"title": "Sprint Speed Multiplier"
},
"must_see": { "type": "boolean", "description": "If true, the mob has to be visible to be a valid choice", "default": false, "title": "Must See" },
"must_see": {
"type": "boolean",
"description": "If true, the mob has to be visible to be a valid choice",
"default": false,
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",

View File

@@ -9,7 +9,11 @@
"type": "object",
"properties": {
"event": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
"target": { "type": "string", "description": "The target of the event", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] }
"target": {
"type": "string",
"description": "The target of the event",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
}
}
}
]

View File

@@ -8,15 +8,35 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"avoid_water": { "type": "boolean", "default": false, "description": "If true, the mob will not go into water blocks when going towards a mount", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount",
"title": "Avoid Water"
},
"mount_distance": {
"type": "number",
"default": -1,
"description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance",
"title": "Mount Distance"
},
"start_delay": { "type": "integer", "default": 0, "description": "Time the mob will wait before starting to move towards the mount", "title": "Start Delay" },
"target_needed": { "type": "boolean", "default": false, "description": "If true, the mob will only look for a mount if it has a target", "title": "Target Needed" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks within which the mob will look for a mount", "title": "Within Radius" }
"start_delay": {
"type": "integer",
"default": 0,
"description": "Time the mob will wait before starting to move towards the mount",
"title": "Start Delay"
},
"target_needed": {
"type": "boolean",
"default": false,
"description": "If true, the mob will only look for a mount if it has a target",
"title": "Target Needed"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks within which the mob will look for a mount",
"title": "Within Radius"
}
}
}

View File

@@ -24,11 +24,19 @@
"on_home": {
"title": "On Home",
"description": "Event to run when this mob gets home.",
"oneOf": [{ "type": "string" }, { "type": "object", "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }]
"oneOf": [
{ "type": "string" },
{ "type": "object", "$ref": "../types/trigger.json" },
{ "type": "array", "items": { "$ref": "../types/trigger.json" } }
]
},
"on_failed": {
"description": "Event to run when this mob gets home.",
"oneOf": [{ "type": "string" }, { "type": "object", "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }],
"oneOf": [
{ "type": "string" },
{ "type": "object", "$ref": "../types/trigger.json" },
{ "type": "array", "items": { "$ref": "../types/trigger.json" } }
],
"title": "On Failed"
}
}

View File

@@ -27,7 +27,17 @@
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for turtle eggs to move towards", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for turtle eggs to move towards", "title": "Search Range" }
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for turtle eggs to move towards",
"title": "Search Height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for turtle eggs to move towards",
"title": "Search Range"
}
}
}

View File

@@ -243,12 +243,16 @@
"minecraft:behavior.move_to_random_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_random_block.json" },
"minecraft:behavior.move_to_village": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_village.json" },
"minecraft:behavior.move_to_water": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_water.json" },
"minecraft:behavior.move_towards_dwelling_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json" },
"minecraft:behavior.move_towards_dwelling_restriction": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json"
},
"minecraft:behavior.move_towards_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_restriction.json" },
"minecraft:behavior.move_towards_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_target.json" },
"minecraft:behavior.nap": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nap.json" },
"minecraft:behavior.nearest_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json"
},
"minecraft:behavior.ocelot_sit_on_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelot_sit_on_block.json" },
"minecraft:behavior.ocelotattack": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelotattack.json" },
"minecraft:behavior.offer_flower": { "$ref": "../1.8.0/behaviors/minecraft.behavior.offer_flower.json" },

View File

@@ -11,7 +11,12 @@
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }],
"title": "TODO Title"
},
"duration": { "type": "number", "default": 1200, "description": "Amount of time before the entity grows up, -1 for always a baby.", "title": "TODO Title" },
"duration": {
"type": "number",
"default": 1200,
"description": "Amount of time before the entity grows up, -1 for always a baby.",
"title": "TODO Title"
},
"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": { "type": "string" } }, { "type": "string" }],

View File

@@ -7,8 +7,23 @@
"description": "Sets the entity's delay between playing its ambient sound.",
"required": ["event_name"],
"properties": {
"event_name": { "type": "string", "default": "ambient", "description": "Level sound event to be played as the ambient sound.", "title": "Event Name" },
"range": { "type": "number", "default": 16, "description": "Maximum time in seconds to randomly add to the ambient sound delay time.", "title": "Range" },
"value": { "type": "number", "default": 8, "description": "Minimum time in seconds before the entity plays its ambient sound again", "title": "Value" }
"event_name": {
"type": "string",
"default": "ambient",
"description": "Level sound event to be played as the ambient sound.",
"title": "Event Name"
},
"range": {
"type": "number",
"default": 16,
"description": "Maximum time in seconds to randomly add to the ambient sound delay time.",
"title": "Range"
},
"value": {
"type": "number",
"default": 8,
"description": "Minimum time in seconds before the entity plays its ambient sound again",
"title": "Value"
}
}
}

View File

@@ -27,7 +27,12 @@
"default": true,
"title": "Blend Attributes"
},
"breed_cooldown": { "description": "Time in seconds before the Entity can breed again.", "type": "number", "default": 60.0, "title": "Breed Cooldown" },
"breed_cooldown": {
"description": "Time in seconds before the Entity can breed again.",
"type": "number",
"default": 60.0,
"title": "Breed Cooldown"
},
"breed_items": {
"description": "The list of items that can be used to get the entity into the 'love' state",
"title": "Breed Items",
@@ -96,7 +101,14 @@
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",
"additionalProperties": false,
"properties": {
"color": { "type": "number", "default": 0, "minimum": 0.0, "maximum": 1.0, "description": "The percentage chance of a mutation on the entity's color.", "title": "Color" },
"color": {
"type": "number",
"default": 0,
"minimum": 0.0,
"maximum": 1.0,
"description": "The percentage chance of a mutation on the entity's color.",
"title": "Color"
},
"extra_variant": {
"type": "number",
"default": 0,
@@ -116,14 +128,29 @@
},
"title": "Mutation Factor"
},
"causes_pregnancy": { "type": "boolean", "default": false, "description": "If true, the entity will become pregnant instead of spawning a baby.", "title": "Causes Pregnancy" },
"inherit_tamed": { "type": "boolean", "default": true, "description": "If true, the babies will be automatically tamed if its parents are", "title": "Inherit Tamed" },
"causes_pregnancy": {
"type": "boolean",
"default": false,
"description": "If true, the entity will become pregnant instead of spawning a baby.",
"title": "Causes Pregnancy"
},
"inherit_tamed": {
"type": "boolean",
"default": true,
"description": "If true, the babies will be automatically tamed if its parents are",
"title": "Inherit Tamed"
},
"require_full_health": {
"type": "boolean",
"default": false,
"description": "If true, the entity needs to be at full health before it can breed.",
"title": "Require Full Health"
},
"require_tame": { "type": "boolean", "default": true, "description": "If true, the entities need to be tamed first before they can breed.", "title": "Require Tame" }
"require_tame": {
"type": "boolean",
"default": true,
"description": "If true, the entities need to be tamed first before they can breed.",
"title": "Require Tame"
}
}
}

View File

@@ -37,7 +37,11 @@
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
},
"on_damage_sound_event": { "type": "string", "description": "Defines what sound to play, if any, when the on_damage filters are met.", "title": "On Damage Sound Event" }
"on_damage_sound_event": {
"type": "string",
"description": "Defines what sound to play, if any, when the on_damage filters are met.",
"title": "On Damage Sound Event"
}
},
"on_damage_sound_event": { "$ref": "../../1.8.0/types/event.json" }
}

View File

@@ -9,8 +9,17 @@
"interaction_spec": {
"type": "object",
"properties": {
"add_items": { "type": "object", "description": "Loot table with items to add to the player's inventory upon successful interaction.", "title": "Add Items" },
"cooldown": { "type": "number", "default": 0, "description": "Time in seconds before this entity can be interacted with again.", "title": "Cooldown" },
"add_items": {
"type": "object",
"description": "Loot table with items to add to the player's inventory upon successful interaction.",
"title": "Add Items"
},
"cooldown": {
"type": "number",
"default": 0,
"description": "Time in seconds before this entity can be interacted with again.",
"title": "Cooldown"
},
"hurt_item": {
"type": "integer",
"default": 0,
@@ -35,20 +44,44 @@
"title": "Particle Offset Towards Interactor"
},
"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.", "title": "Particle Y Offset" }
"particle_y_offset": {
"type": "number",
"description": "Will offset the particle this amount in the y direction.",
"title": "Particle Y Offset"
}
}
},
"play_sounds": { "type": "string", "default": "", "description": "List of sounds to play when the interaction occurs.", "title": "Play Sounds" },
"spawn_entities": { "type": "string", "default": "", "description": "List of entities to spawn when the interaction occurs.", "title": "Spawn Entities" },
"play_sounds": {
"type": "string",
"default": "",
"description": "List of sounds to play when the interaction occurs.",
"title": "Play Sounds"
},
"spawn_entities": {
"type": "string",
"default": "",
"description": "List of entities to spawn when the interaction occurs.",
"title": "Spawn Entities"
},
"spawn_items": {
"type": "object",
"description": "Loot table with items to drop on the ground upon successful interaction.",
"title": "Spawn Items",
"properties": {
"table": { "type": "string", "default": "", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
"table": {
"type": "string",
"default": "",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "Table"
}
}
},
"swing": { "type": "boolean", "default": false, "description": "If true, the player will do the 'swing' animation when interacting with this entity.", "title": "Swing" },
"swing": {
"type": "boolean",
"default": false,
"description": "If true, the player will do the 'swing' animation when interacting with this entity.",
"title": "Swing"
},
"transform_to_item": {
"type": "string",
"default": "",

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"anchor": { "type": "number", "title": "Anchor", "description": "UNDOCUMENTATED" },
"angle_offset": { "type": "number", "default": 0, "description": "Determines the angle at which the projectile is thrown", "title": "Angle Offset" },
"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" },
"crit_particle_on_hurt": {
"type": "boolean",
@@ -16,8 +21,18 @@
"description": "If true, the projectile will produce additional particles when a critical hit happens",
"title": "Crit Particle On Hurt"
},
"destroy_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "Destroy On Hurt" },
"filter": { "type": "string", "default": "", "description": "Entity Definitions defined here can't be hurt by the projectile", "title": "Filter" },
"destroy_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be destroyed when hit",
"title": "Destroy On Hurt"
},
"filter": {
"type": "string",
"default": "",
"description": "Entity Definitions defined here can't be hurt by the projectile",
"title": "Filter"
},
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
@@ -32,9 +47,24 @@
},
"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, "description": "The fraction of the projectile's speed maintained every frame while traveling in air", "title": "Inertia" },
"is_dangerous": { "type": "boolean", "default": false, "description": "If true, the projectile will be treated as dangerous to the players", "title": "Is Dangerous" },
"knockback": { "type": "boolean", "default": true, "description": "If true, the projectile will knock back the entity it hits", "title": "Knockback" },
"inertia": {
"type": "number",
"default": 0.99,
"description": "The fraction of the projectile's speed maintained every frame while traveling in air",
"title": "Inertia"
},
"is_dangerous": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will be treated as dangerous to the players",
"title": "Is Dangerous"
},
"knockback": {
"type": "boolean",
"default": true,
"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" },
"liquid_inertia": {
"type": "number",
@@ -42,7 +72,12 @@
"description": "The fraction of the projectile's speed maintained every frame while traveling in water",
"title": "Liquid Inertia"
},
"multiple_targets": { "type": "boolean", "default": true, "description": "If true, the projectile can hit multiple entities per flight", "title": "Multiple Targets" },
"multiple_targets": {
"type": "boolean",
"default": true,
"description": "If true, the projectile can hit multiple entities per flight",
"title": "Multiple Targets"
},
"offset": {
"type": "array",
"default": [0.0, 0.5, 0.0],
@@ -54,7 +89,12 @@
{ "type": "number", "title": "Z" }
]
},
"on_fire_time": { "type": "number", "default": 5, "description": "Time in seconds that the entity hit will be on fire for", "title": "On Fire Time" },
"on_fire_time": {
"type": "number",
"default": 5,
"description": "Time in seconds that the entity hit will be on fire for",
"title": "On Fire Time"
},
"on_hit": {
"additionalProperties": false,
"type": "object",
@@ -91,9 +131,19 @@
}
},
"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" },
"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" },
"reflect_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be reflected back when hit", "title": "Reflect On Hurt" },
"reflect_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be reflected back when hit",
"title": "Reflect On Hurt"
},
"semi_random_diff_damage": {
"type": "boolean",
"default": false,
@@ -108,7 +158,12 @@
"title": "Shoot Target"
},
"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_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" },
"uncertainty_base": {
"type": "number",

View File

@@ -15,13 +15,21 @@
"default": 181,
"description": "Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit"
},
"max_rider_count": { "type": "integer", "default": 0, "description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid" },
"max_rider_count": {
"type": "integer",
"default": 0,
"description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid"
},
"min_rider_count": {
"type": "integer",
"default": 0,
"description": "Defines the minimum number of riders that need to be riding this entity before this seat can be used"
},
"position": { "$ref": "../../../../general/array_3_number.json", "default": [0.0, 0.0, 0.0], "description": "Position of this seat relative to this entity's position" },
"position": {
"$ref": "../../../../general/array_3_number.json",
"default": [0.0, 0.0, 0.0],
"description": "Position of this seat relative to this entity's position"
},
"rotate_rider_by": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Offset to rotate riders by" }
}
}
@@ -29,14 +37,24 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"controlling_seat": { "type": "integer", "default": 0, "description": "The seat that designates the driver of the entity", "title": "TODO Title" },
"controlling_seat": {
"type": "integer",
"default": 0,
"description": "The seat that designates the driver of the entity",
"title": "TODO Title"
},
"crouching_skip_interact": {
"type": "boolean",
"default": true,
"description": "If true, this entity can't be interacted with if the entity interacting with it is crouching",
"title": "TODO Title"
},
"family_types": { "type": "array", "items": { "type": "string" }, "description": "List of entities that can ride this entity", "title": "TODO Title" },
"family_types": {
"type": "array",
"items": { "type": "string" },
"description": "List of entities that can ride this entity",
"title": "TODO Title"
},
"interact_text": {
"type": "string",
"default": "",
@@ -49,8 +67,18 @@
"description": "If true, this entity will pull in entities that are in the correct family_types into any available seats",
"title": "TODO Title"
},
"rider_can_interact": { "type": "boolean", "default": false, "description": "If true, this entity will be picked when looked at by the rider", "title": "TODO Title" },
"seat_count": { "type": "integer", "default": 1, "description": "The number of entities that can ride this entity at the same time", "title": "TODO Title" },
"rider_can_interact": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be picked when looked at by the rider",
"title": "TODO Title"
},
"seat_count": {
"type": "integer",
"default": 1,
"description": "The number of entities that can ride this entity at the same time",
"title": "TODO Title"
},
"seats": {
"description": "The list of positions and number of riders for each position for entities riding this entity",
"oneOf": [

View File

@@ -24,13 +24,21 @@
"default": 0,
"description": "Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"
},
"block_chance": { "type": "number", "default": 0, "description": "Chance that, once a block is found, will help speed up the transformation" },
"block_chance": {
"type": "number",
"default": 0,
"description": "Chance that, once a block is found, will help speed up the transformation"
},
"block_max": {
"type": "integer",
"default": 0,
"description": "Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"
},
"block_radius": { "type": "integer", "default": 0, "description": "Distance in Blocks that the entity will search for blocks that can help the transformation" },
"block_radius": {
"type": "integer",
"default": 0,
"description": "Distance in Blocks that the entity will search for blocks that can help the transformation"
},
"block_types": {
"type": "array",
"description": "List of blocks that can help the transformation of this entity",
@@ -41,7 +49,12 @@
"title": "TODO Title",
"additionalProperties": false
},
"drop_equipment": { "type": "boolean", "default": false, "description": "Cause the entity to drop all equipment upon transformation", "title": "TODO Title" },
"drop_equipment": {
"type": "boolean",
"default": false,
"description": "Cause the entity to drop all equipment upon transformation",
"title": "TODO Title"
},
"into": { "type": "string", "description": "Entity Definition that this entity will transform into", "title": "TODO Title" },
"keep_level": {
"type": "boolean",

View File

@@ -72,8 +72,16 @@
"$ref": "#/definitions/event_base",
"title": "Entity Born"
},
"minecraft:entity_spawned": { "description": "Event called on an entity that is placed in the level.", "$ref": "#/definitions/event_base", "title": "Entity Spawned" },
"minecraft:on_prime": { "description": "Event called on an entity whose fuse is lit and is ready to explode.", "$ref": "#/definitions/event_base", "title": "On Prime" }
"minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.",
"$ref": "#/definitions/event_base",
"title": "Entity Spawned"
},
"minecraft:on_prime": {
"description": "Event called on an entity whose fuse is lit and is ready to explode.",
"$ref": "#/definitions/event_base",
"title": "On Prime"
}
},
"additionalProperties": { "$ref": "#/definitions/event_base" }
}

View File

@@ -8,21 +8,48 @@
{
"propertyNames": { "enum": ["all_of", "any_of", "none_of"] },
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
}
},
{
"required": ["test"],
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
},
"allOf": [
{ "if": { "properties": { "test": { "const": "clock_time" } } }, "then": { "$ref": "../1.8.0/filters/clock_time.json" } },
{ "if": { "properties": { "test": { "const": "distance_to_nearest_player" } } }, "then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" } },
{
"if": { "properties": { "test": { "const": "distance_to_nearest_player" } } },
"then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" }
},
{ "if": { "properties": { "test": { "const": "has_ability" } } }, "then": { "$ref": "../1.8.0/filters/has_ability.json" } },
{ "if": { "properties": { "test": { "const": "has_biome_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_biome_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_component" } } }, "then": { "$ref": "../1.8.0/filters/has_component.json" } },
@@ -68,8 +95,14 @@
{ "if": { "properties": { "test": { "const": "is_sneaking" } } }, "then": { "$ref": "../1.8.0/filters/is_sneaking.json" } },
{ "if": { "properties": { "test": { "const": "is_snow_covered" } } }, "then": { "$ref": "../1.8.0/filters/is_snow_covered.json" } },
{ "if": { "properties": { "test": { "const": "is_target" } } }, "then": { "$ref": "../1.8.0/filters/is_target.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_type" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_type.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_value" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_value.json" } },
{
"if": { "properties": { "test": { "const": "is_temperature_type" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_type.json" }
},
{
"if": { "properties": { "test": { "const": "is_temperature_value" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_value.json" }
},
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "../1.8.0/filters/is_underground.json" } },
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "../1.8.0/filters/is_underwater.json" } },
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_variant.json" } },

View File

@@ -14,10 +14,22 @@
"title": "Animations",
"description": "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs",
"type": "object",
"additionalProperties": { "title": "Animation (controller)", "description": "The name of the animation controller / animation", "type": "string" }
"additionalProperties": {
"title": "Animation (controller)",
"description": "The name of the animation controller / animation",
"type": "string"
}
},
"identifier": {
"$ref": "../../../general/entity/identifier.json",
"description": "Sets the identifier for this entity's description.",
"title": "Identifier"
},
"is_spawnable": {
"type": "boolean",
"title": "Is Spawnable",
"description": "Sets whether or not this entity has a spawn egg in the creative ui."
},
"identifier": { "$ref": "../../../general/entity/identifier.json", "description": "Sets the identifier for this entity's description.", "title": "Identifier" },
"is_spawnable": { "type": "boolean", "title": "Is Spawnable", "description": "Sets whether or not this entity has a spawn egg in the creative ui." },
"is_summonable": {
"type": "boolean",
"title": "Is Summonable Property",
@@ -45,7 +57,12 @@
"items": {
"oneOf": [
{ "type": "string", "title": "Animation", "description": "The name of an animation controller referenced in animations" },
{ "type": "object", "title": "Conditional Animation", "description": "TODO", "additionalProperties": { "type": "string", "title": "Animation" } }
{
"type": "object",
"title": "Conditional Animation",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "Animation" }
}
]
}
}

View File

@@ -9,7 +9,12 @@
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"max_dist": { "type": "number", "description": "Maximum distance this mob can be away to be a valid choice", "default": 16, "title": "Max Dist" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",
"default": 16,
"title": "Max Dist"
},
"walk_speed_multiplier": {
"type": "number",
"description": "Multiplier for the walking speed. A value of 1.0 means the speed is unchanged",
@@ -22,7 +27,12 @@
"default": 16,
"title": "Sprint Speed Multiplier"
},
"must_see": { "type": "boolean", "description": "If true, the mob has to be visible to be a valid choice", "default": false, "title": "Must See" },
"must_see": {
"type": "boolean",
"description": "If true, the mob has to be visible to be a valid choice",
"default": false,
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",

View File

@@ -9,7 +9,11 @@
"type": "object",
"properties": {
"event": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
"target": { "type": "string", "description": "The target of the event", "enum": ["block", "damager", "other", "parent", "player", "self", "target", "baby"] }
"target": {
"type": "string",
"description": "The target of the event",
"enum": ["block", "damager", "other", "parent", "player", "self", "target", "baby"]
}
}
}
]

View File

@@ -72,8 +72,16 @@
"$ref": "#/definitions/event_base",
"title": "Entity Born"
},
"minecraft:entity_spawned": { "description": "Event called on an entity that is placed in the level.", "$ref": "#/definitions/event_base", "title": "Entity Spawned" },
"minecraft:on_prime": { "description": "Event called on an entity whose fuse is lit and is ready to explode.", "$ref": "#/definitions/event_base", "title": "On Prime" }
"minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.",
"$ref": "#/definitions/event_base",
"title": "Entity Spawned"
},
"minecraft:on_prime": {
"description": "Event called on an entity whose fuse is lit and is ready to explode.",
"$ref": "#/definitions/event_base",
"title": "On Prime"
}
},
"additionalProperties": { "$ref": "#/definitions/event_base" }
}

View File

@@ -8,21 +8,48 @@
{
"propertyNames": { "enum": ["all_of", "any_of", "none_of"] },
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
}
},
{
"required": ["test"],
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
},
"allOf": [
{ "if": { "properties": { "test": { "const": "clock_time" } } }, "then": { "$ref": "../1.8.0/filters/clock_time.json" } },
{ "if": { "properties": { "test": { "const": "distance_to_nearest_player" } } }, "then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" } },
{
"if": { "properties": { "test": { "const": "distance_to_nearest_player" } } },
"then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" }
},
{ "if": { "properties": { "test": { "const": "has_ability" } } }, "then": { "$ref": "../1.8.0/filters/has_ability.json" } },
{ "if": { "properties": { "test": { "const": "has_biome_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_biome_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_component" } } }, "then": { "$ref": "../1.8.0/filters/has_component.json" } },
@@ -59,8 +86,14 @@
{ "if": { "properties": { "test": { "const": "is_sneaking" } } }, "then": { "$ref": "../1.8.0/filters/is_sneaking.json" } },
{ "if": { "properties": { "test": { "const": "is_snow_covered" } } }, "then": { "$ref": "../1.8.0/filters/is_snow_covered.json" } },
{ "if": { "properties": { "test": { "const": "is_target" } } }, "then": { "$ref": "../1.8.0/filters/is_target.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_type" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_type.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_value" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_value.json" } },
{
"if": { "properties": { "test": { "const": "is_temperature_type" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_type.json" }
},
{
"if": { "properties": { "test": { "const": "is_temperature_value" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_value.json" }
},
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "../1.8.0/filters/is_underground.json" } },
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "../1.8.0/filters/is_underwater.json" } },
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_variant.json" } },

View File

@@ -14,10 +14,22 @@
"title": "Animations",
"description": "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs",
"type": "object",
"additionalProperties": { "title": "Animation (controller)", "description": "The name of the animation controller / animation", "type": "string" }
"additionalProperties": {
"title": "Animation (controller)",
"description": "The name of the animation controller / animation",
"type": "string"
}
},
"identifier": {
"$ref": "../../../general/entity/identifier.json",
"description": "Sets the identifier for this entity's description.",
"title": "Identifier"
},
"is_spawnable": {
"type": "boolean",
"title": "Is Spawnable",
"description": "Sets whether or not this entity has a spawn egg in the creative ui."
},
"identifier": { "$ref": "../../../general/entity/identifier.json", "description": "Sets the identifier for this entity's description.", "title": "Identifier" },
"is_spawnable": { "type": "boolean", "title": "Is Spawnable", "description": "Sets whether or not this entity has a spawn egg in the creative ui." },
"is_summonable": {
"type": "boolean",
"title": "Is Summonable Property",
@@ -45,7 +57,12 @@
"items": {
"oneOf": [
{ "type": "string", "title": "Animation", "description": "The name of an animation controller referenced in animations" },
{ "type": "object", "title": "Conditional Animation", "description": "TODO", "additionalProperties": { "type": "string", "title": "Animation" } }
{
"type": "object",
"title": "Conditional Animation",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "Animation" }
}
]
}
}

View File

@@ -7,7 +7,12 @@
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"admire_item_sound": { "type": "string", "default": "", "description": "The sound event to play when admiring the item", "title": "Admire Item Sound" },
"admire_item_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when admiring the item",
"title": "Admire Item Sound"
},
"on_admire_item_start": { "$ref": "../types/event.json", "title": "On Admire Item Start", "description": "UNDOCUMENTATED" },
"on_admire_item_stop": { "$ref": "../types/event.json", "title": "On Admire Item Stop", "description": "UNDOCUMENTATED" },
"sound_interval": {

View File

@@ -25,7 +25,11 @@
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
},
"on_celebration_end_event": { "$ref": "../types/trigger.json", "description": "The event to trigger when the goal's duration expires.", "title": "On Celebration End Event" },
"on_celebration_end_event": {
"$ref": "../types/trigger.json",
"description": "The event to trigger when the goal's duration expires.",
"title": "On Celebration End Event"
},
"sound_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",

View File

@@ -9,7 +9,12 @@
"priority": { "$ref": "types/base_priority.json" },
"aggro_sound": { "type": "string", "default": "", "description": "Sound to occasionally play while defending.", "title": "Aggro Sound" },
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds between attacks", "title": "Attack Interval" },
"must_see": { "type": "boolean", "default": false, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "Must See" },
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"default": 3,
@@ -17,8 +22,18 @@
"title": "Must See Forget Duration"
},
"on_defend_start": { "$ref": "../types/event.json", "title": "On Defend Start", "description": "UNDOCUMENTATED" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "Within Radius" },
"entity_types": { "type": "object", "description": "List of entity types that this mob considers valid targets", "title": "Entity Types", "additionalProperties": false },
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within Radius"
},
"entity_types": {
"type": "object",
"description": "List of entity types that this mob considers valid targets",
"title": "Entity Types",
"additionalProperties": false
},
"sound_chance": { "title": "Sound Chance", "description": "UNDOCUMENTATED", "type": "number" }
}
}

View File

@@ -26,7 +26,11 @@
"description": "The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.",
"title": "Chance"
},
"filters": { "description": "The filters to use when determining if this potion can be selected.", "$ref": "../filters.json", "title": "Filters" }
"filters": {
"description": "The filters to use when determining if this potion can be selected.",
"$ref": "../filters.json",
"title": "Filters"
}
},
"description": "TODO description: potions",
"title": "Potions"

View File

@@ -9,8 +9,17 @@
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown": { "title": "Cooldown", "description": "UNDOCUMENTATED", "type": "number" },
"drop_item_chance": { "type": "number", "default": [1.0], "description": "The probability that the mob will drop an item.", "title": "Drop Item Chance" },
"entity_types": { "description": "List of entity types this mob will drop items for.", "title": "Entity Types", "$ref": "../types/entity_types.json" },
"drop_item_chance": {
"type": "number",
"default": [1.0],
"description": "The probability that the mob will drop an item.",
"title": "Drop Item Chance"
},
"entity_types": {
"description": "List of entity types this mob will drop items for.",
"title": "Entity Types",
"$ref": "../types/entity_types.json"
},
"goal_radius": {
"type": "number",
"default": 0.5,
@@ -18,7 +27,12 @@
"title": "Goal Radius"
},
"loot_table": { "type": "string", "pattern": "^loot_tables.*\\.json$", "description": "Loot table to select items from.", "title": "Loot Table" },
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance in blocks this mob will look for entities to drop an item for.", "title": "Max Dist" },
"max_dist": {
"type": "number",
"default": 0,
"description": "Maximum distance in blocks this mob will look for entities to drop an item for.",
"title": "Max Dist"
},
"minimum_teleport_distance": { "title": "Minimum Teleport Distance", "description": "UNDOCUMENTATED", "type": "number" },
"max_head_look_at_height": { "title": "Max Head Look At Height", "description": "UNDOCUMENTATED", "type": "number" },
"offering_distance": {
@@ -27,12 +41,26 @@
"description": "The distance in blocks the mob will try to be away from the entity when it drops the item.",
"title": "Offering Distance"
},
"on_drop_attempt": { "$ref": "../types/event.json", "description": "Event to run when this mob attempts to drop an item.", "title": "On Drop Attempt" },
"on_drop_attempt": {
"$ref": "../types/event.json",
"description": "Event to run when this mob attempts to drop an item.",
"title": "On Drop Attempt"
},
"seconds_before_pickup": { "title": "Seconds Before Pickup", "description": "UNDOCUMENTATED", "type": "number" },
"search_count": { "type": "integer", "default": 1, "description": "UNDOCUMENTATED", "title": "Search Height" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the target the mob can be.", "title": "Search Range" },
"target_range": { "title": "Target Range", "description": "UNDOCUMENTATED", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the target the mob can be.",
"title": "Search Range"
},
"target_range": {
"title": "Target Range",
"description": "UNDOCUMENTATED",
"type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
},
"teleport_offset": {
"title": "Teleport Offset",
"description": "UNDOCUMENTATED",

View File

@@ -7,6 +7,10 @@
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"delay_before_eating": { "type": "number", "description": "Time in seconds the mob should wait before eating the item.", "title": "Delay Before Eating" }
"delay_before_eating": {
"type": "number",
"description": "Time in seconds the mob should wait before eating the item.",
"title": "Delay Before Eating"
}
}
}

View File

@@ -8,6 +8,11 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" }
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
}
}
}

View File

@@ -7,16 +7,41 @@
"type": "object",
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"avoid_water": { "type": "boolean", "default": false, "description": "If true, the mob will not go into water blocks when going towards a mount", "title": "TODO Title" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount",
"title": "TODO Title"
},
"mount_distance": {
"type": "number",
"default": -1,
"description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance",
"title": "TODO Title"
},
"start_delay": { "type": "integer", "default": 0, "description": "Time the mob will wait before starting to move towards the mount", "title": "TODO Title" },
"target_needed": { "type": "boolean", "default": false, "description": "If true, the mob will only look for a mount if it has a target", "title": "TODO Title" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks within which the mob will look for a mount", "title": "TODO Title" },
"max_failed_attempts": { "type": "integer", "$comment": "NOT DOCUMENTATED BY MINECRAFT", "description": "TODO description", "title": "TODO Title" }
"start_delay": {
"type": "integer",
"default": 0,
"description": "Time the mob will wait before starting to move towards the mount",
"title": "TODO Title"
},
"target_needed": {
"type": "boolean",
"default": false,
"description": "If true, the mob will only look for a mount if it has a target",
"title": "TODO Title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks within which the mob will look for a mount",
"title": "TODO Title"
},
"max_failed_attempts": {
"type": "integer",
"$comment": "NOT DOCUMENTATED BY MINECRAFT",
"description": "TODO description",
"title": "TODO Title"
}
}
}

View File

@@ -7,9 +7,19 @@
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"broadcast": { "type": "boolean", "default": false, "description": "Whether to broadcast out the mob's target to other mobs of the same type.", "title": "Broadcast" },
"broadcast": {
"type": "boolean",
"default": false,
"description": "Whether to broadcast out the mob's target to other mobs of the same type.",
"title": "Broadcast"
},
"broadcast_range": { "type": "number", "default": 0.0, "description": "Range in blocks for how far to broadcast.", "title": "Broadcast Range" },
"min_radius": { "type": "number", "default": 10.0, "description": "Minimum distance the target must be for the mob to run this goal.", "title": "Min Radius" },
"min_radius": {
"type": "number",
"default": 10.0,
"description": "Minimum distance the target must be for the mob to run this goal.",
"title": "Min Radius"
},
"within_radius_event": {
"$ref": "../types/event.json",
"description": "Event to run when target is within the radius. This event is broadcasted if broadcast is true.",

View File

@@ -8,8 +8,18 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"attack_time": { "type": "number", "default": 0.5, "description": "The delay after which the knockback occurs (in seconds).", "title": "TODO Title" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"attack_time": {
"type": "number",
"default": 0.5,
"description": "The delay after which the knockback occurs (in seconds).",
"title": "TODO Title"
},
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title"
},
"duration": { "type": "number", "default": 1, "description": "The duration of the roar (in seconds).", "title": "TODO Title" },
"knockback_damage": { "type": "integer", "default": 6, "description": "The damage dealt by the knockback roar.", "title": "TODO Title" },
"knockback_range": { "type": "integer", "default": 4, "description": "The radius (in blocks) of the knockback effect.", "title": "TODO Title" },

View File

@@ -14,7 +14,12 @@
"description": "If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air",
"title": "Must Be On Ground"
},
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent"
},
"yd": { "type": "number", "default": 0, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Yd" },
"target_dist": { "type": "number", "default": 0, "description": "UNDOCUMENTATED", "title": "Target Dist" }
}

View File

@@ -20,8 +20,19 @@
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal"
},
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "minimum": 0, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"minimum": 0,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"type": "array",
"default": [2, 4],

View File

@@ -20,7 +20,17 @@
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for lava to move towards", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for lava to move towards", "title": "Search Range" }
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for lava to move towards",
"title": "Search Height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for lava to move towards",
"title": "Search Range"
}
}
}

View File

@@ -8,8 +8,18 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_max": { "type": "number", "default": 0, "description": "Maximum time in seconds the mob has to wait before using the goal again", "title": "Cooldown Max" },
"cooldown_min": { "type": "number", "default": 0, "description": "Minimum time in seconds the mob has to wait before using the goal again", "title": "Cooldown Min" },
"cooldown_max": {
"type": "number",
"default": 0,
"description": "Maximum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Max"
},
"cooldown_min": {
"type": "number",
"default": 0,
"description": "Minimum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Min"
},
"mob_detect_dist": {
"type": "number",
"default": 6,

View File

@@ -53,7 +53,12 @@
"title": "Attack Interval Min"
},
"attack_owner": { "type": "boolean", "default": false, "description": "If true, this entity can attack its owner.", "title": "Attack Owner" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, this entity requires a path to the target.", "title": "Must Reach" },
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, this entity requires a path to the target.",
"title": "Must Reach"
},
"must_see": {
"type": "boolean",
"default": false,
@@ -84,7 +89,12 @@
"description": "If \"attack_interval\" is 0 or isn't declared, then between attacks: scanning for a new target occurs every amount of ticks equal to \"scan_interval\", minimum value is 1. Values under 10 can affect performance.",
"title": "Scan Interval"
},
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent"
},
"target_invisible_multiplier": {
"type": "number",
"default": 0.7,

View File

@@ -8,10 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "description": "List of entity types that this mob considers valid targets", "title": "Entity Types", "$ref": "../types/entity_types.json" },
"entity_types": {
"description": "List of entity types that this mob considers valid targets",
"title": "Entity Types",
"$ref": "../types/entity_types.json"
},
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds before selecting a target", "title": "Attack Interval" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, only entities that this mob can path to can be selected as targets", "title": "Must Reach" },
"must_see": { "type": "boolean", "default": false, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "Must See" },
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, only entities that this mob can path to can be selected as targets",
"title": "Must Reach"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"default": 3,
@@ -30,14 +44,29 @@
"description": "If true, the target will change to the current closest entity whenever a different entity is closer",
"title": "Reselect Targets"
},
"scan_interval": { "type": "integer", "default": 10, "description": "How many ticks to wait between scanning for a target.", "title": "Scan Interval" },
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"scan_interval": {
"type": "integer",
"default": 10,
"description": "How many ticks to wait between scanning for a target.",
"title": "Scan Interval"
},
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent"
},
"target_search_height": {
"type": "number",
"default": -1.0,
"description": "Height in blocks to search for a target mob. -1.0f means the height does not matter.",
"title": "Target Search Height"
},
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "Within Radius" }
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within Radius"
}
}
}

View File

@@ -15,8 +15,18 @@
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the owner the pet can be to sleep with owner.", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the owner the pet can be to sleep with owner.", "title": "Search Range" },
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks from the owner the pet can be to sleep with owner.",
"title": "Search Height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the owner the pet can be to sleep with owner.",
"title": "Search Range"
},
"search_radius": { "type": "integer", "default": 0, "description": "UNDOCUMENTATED", "title": "Search Radius" }
}
}

View File

@@ -8,7 +8,12 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"can_pickup_any_item": { "type": "boolean", "default": false, "description": "If true, the mob can pickup any item", "title": "Can Pickup Any Item" },
"can_pickup_any_item": {
"type": "boolean",
"default": false,
"description": "If true, the mob can pickup any item",
"title": "Can Pickup Any Item"
},
"can_pickup_to_hand_or_equipment": {
"type": "boolean",
"default": true,
@@ -29,6 +34,11 @@
"description": "If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items",
"title": "Pickup Based On Chance"
},
"track_target": { "type": "boolean", "default": false, "description": "If true, this mob will chase after the target as long as it's a valid target", "title": "Track Target" }
"track_target": {
"type": "boolean",
"default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target"
}
}
}

View File

@@ -9,7 +9,12 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"hover_height": { "type": "array", "description": "UNDOCUMENTATED", "title": "Hover Height", "items": [{ "type": "number" }, { "type": "number" }] },
"hover_height": {
"type": "array",
"description": "UNDOCUMENTATED",
"title": "Hover Height",
"items": [{ "type": "number" }, { "type": "number" }]
},
"interval": {
"type": "integer",
"default": 120,

View File

@@ -8,14 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"max_look_count": { "type": "integer", "default": 2, "description": "The max amount of unique looks a mob will have while looking around.", "title": "Max Look Count" },
"max_look_count": {
"type": "integer",
"default": 2,
"description": "The max amount of unique looks a mob will have while looking around.",
"title": "Max Look Count"
},
"max_look_time": {
"type": "integer",
"default": 40,
"description": "The max amount of time (in ticks) a mob will stay looking at a direction while looking around.",
"title": "Max Look Time"
},
"min_look_count": { "type": "integer", "default": 1, "description": "The min amount of unique looks a mob will have while looking around.", "title": "Min Look Count" },
"min_look_count": {
"type": "integer",
"default": 1,
"description": "The min amount of unique looks a mob will have while looking around.",
"title": "Min Look Count"
},
"min_look_time": {
"type": "integer",
"default": 20,

View File

@@ -14,8 +14,18 @@
"description": "The amount of time the mob will be interested before pouncing. This happens when the mob is within range of pouncing",
"title": "Interest Time"
},
"leap_distance": { "type": "number", "default": 0.8, "description": "The distance in blocks the mob jumps in the direction of its target", "title": "Leap Distance" },
"leap_height": { "type": "number", "default": 0.9, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Leap Height" },
"leap_distance": {
"type": "number",
"default": 0.8,
"description": "The distance in blocks the mob jumps in the direction of its target",
"title": "Leap Distance"
},
"leap_height": {
"type": "number",
"default": 0.9,
"description": "The height in blocks the mob jumps when leaping at its target",
"title": "Leap Height"
},
"max_stalk_dist": {
"type": "number",
"default": 10,
@@ -28,7 +38,12 @@
"description": "The maximum distance away from the target in blocks to begin pouncing at the target",
"title": "Pounce Max Dist"
},
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent"
},
"stalk_speed": { "type": "number", "default": 1.2, "description": "The movement speed in which you stalk your target", "title": "Stalk Speed" },
"strike_dist": {
"type": "number",

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
},
"goal_radius": {
"type": "number",
"default": 0.5,
@@ -21,7 +26,17 @@
"description": "The distance in blocks to search for points inside villages. If <= 0, find the closest village regardless of distance.",
"title": "Search Range"
},
"speed_multiplier": { "type": "number", "default": 1, "description": "Movement speed multiplier of the mob when using this AI Goal", "title": "Speed Multiplier" },
"start_chance": { "type": "number", "default": 0.1, "description": "This is the chance that the mob will start this goal, from 0 to 1", "title": "Start Chance" }
"speed_multiplier": {
"type": "number",
"default": 1,
"description": "Movement speed multiplier of the mob when using this AI Goal",
"title": "Speed Multiplier"
},
"start_chance": {
"type": "number",
"default": 0.1,
"description": "This is the chance that the mob will start this goal, from 0 to 1",
"title": "Start Chance"
}
}
}

View File

@@ -17,7 +17,17 @@
},
"can_tempt_while_ridden": { "type": "boolean", "title": "Can Tempt While Ridden", "description": "UNDOCUMENTATED" },
"can_tempt_vertically": { "type": "boolean", "title": "Can Tempt Vertically", "description": "UNDOCUMENTATED" },
"items": { "type": "array", "description": "List of items this mob is tempted by", "items": { "$ref": "../../../../general/item/identifier.json" }, "title": "TODO Title" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks this mob can get tempted by a player holding an item they like", "title": "TODO Title" }
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
"items": { "$ref": "../../../../general/item/identifier.json" },
"title": "TODO Title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
"title": "TODO Title"
}
}
}

View File

@@ -250,12 +250,16 @@
"minecraft:behavior.move_to_village": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_village.json" },
"minecraft:behavior.move_to_water": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_water.json" },
"minecraft:behavior.move_towards_home_restriction": { "$ref": "./behaviors/minecraft.behavior.move_towards_home_restriction.json" },
"minecraft:behavior.move_towards_dwelling_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json" },
"minecraft:behavior.move_towards_dwelling_restriction": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json"
},
"minecraft:behavior.move_towards_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_restriction.json" },
"minecraft:behavior.move_towards_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_target.json" },
"minecraft:behavior.nap": { "$ref": "./behaviors/minecraft.behavior.nap.json" },
"minecraft:behavior.nearest_attackable_target": { "$ref": "./behaviors/minecraft.behavior.nearest_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": { "$ref": "./behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": {
"$ref": "./behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json"
},
"minecraft:behavior.ocelot_sit_on_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelot_sit_on_block.json" },
"minecraft:behavior.ocelotattack": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelotattack.json" },
"minecraft:behavior.offer_flower": { "$ref": "../1.8.0/behaviors/minecraft.behavior.offer_flower.json" },

View File

@@ -14,12 +14,23 @@
],
"title": "TODO Title"
},
"duration": { "type": "number", "default": 1200, "description": "Amount of time before the entity grows up, -1 for always a baby.", "title": "TODO Title" },
"duration": {
"type": "number",
"default": 1200,
"description": "Amount of time before the entity grows up, -1 for always a baby.",
"title": "TODO Title"
},
"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": { "type": "object", "properties": { "growth": { "type": "number" }, "item": { "$ref": "../../../../general/item/identifier.json" } } } },
{
"type": "array",
"items": {
"type": "object",
"properties": { "growth": { "type": "number" }, "item": { "$ref": "../../../../general/item/identifier.json" } }
}
},
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
],
"title": "TODO Title"

View File

@@ -7,8 +7,23 @@
"description": "Sets the entity's delay between playing its ambient sound.",
"required": [],
"properties": {
"event_name": { "type": "string", "default": "ambient", "description": "Level sound event to be played as the ambient sound.", "title": "Event Name" },
"range": { "type": "number", "default": 16, "description": "Maximum time in seconds to randomly add to the ambient sound delay time.", "title": "Range" },
"value": { "type": "number", "default": 8, "description": "Minimum time in seconds before the entity plays its ambient sound again", "title": "Value" }
"event_name": {
"type": "string",
"default": "ambient",
"description": "Level sound event to be played as the ambient sound.",
"title": "Event Name"
},
"range": {
"type": "number",
"default": 16,
"description": "Maximum time in seconds to randomly add to the ambient sound delay time.",
"title": "Range"
},
"value": {
"type": "number",
"default": 8,
"description": "Minimum time in seconds before the entity plays its ambient sound again",
"title": "Value"
}
}
}

View File

@@ -13,8 +13,16 @@
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry",
"title": "Broadcast Anger"
},
"broadcast_filters": { "$ref": "../filters.json", "description": "Conditions that make this entry in the list valid", "title": "Broadcast Filters" },
"filters": { "$ref": "../filters.json", "description": "Filter out mob types that it should not attack while angry (other Piglins)", "title": "Filters" },
"broadcast_filters": {
"$ref": "../filters.json",
"description": "Conditions that make this entry in the list valid",
"title": "Broadcast Filters"
},
"filters": {
"$ref": "../filters.json",
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
"title": "Filters"
},
"broadcast_range": {
"type": "integer",
"default": 20,
@@ -45,8 +53,18 @@
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked",
"title": "Broadcast Anger On Being Attacked"
},
"duration": { "type": "integer", "default": 25, "description": "The amount of time in seconds that the entity will be angry", "title": "Duration" },
"duration_delta": { "type": "integer", "default": 0, "description": "Variance in seconds added to the duration [-delta, delta]", "title": "Duration Delta" },
"duration": {
"type": "integer",
"default": 25,
"description": "The amount of time in seconds that the entity will be angry",
"title": "Duration"
},
"duration_delta": {
"type": "integer",
"default": 0,
"description": "Variance in seconds added to the duration [-delta, delta]",
"title": "Duration Delta"
},
"sound_interval": {
"description": "The range of time in seconds to randomly wait before playing the sound again",
"title": "Sound Interval",

View File

@@ -12,7 +12,12 @@
"description": "How much damage per tick is applied to entities that enter the damage range.",
"title": "Damage Per Tick"
},
"damage_range": { "type": "number", "default": 0.2, "description": "How close a hostile entity must be to have the damage applied.", "title": "Damage Range" },
"damage_range": {
"type": "number",
"default": 0.2,
"description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage Range"
},
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
}

View File

@@ -23,9 +23,19 @@
"additionalProperties": false,
"description": "List of items that can be used to boost while riding this entity.",
"properties": {
"damage": { "type": "integer", "default": 1, "description": "This is the damage that the item will take each time it is used.", "title": "Damage" },
"damage": {
"type": "integer",
"default": 1,
"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" },
"replace_item": { "type": "string", "default": "", "description": "The item used to boost will become this item once it is used up.", "title": "Replace Item" }
"replace_item": {
"type": "string",
"default": "",
"description": "The item used to boost will become this item once it is used up.",
"title": "Replace Item"
}
}
}
}

View File

@@ -34,7 +34,12 @@
"title": "Blocks"
}
},
{ "description": "A block type required nearby for the entity to breed.", "type": "string", "$ref": "../../../../general/blocks_item.json", "title": "Blocks" }
{
"description": "A block type required nearby for the entity to breed.",
"type": "string",
"$ref": "../../../../general/blocks_item.json",
"title": "Blocks"
}
]
},
"count": { "type": "number", "description": "The number of the required block types nearby for the entity to breed.", "title": "Count" },
@@ -57,7 +62,12 @@
"default": true,
"title": "Blend Attributes"
},
"breed_cooldown": { "description": "Time in seconds before the Entity can breed again.", "type": "number", "default": 60.0, "title": "Breed Cooldown" },
"breed_cooldown": {
"description": "Time in seconds before the Entity can breed again.",
"type": "number",
"default": 60.0,
"title": "Breed Cooldown"
},
"breed_items": {
"description": "The list of items that can be used to get the entity into the 'love' state",
"title": "Breed Items",
@@ -115,7 +125,14 @@
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",
"additionalProperties": false,
"properties": {
"color": { "type": "number", "default": 0, "minimum": 0.0, "maximum": 1.0, "description": "The percentage chance of a mutation on the entity's color.", "title": "Color" },
"color": {
"type": "number",
"default": 0,
"minimum": 0.0,
"maximum": 1.0,
"description": "The percentage chance of a mutation on the entity's color.",
"title": "Color"
},
"extra_variant": {
"type": "number",
"default": 0,
@@ -135,14 +152,29 @@
},
"title": "Mutation Factor"
},
"causes_pregnancy": { "type": "boolean", "default": false, "description": "If true, the entity will become pregnant instead of spawning a baby.", "title": "Causes Pregnancy" },
"inherit_tamed": { "type": "boolean", "default": true, "description": "If true, the babies will be automatically tamed if its parents are", "title": "Inherit Tamed" },
"causes_pregnancy": {
"type": "boolean",
"default": false,
"description": "If true, the entity will become pregnant instead of spawning a baby.",
"title": "Causes Pregnancy"
},
"inherit_tamed": {
"type": "boolean",
"default": true,
"description": "If true, the babies will be automatically tamed if its parents are",
"title": "Inherit Tamed"
},
"require_full_health": {
"type": "boolean",
"default": false,
"description": "If true, the entity needs to be at full health before it can breed.",
"title": "Require Full Health"
},
"require_tame": { "type": "boolean", "default": true, "description": "If true, the entities need to be tamed first before they can breed.", "title": "Require Tame" }
"require_tame": {
"type": "boolean",
"default": true,
"description": "If true, the entities need to be tamed first before they can breed.",
"title": "Require Tame"
}
}
}

View File

@@ -12,7 +12,12 @@
"description": "Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.",
"title": "Apply Gravity"
},
"base_buoyancy": { "type": "number", "default": 1, "description": "Base buoyancy used to calculate how much will a mob float.", "title": "Base Buoyancy" },
"base_buoyancy": {
"type": "number",
"default": 1,
"description": "Base buoyancy used to calculate how much will a mob float.",
"title": "Base Buoyancy"
},
"big_wave_probability": {
"type": "number",
"default": 0.03,
@@ -37,6 +42,11 @@
"title": "Liquid Blocks",
"items": { "type": "string", "title": "Block ID" }
},
"simulate_waves": { "type": "boolean", "default": true, "description": "Should the movement simulate waves going through.", "title": "Simulate Waves" }
"simulate_waves": {
"type": "boolean",
"default": true,
"description": "Should the movement simulate waves going through.",
"title": "Simulate Waves"
}
}
}

View File

@@ -6,13 +6,23 @@
"description": "Specifies hunt celebration behavior.",
"additionalProperties": false,
"properties": {
"broadcast": { "type": "boolean", "default": true, "description": "If true, celebration will be broadcasted to other entities in the radius.", "title": "Broadcast" },
"broadcast": {
"type": "boolean",
"default": true,
"description": "If true, celebration will be broadcasted to other entities in the radius.",
"title": "Broadcast"
},
"celebration_targets": {
"$ref": "../filters.json",
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
"title": "Celeberation Targets"
},
"celebrate_sound": { "type": "string", "default": "", "description": "The sound event to play when the mob is celebrating", "title": "Celebrate Sound" },
"celebrate_sound": {
"type": "string",
"default": "",
"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" },
"radius": {
"type": "number",

View File

@@ -18,7 +18,12 @@
"properties": {
"width": { "type": "number", "title": "Width", "description": "TODO" },
"height": { "type": "number", "title": "Height", "description": "TODO" },
"pivot": { "type": "array", "title": "Pivot", "description": "TODO", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
"pivot": {
"type": "array",
"title": "Pivot",
"description": "TODO",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}
}
}
}

View File

@@ -37,7 +37,11 @@
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
},
"on_damage_sound_event": { "type": "string", "description": "Defines what sound to play, if any, when the on_damage filters are met.", "title": "On Damage Sound Event" }
"on_damage_sound_event": {
"type": "string",
"description": "Defines what sound to play, if any, when the on_damage filters are met.",
"title": "On Damage Sound Event"
}
}
}
}

View File

@@ -16,8 +16,18 @@
"type": "object",
"additionalProperties": false,
"properties": {
"max_distance": { "type": "integer", "default": 128, "description": "Maximum distance for standard despawn rules to instantly despawn the mob.", "title": "Max Distance" },
"min_distance": { "type": "integer", "default": 32, "description": "Minimum distance for standard despawn rules to try to despawn the mob.", "title": "Min Distance" }
"max_distance": {
"type": "integer",
"default": 128,
"description": "Maximum distance for standard despawn rules to instantly despawn the mob.",
"title": "Max Distance"
},
"min_distance": {
"type": "integer",
"default": 32,
"description": "Minimum distance for standard despawn rules to try to despawn the mob.",
"title": "Min Distance"
}
},
"description": "TODO description",
"title": "TODO Title"
@@ -45,7 +55,12 @@
"description": "The amount of time in seconds that the mob must be inactive.",
"title": "Min Range Inactivity Timer"
},
"min_range_random_chance": { "type": "integer", "default": 800, "description": "A random chance between 1 and the given value.", "title": "Min Range Random Chance" },
"min_range_random_chance": {
"type": "integer",
"default": 800,
"description": "A random chance between 1 and the given value.",
"title": "Min Range Random Chance"
},
"remove_child_entities": {
"type": "boolean",
"default": false,

View File

@@ -18,7 +18,12 @@
"description": "The minimum number of entities that must pass the filter conditions for the event to send.",
"title": "Minimum Count"
},
"relative_range": { "type": "boolean", "default": true, "description": "If true the sensor range is additive on top of the entity's size.", "title": "Relative Range" },
"relative_range": {
"type": "boolean",
"default": true,
"description": "If true the sensor range is additive on top of the entity's size.",
"title": "Relative Range"
},
"require_all": {
"type": "boolean",
"default": false,

Some files were not shown because too many files have changed in this diff Show More