This commit is contained in:
DaanV2
2021-03-21 15:18:38 +01:00
parent d3298267bc
commit 698ee42623
960 changed files with 5960 additions and 22946 deletions

View File

@@ -174,7 +174,6 @@
"minecraft:walk_animation_speed": { "$ref": "../1.8.0/components/minecraft.walk_animation_speed.json" },
"minecraft:wants_jockey": { "$ref": "../1.8.0/components/minecraft.wants_jockey.json" },
"minecraft:water_movement": { "$ref": "../1.8.0/components/minecraft.water_movement.json" },
"minecraft:behavior.admire_item": { "$ref": "../1.8.0/behaviors/minecraft.behavior.admire_item.json" },
"minecraft:behavior.avoid_mob_type": { "$ref": "../1.8.0/behaviors/minecraft.behavior.avoid_mob_type.json" },
"minecraft:behavior.beg": { "$ref": "../1.8.0/behaviors/minecraft.behavior.beg.json" },
@@ -244,16 +243,12 @@
"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,52 +7,23 @@
"additionalProperties": false,
"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"
},
"catch_fire": {
"type": "boolean",
"default": false,
"description": "If true, the entity hit will be set on fire",
"title": "Catch fire"
},
"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" },
"catch_fire": { "type": "boolean", "default": false, "description": "If true, the entity hit will be set on fire", "title": "Catch Fire" },
"crit_particle_on_hurt": {
"type": "boolean",
"default": false,
"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"
"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" },
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the projectile causes fire is affected by the mob griefing game rule",
"title": "Fire affected by griefing"
"title": "Fire Affected By Griefing"
},
"gravity": {
"type": "number",
@@ -60,54 +31,19 @@
"description": "The gravity applied to this entity when thrown. The higher the value, the faster the entity falls",
"title": "Gravity"
},
"hit_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile hits something",
"title": "Hit sound"
},
"homing": {
"type": "boolean",
"default": false,
"description": "If true, the projectile homes in to the nearest entity",
"title": "Homing"
},
"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"
},
"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" },
"lightning": { "type": "boolean", "default": false, "description": "If true, the entity hit will be struck by lightning", "title": "Lightning" },
"liquid_inertia": {
"type": "number",
"default": 0.6,
"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"
"title": "Liquid Inertia"
},
"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],
@@ -131,12 +67,7 @@
}
]
},
"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",
@@ -388,77 +319,37 @@
}
}
},
"particle": {
"type": "string",
"default": "iconcrack",
"description": "Particle to use upon collision",
"title": "Particle"
},
"potion_effect": {
"type": "integer",
"default": -1,
"description": "Defines the effect the arrow will apply to the entity it hits",
"title": "Potion effect"
},
"power": {
"type": "number",
"default": 1.3,
"description": "Determines the velocity of the projectile",
"title": "Power"
},
"reflect_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be reflected back when hit",
"title": "Reflect on hurt"
},
"particle": { "type": "string", "default": "iconcrack", "description": "Particle to use upon collision", "title": "Particle" },
"potion_effect": { "type": "integer", "default": -1, "description": "Defines the effect the arrow will apply to the entity it hits", "title": "Potion Effect" },
"power": { "type": "number", "default": 1.3, "description": "Determines the velocity of the projectile", "title": "Power" },
"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,
"description": "If true, damage will be randomized based on damage and speed",
"title": "Semi random diff damage"
},
"shoot_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile is shot",
"title": "Shoot sound"
"title": "Semi Random Diff Damage"
},
"shoot_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile is shot", "title": "Shoot Sound" },
"shoot_target": {
"type": "boolean",
"default": true,
"description": "If true, the projectile will be shot towards the target of the entity firing it",
"title": "Shoot target"
},
"should_bounce": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will bounce upon hit",
"title": "Should bounce"
},
"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"
"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_range": { "type": "number", "default": 4, "description": "Radius in blocks of the 'splash' effect", "title": "Splash Range" },
"uncertainty_base": {
"type": "number",
"default": 0,
"description": "The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty base"
"title": "Uncertainty Base"
},
"uncertainty_multiplier": {
"type": "number",
"default": 0,
"description": "Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty multiplier"
"title": "Uncertainty Multiplier"
}
}
}

View File

@@ -2,13 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entity1.10.0",
"type": "object",
"title": "The minecraft behaviour entity 1.10.0",
"title": "Behaviour Entity 1.10.0",
"description": "TODO description",
"additionalProperties": false,
"required": ["format_version", "minecraft:entity"],
"properties": {
"format_version": {
"title": "The 1.10.0 format version",
"title": "1.10.0 Format Version",
"type": "string",
"const": "1.10.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."

View File

@@ -6,19 +6,15 @@
"definitions": {
"addremove": {
"additionalProperties": false,
"title": "The add/remove schema",
"title": "Add/remove Schema",
"description": "The components groups to add or remove",
"type": "object",
"properties": {
"component_groups": {
"title": "The component groups schema",
"title": "Component Groups Schema",
"description": "The components groups to add or remove",
"type": "array",
"items": {
"type": "string",
"description": "TODO description: component groups",
"title": "Component Groups"
}
"items": { "type": "string", "description": "TODO description: component groups", "title": "Component Groups" }
}
}
},
@@ -26,41 +22,17 @@
"additionalProperties": false,
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"randomize": {
"type": "array",
"items": {
"required": ["weight"],
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"weight": {
"type": "number",
"description": "TODO description: weight",
"title": "Weight"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"weight": { "type": "number", "description": "TODO description: weight", "title": "Weight" }
},
"description": "TODO description: randomize",
"title": "Randomize"
@@ -75,32 +47,16 @@
"title": "Sequence",
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"filters": {
"$ref": "./filters.json"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": {
"$ref": "./filters.json"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"filters": { "$ref": "./filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}
},
@@ -115,19 +71,9 @@
"$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"
}
},
"additionalProperties": {
"$ref": "#/definitions/event_base"
"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" },
"description": "TODO description: "
}

View File

@@ -6,245 +6,69 @@
"filters_spec": {
"oneOf": [
{
"propertyNames": {
"enum": ["all_of", "any_of", "none_of"]
},
"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": "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" }
},
{
"if": { "properties": { "test": { "const": "has_damage" } } },
"then": { "$ref": "../1.8.0/filters/has_damage.json" }
},
{
"if": { "properties": { "test": { "const": "has_equipment" } } },
"then": { "$ref": "../1.8.0/filters/has_equipment.json" }
},
{
"if": { "properties": { "test": { "const": "has_mob_effect" } } },
"then": { "$ref": "../1.8.0/filters/has_mob_effect.json" }
},
{
"if": { "properties": { "test": { "const": "has_tag" } } },
"then": { "$ref": "../1.8.0/filters/has_tag.json" }
},
{
"if": { "properties": { "test": { "const": "has_trade_supply" } } },
"then": { "$ref": "../1.8.0/filters/has_trade_supply.json" }
},
{
"if": { "properties": { "test": { "const": "hourly_clock_time" } } },
"then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" }
},
{
"if": { "properties": { "test": { "const": "in_caravan" } } },
"then": { "$ref": "../1.8.0/filters/in_caravan.json" }
},
{
"if": { "properties": { "test": { "const": "in_clouds" } } },
"then": { "$ref": "../1.8.0/filters/in_clouds.json" }
},
{
"if": { "properties": { "test": { "const": "in_lava" } } },
"then": { "$ref": "../1.8.0/filters/in_lava.json" }
},
{
"if": { "properties": { "test": { "const": "in_water" } } },
"then": { "$ref": "../1.8.0/filters/in_water.json" }
},
{
"if": { "properties": { "test": { "const": "in_water_or_rain" } } },
"then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" }
},
{
"if": { "properties": { "test": { "const": "is_altitude" } } },
"then": { "$ref": "../1.8.0/filters/is_altitude.json" }
},
{
"if": { "properties": { "test": { "const": "is_avoiding_mobs" } } },
"then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" }
},
{
"if": { "properties": { "test": { "const": "is_biome" } } },
"then": { "$ref": "../1.8.0/filters/is_biome.json" }
},
{
"if": { "properties": { "test": { "const": "is_brightness" } } },
"then": { "$ref": "../1.8.0/filters/is_brightness.json" }
},
{
"if": { "properties": { "test": { "const": "is_climbing" } } },
"then": { "$ref": "../1.8.0/filters/is_climbing.json" }
},
{
"if": { "properties": { "test": { "const": "is_color" } } },
"then": { "$ref": "../1.8.0/filters/is_color.json" }
},
{
"if": { "properties": { "test": { "const": "is_daytime" } } },
"then": { "$ref": "../1.8.0/filters/is_daytime.json" }
},
{
"if": { "properties": { "test": { "const": "is_difficulty" } } },
"then": { "$ref": "../1.8.0/filters/is_difficulty.json" }
},
{
"if": { "properties": { "test": { "const": "is_family" } } },
"then": { "$ref": "../1.8.0/filters/is_family.json" }
},
{
"if": { "properties": { "test": { "const": "is_game_rule" } } },
"then": { "$ref": "../1.8.0/filters/is_game_rule.json" }
},
{
"if": { "properties": { "test": { "const": "is_humid" } } },
"then": { "$ref": "../1.8.0/filters/is_humid.json" }
},
{
"if": { "properties": { "test": { "const": "is_immobile" } } },
"then": { "$ref": "../1.8.0/filters/is_immobile.json" }
},
{
"if": { "properties": { "test": { "const": "is_in_village" } } },
"then": { "$ref": "../1.8.0/filters/is_in_village.json" }
},
{
"if": { "properties": { "test": { "const": "is_leashed" } } },
"then": { "$ref": "../1.8.0/filters/is_leashed.json" }
},
{
"if": { "properties": { "test": { "const": "is_mark_variant" } } },
"then": { "$ref": "../1.8.0/filters/is_mark_variant.json" }
},
{
"if": { "properties": { "test": { "const": "is_moving" } } },
"then": { "$ref": "../1.8.0/filters/is_moving.json" }
},
{
"if": { "properties": { "test": { "const": "is_owner" } } },
"then": { "$ref": "../1.8.0/filters/is_owner.json" }
},
{
"if": { "properties": { "test": { "const": "is_riding" } } },
"then": { "$ref": "../1.8.0/filters/is_riding.json" }
},
{
"if": { "properties": { "test": { "const": "is_skin_id" } } },
"then": { "$ref": "../1.8.0/filters/is_skin_id.json" }
},
{
"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_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" }
},
{
"if": { "properties": { "test": { "const": "is_visible" } } },
"then": { "$ref": "../1.8.0/filters/is_visible.json" }
},
{
"if": { "properties": { "test": { "const": "moon_intensity" } } },
"then": { "$ref": "../1.8.0/filters/moon_intensity.json" }
},
{
"if": { "properties": { "test": { "const": "moon_phase" } } },
"then": { "$ref": "../1.8.0/filters/moon_phase.json" }
},
{
"if": { "properties": { "test": { "const": "on_ground" } } },
"then": { "$ref": "../1.8.0/filters/on_ground.json" }
},
{
"if": { "properties": { "test": { "const": "on_ladder" } } },
"then": { "$ref": "../1.8.0/filters/on_ladder.json" }
}
{ "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": "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" } },
{ "if": { "properties": { "test": { "const": "has_damage" } } }, "then": { "$ref": "../1.8.0/filters/has_damage.json" } },
{ "if": { "properties": { "test": { "const": "has_equipment" } } }, "then": { "$ref": "../1.8.0/filters/has_equipment.json" } },
{ "if": { "properties": { "test": { "const": "has_mob_effect" } } }, "then": { "$ref": "../1.8.0/filters/has_mob_effect.json" } },
{ "if": { "properties": { "test": { "const": "has_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_trade_supply" } } }, "then": { "$ref": "../1.8.0/filters/has_trade_supply.json" } },
{ "if": { "properties": { "test": { "const": "hourly_clock_time" } } }, "then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" } },
{ "if": { "properties": { "test": { "const": "in_caravan" } } }, "then": { "$ref": "../1.8.0/filters/in_caravan.json" } },
{ "if": { "properties": { "test": { "const": "in_clouds" } } }, "then": { "$ref": "../1.8.0/filters/in_clouds.json" } },
{ "if": { "properties": { "test": { "const": "in_lava" } } }, "then": { "$ref": "../1.8.0/filters/in_lava.json" } },
{ "if": { "properties": { "test": { "const": "in_water" } } }, "then": { "$ref": "../1.8.0/filters/in_water.json" } },
{ "if": { "properties": { "test": { "const": "in_water_or_rain" } } }, "then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" } },
{ "if": { "properties": { "test": { "const": "is_altitude" } } }, "then": { "$ref": "../1.8.0/filters/is_altitude.json" } },
{ "if": { "properties": { "test": { "const": "is_avoiding_mobs" } } }, "then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" } },
{ "if": { "properties": { "test": { "const": "is_biome" } } }, "then": { "$ref": "../1.8.0/filters/is_biome.json" } },
{ "if": { "properties": { "test": { "const": "is_brightness" } } }, "then": { "$ref": "../1.8.0/filters/is_brightness.json" } },
{ "if": { "properties": { "test": { "const": "is_climbing" } } }, "then": { "$ref": "../1.8.0/filters/is_climbing.json" } },
{ "if": { "properties": { "test": { "const": "is_color" } } }, "then": { "$ref": "../1.8.0/filters/is_color.json" } },
{ "if": { "properties": { "test": { "const": "is_daytime" } } }, "then": { "$ref": "../1.8.0/filters/is_daytime.json" } },
{ "if": { "properties": { "test": { "const": "is_difficulty" } } }, "then": { "$ref": "../1.8.0/filters/is_difficulty.json" } },
{ "if": { "properties": { "test": { "const": "is_family" } } }, "then": { "$ref": "../1.8.0/filters/is_family.json" } },
{ "if": { "properties": { "test": { "const": "is_game_rule" } } }, "then": { "$ref": "../1.8.0/filters/is_game_rule.json" } },
{ "if": { "properties": { "test": { "const": "is_humid" } } }, "then": { "$ref": "../1.8.0/filters/is_humid.json" } },
{ "if": { "properties": { "test": { "const": "is_immobile" } } }, "then": { "$ref": "../1.8.0/filters/is_immobile.json" } },
{ "if": { "properties": { "test": { "const": "is_in_village" } } }, "then": { "$ref": "../1.8.0/filters/is_in_village.json" } },
{ "if": { "properties": { "test": { "const": "is_leashed" } } }, "then": { "$ref": "../1.8.0/filters/is_leashed.json" } },
{ "if": { "properties": { "test": { "const": "is_mark_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_mark_variant.json" } },
{ "if": { "properties": { "test": { "const": "is_moving" } } }, "then": { "$ref": "../1.8.0/filters/is_moving.json" } },
{ "if": { "properties": { "test": { "const": "is_owner" } } }, "then": { "$ref": "../1.8.0/filters/is_owner.json" } },
{ "if": { "properties": { "test": { "const": "is_riding" } } }, "then": { "$ref": "../1.8.0/filters/is_riding.json" } },
{ "if": { "properties": { "test": { "const": "is_skin_id" } } }, "then": { "$ref": "../1.8.0/filters/is_skin_id.json" } },
{ "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_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" } },
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "../1.8.0/filters/is_visible.json" } },
{ "if": { "properties": { "test": { "const": "moon_intensity" } } }, "then": { "$ref": "../1.8.0/filters/moon_intensity.json" } },
{ "if": { "properties": { "test": { "const": "moon_phase" } } }, "then": { "$ref": "../1.8.0/filters/moon_phase.json" } },
{ "if": { "properties": { "test": { "const": "on_ground" } } }, "then": { "$ref": "../1.8.0/filters/on_ground.json" } },
{ "if": { "properties": { "test": { "const": "on_ladder" } } }, "then": { "$ref": "../1.8.0/filters/on_ladder.json" } }
]
}
]

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.filters.1.8.0.base_operator",
"title": "Filters operator 1.8.0",
"title": "Filters Operator 1.8.0",
"type": "string",
"description": "The comparison to apply with 'value'.",
"default": "equals",

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.filters.1.8.0.base_subject",
"title": "Filters subject 1.8.0",
"title": "Filters Subject 1.8.0",
"type": "string",
"description": "The subject of this filter test.",
"default": "self",

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.filters.1.8.0.base_test",
"title": "Filters test 1.8.0",
"title": "Filters Test 1.8.0",
"type": "string",
"description": "The test operation",
"enum": [

View File

@@ -14,35 +14,23 @@
"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"
}
},
"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."
"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." },
"is_summonable": {
"type": "boolean",
"title": "The is summonable property",
"title": "Is Summonable Property",
"description": "Sets whether or not we can summon this entity using commands such as /summon."
},
"is_experimental": {
"type": "boolean",
"title": "Is experimental",
"title": "Is Experimental",
"description": "Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled."
},
"runtime_identifier": {
"type": "string",
"title": "Runtime identifier",
"title": "Runtime Identifier",
"description": "Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from."
},
"scripts": {
@@ -56,20 +44,8 @@
"description": "Tells minecraft to run which animation / animation controllers and under what conditions",
"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": "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" } }
]
}
}
@@ -78,7 +54,7 @@
}
},
"component_groups": {
"title": "Component groups",
"title": "Component Groups",
"description": "Each group when add / remove the default components",
"uniqueItems": true,
"type": "object",
@@ -86,20 +62,20 @@
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
}
},
"components": {
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
},
"events": {
"$ref": "./events.json",
"uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema"
"title": "Events Schema"
}
}
}

View File

@@ -1,25 +1,16 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.type.entity_types.1.10.0",
"title": "Entity types 1.10.0",
"title": "Entity Types 1.10.0",
"definitions": {
"entity_definition": {
"description": "The entity type",
"title": "The entity type",
"title": "Entity Type",
"type": "object",
"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"
},
"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" },
"walk_speed_multiplier": {
"type": "number",
"description": "Multiplier for the walking speed. A value of 1.0 means the speed is unchanged",
@@ -32,12 +23,7 @@
"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

@@ -4,25 +4,12 @@
"title": "Event",
"description": "Minecraft behaviour event 1.10.0",
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9_\\-:]+$",
"description": "The event to fire"
},
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire" },
{
"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"]
}
"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"] }
}
}
]

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.type.range_number_type.1.10.0",
"title": "Range [a, b]",
"title": "Range [a, B]",
"description": "A described range",
"items": [
{ "type": "number", "title": "Range: A", "description": "The first value of the range" },

View File

@@ -6,11 +6,7 @@
"description": "Trigger to fire",
"minProperties": 1,
"properties": {
"event": {
"type": "string",
"description": "Event",
"title": "The event to fire"
},
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "Filters" },
"target": { "$ref": "../../1.8.0/filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},

View File

@@ -2,12 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entity1.10.0",
"type": "object",
"title": "The minecraft behaviour entity 1.11.0",
"title": "Behaviour Entity 1.11.0",
"description": "TODO description",
"required": ["format_version", "minecraft:entity"],
"properties": {
"format_version": {
"title": "The 1.11.0 format version",
"title": "1.11.0 Format Version",
"type": "string",
"const": "1.11.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."

View File

@@ -6,19 +6,15 @@
"definitions": {
"addremove": {
"additionalProperties": false,
"title": "The add/remove schema",
"title": "Add/remove Schema",
"description": "The components groups to add or remove",
"type": "object",
"properties": {
"component_groups": {
"title": "The component groups schema",
"title": "Component Groups Schema",
"description": "The components groups to add or remove",
"type": "array",
"items": {
"type": "string",
"description": "TODO description: component groups",
"title": "Component Groups"
}
"items": { "type": "string", "description": "TODO description: component groups", "title": "Component Groups" }
}
}
},
@@ -26,41 +22,17 @@
"additionalProperties": false,
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"randomize": {
"type": "array",
"items": {
"required": ["weight"],
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"weight": {
"type": "number",
"description": "TODO description: weight",
"title": "Weight"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"weight": { "type": "number", "description": "TODO description: weight", "title": "Weight" }
},
"description": "TODO description: randomize",
"title": "Randomize"
@@ -75,32 +47,16 @@
"title": "Sequence",
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"filters": {
"$ref": "./filters.json"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": {
"$ref": "./filters.json"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"filters": { "$ref": "./filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}
},
@@ -115,19 +71,9 @@
"$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"
}
},
"additionalProperties": {
"$ref": "#/definitions/event_base"
"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" },
"description": "TODO description: "
}

View File

@@ -6,245 +6,69 @@
"filters_spec": {
"oneOf": [
{
"propertyNames": {
"enum": ["all_of", "any_of", "none_of"]
},
"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": "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" }
},
{
"if": { "properties": { "test": { "const": "has_damage" } } },
"then": { "$ref": "../1.8.0/filters/has_damage.json" }
},
{
"if": { "properties": { "test": { "const": "has_equipment" } } },
"then": { "$ref": "../1.8.0/filters/has_equipment.json" }
},
{
"if": { "properties": { "test": { "const": "has_mob_effect" } } },
"then": { "$ref": "../1.8.0/filters/has_mob_effect.json" }
},
{
"if": { "properties": { "test": { "const": "has_tag" } } },
"then": { "$ref": "../1.8.0/filters/has_tag.json" }
},
{
"if": { "properties": { "test": { "const": "has_trade_supply" } } },
"then": { "$ref": "../1.8.0/filters/has_trade_supply.json" }
},
{
"if": { "properties": { "test": { "const": "hourly_clock_time" } } },
"then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" }
},
{
"if": { "properties": { "test": { "const": "in_caravan" } } },
"then": { "$ref": "../1.8.0/filters/in_caravan.json" }
},
{
"if": { "properties": { "test": { "const": "in_clouds" } } },
"then": { "$ref": "../1.8.0/filters/in_clouds.json" }
},
{
"if": { "properties": { "test": { "const": "in_lava" } } },
"then": { "$ref": "../1.8.0/filters/in_lava.json" }
},
{
"if": { "properties": { "test": { "const": "in_water" } } },
"then": { "$ref": "../1.8.0/filters/in_water.json" }
},
{
"if": { "properties": { "test": { "const": "in_water_or_rain" } } },
"then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" }
},
{
"if": { "properties": { "test": { "const": "is_altitude" } } },
"then": { "$ref": "../1.8.0/filters/is_altitude.json" }
},
{
"if": { "properties": { "test": { "const": "is_avoiding_mobs" } } },
"then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" }
},
{
"if": { "properties": { "test": { "const": "is_biome" } } },
"then": { "$ref": "../1.8.0/filters/is_biome.json" }
},
{
"if": { "properties": { "test": { "const": "is_brightness" } } },
"then": { "$ref": "../1.8.0/filters/is_brightness.json" }
},
{
"if": { "properties": { "test": { "const": "is_climbing" } } },
"then": { "$ref": "../1.8.0/filters/is_climbing.json" }
},
{
"if": { "properties": { "test": { "const": "is_color" } } },
"then": { "$ref": "../1.8.0/filters/is_color.json" }
},
{
"if": { "properties": { "test": { "const": "is_daytime" } } },
"then": { "$ref": "../1.8.0/filters/is_daytime.json" }
},
{
"if": { "properties": { "test": { "const": "is_difficulty" } } },
"then": { "$ref": "../1.8.0/filters/is_difficulty.json" }
},
{
"if": { "properties": { "test": { "const": "is_family" } } },
"then": { "$ref": "../1.8.0/filters/is_family.json" }
},
{
"if": { "properties": { "test": { "const": "is_game_rule" } } },
"then": { "$ref": "../1.8.0/filters/is_game_rule.json" }
},
{
"if": { "properties": { "test": { "const": "is_humid" } } },
"then": { "$ref": "../1.8.0/filters/is_humid.json" }
},
{
"if": { "properties": { "test": { "const": "is_immobile" } } },
"then": { "$ref": "../1.8.0/filters/is_immobile.json" }
},
{
"if": { "properties": { "test": { "const": "is_in_village" } } },
"then": { "$ref": "../1.8.0/filters/is_in_village.json" }
},
{
"if": { "properties": { "test": { "const": "is_leashed" } } },
"then": { "$ref": "../1.8.0/filters/is_leashed.json" }
},
{
"if": { "properties": { "test": { "const": "is_mark_variant" } } },
"then": { "$ref": "../1.8.0/filters/is_mark_variant.json" }
},
{
"if": { "properties": { "test": { "const": "is_moving" } } },
"then": { "$ref": "../1.8.0/filters/is_moving.json" }
},
{
"if": { "properties": { "test": { "const": "is_owner" } } },
"then": { "$ref": "../1.8.0/filters/is_owner.json" }
},
{
"if": { "properties": { "test": { "const": "is_riding" } } },
"then": { "$ref": "../1.8.0/filters/is_riding.json" }
},
{
"if": { "properties": { "test": { "const": "is_skin_id" } } },
"then": { "$ref": "../1.8.0/filters/is_skin_id.json" }
},
{
"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_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" }
},
{
"if": { "properties": { "test": { "const": "is_visible" } } },
"then": { "$ref": "../1.8.0/filters/is_visible.json" }
},
{
"if": { "properties": { "test": { "const": "moon_intensity" } } },
"then": { "$ref": "../1.8.0/filters/moon_intensity.json" }
},
{
"if": { "properties": { "test": { "const": "moon_phase" } } },
"then": { "$ref": "../1.8.0/filters/moon_phase.json" }
},
{
"if": { "properties": { "test": { "const": "on_ground" } } },
"then": { "$ref": "../1.8.0/filters/on_ground.json" }
},
{
"if": { "properties": { "test": { "const": "on_ladder" } } },
"then": { "$ref": "../1.8.0/filters/on_ladder.json" }
}
{ "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": "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" } },
{ "if": { "properties": { "test": { "const": "has_damage" } } }, "then": { "$ref": "../1.8.0/filters/has_damage.json" } },
{ "if": { "properties": { "test": { "const": "has_equipment" } } }, "then": { "$ref": "../1.8.0/filters/has_equipment.json" } },
{ "if": { "properties": { "test": { "const": "has_mob_effect" } } }, "then": { "$ref": "../1.8.0/filters/has_mob_effect.json" } },
{ "if": { "properties": { "test": { "const": "has_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_trade_supply" } } }, "then": { "$ref": "../1.8.0/filters/has_trade_supply.json" } },
{ "if": { "properties": { "test": { "const": "hourly_clock_time" } } }, "then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" } },
{ "if": { "properties": { "test": { "const": "in_caravan" } } }, "then": { "$ref": "../1.8.0/filters/in_caravan.json" } },
{ "if": { "properties": { "test": { "const": "in_clouds" } } }, "then": { "$ref": "../1.8.0/filters/in_clouds.json" } },
{ "if": { "properties": { "test": { "const": "in_lava" } } }, "then": { "$ref": "../1.8.0/filters/in_lava.json" } },
{ "if": { "properties": { "test": { "const": "in_water" } } }, "then": { "$ref": "../1.8.0/filters/in_water.json" } },
{ "if": { "properties": { "test": { "const": "in_water_or_rain" } } }, "then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" } },
{ "if": { "properties": { "test": { "const": "is_altitude" } } }, "then": { "$ref": "../1.8.0/filters/is_altitude.json" } },
{ "if": { "properties": { "test": { "const": "is_avoiding_mobs" } } }, "then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" } },
{ "if": { "properties": { "test": { "const": "is_biome" } } }, "then": { "$ref": "../1.8.0/filters/is_biome.json" } },
{ "if": { "properties": { "test": { "const": "is_brightness" } } }, "then": { "$ref": "../1.8.0/filters/is_brightness.json" } },
{ "if": { "properties": { "test": { "const": "is_climbing" } } }, "then": { "$ref": "../1.8.0/filters/is_climbing.json" } },
{ "if": { "properties": { "test": { "const": "is_color" } } }, "then": { "$ref": "../1.8.0/filters/is_color.json" } },
{ "if": { "properties": { "test": { "const": "is_daytime" } } }, "then": { "$ref": "../1.8.0/filters/is_daytime.json" } },
{ "if": { "properties": { "test": { "const": "is_difficulty" } } }, "then": { "$ref": "../1.8.0/filters/is_difficulty.json" } },
{ "if": { "properties": { "test": { "const": "is_family" } } }, "then": { "$ref": "../1.8.0/filters/is_family.json" } },
{ "if": { "properties": { "test": { "const": "is_game_rule" } } }, "then": { "$ref": "../1.8.0/filters/is_game_rule.json" } },
{ "if": { "properties": { "test": { "const": "is_humid" } } }, "then": { "$ref": "../1.8.0/filters/is_humid.json" } },
{ "if": { "properties": { "test": { "const": "is_immobile" } } }, "then": { "$ref": "../1.8.0/filters/is_immobile.json" } },
{ "if": { "properties": { "test": { "const": "is_in_village" } } }, "then": { "$ref": "../1.8.0/filters/is_in_village.json" } },
{ "if": { "properties": { "test": { "const": "is_leashed" } } }, "then": { "$ref": "../1.8.0/filters/is_leashed.json" } },
{ "if": { "properties": { "test": { "const": "is_mark_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_mark_variant.json" } },
{ "if": { "properties": { "test": { "const": "is_moving" } } }, "then": { "$ref": "../1.8.0/filters/is_moving.json" } },
{ "if": { "properties": { "test": { "const": "is_owner" } } }, "then": { "$ref": "../1.8.0/filters/is_owner.json" } },
{ "if": { "properties": { "test": { "const": "is_riding" } } }, "then": { "$ref": "../1.8.0/filters/is_riding.json" } },
{ "if": { "properties": { "test": { "const": "is_skin_id" } } }, "then": { "$ref": "../1.8.0/filters/is_skin_id.json" } },
{ "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_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" } },
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "../1.8.0/filters/is_visible.json" } },
{ "if": { "properties": { "test": { "const": "moon_intensity" } } }, "then": { "$ref": "../1.8.0/filters/moon_intensity.json" } },
{ "if": { "properties": { "test": { "const": "moon_phase" } } }, "then": { "$ref": "../1.8.0/filters/moon_phase.json" } },
{ "if": { "properties": { "test": { "const": "on_ground" } } }, "then": { "$ref": "../1.8.0/filters/on_ground.json" } },
{ "if": { "properties": { "test": { "const": "on_ladder" } } }, "then": { "$ref": "../1.8.0/filters/on_ladder.json" } }
]
}
]

View File

@@ -14,35 +14,23 @@
"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"
}
},
"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."
"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." },
"is_summonable": {
"type": "boolean",
"title": "The is summonable property",
"title": "Is Summonable Property",
"description": "Sets whether or not we can summon this entity using commands such as /summon."
},
"is_experimental": {
"type": "boolean",
"title": "Is experimental",
"title": "Is Experimental",
"description": "Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled."
},
"runtime_identifier": {
"type": "string",
"title": "Runtime identifier",
"title": "Runtime Identifier",
"description": "Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from."
},
"scripts": {
@@ -56,20 +44,8 @@
"description": "Tells minecraft to run which animation / animation controllers and under what conditions",
"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": "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" } }
]
}
}
@@ -78,7 +54,7 @@
}
},
"component_groups": {
"title": "Component groups",
"title": "Component Groups",
"description": "Each group when add / remove the default components",
"uniqueItems": true,
"type": "object",
@@ -86,20 +62,20 @@
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
}
},
"components": {
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
},
"events": {
"$ref": "./events.json",
"uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema"
"title": "Events Schema"
}
}
}

View File

@@ -175,7 +175,6 @@
"minecraft:walk_animation_speed": { "$ref": "../1.8.0/components/minecraft.walk_animation_speed.json" },
"minecraft:wants_jockey": { "$ref": "../1.8.0/components/minecraft.wants_jockey.json" },
"minecraft:water_movement": { "$ref": "../1.8.0/components/minecraft.water_movement.json" },
"minecraft:behavior.admire_item": { "$ref": "../1.8.0/behaviors/minecraft.behavior.admire_item.json" },
"minecraft:behavior.avoid_mob_type": { "$ref": "../1.8.0/behaviors/minecraft.behavior.avoid_mob_type.json" },
"minecraft:behavior.beg": { "$ref": "../1.8.0/behaviors/minecraft.behavior.beg.json" },
@@ -245,16 +244,12 @@
"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,84 +7,44 @@
"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,
"description": "If true, whether the explosion breaks blocks is affected by the mob griefing game rule.",
"title": "Destroy affected by griefing"
"title": "Destroy Affected By Griefing"
},
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the explosion causes fire is affected by the mob griefing game rule.",
"title": "Fire affected by griefing"
"title": "Fire Affected By Griefing"
},
"fuse_length": {
"default": [0.0, 0.0],
"description": "The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.",
"title": "Fuse length",
"title": "Fuse Length",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
]
},
{
"type": "number"
},
{ "type": "array", "items": [{ "type": "number" }, { "type": "number" }] },
{ "type": "number" },
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"range_max": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"range_min": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"range_max": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}
]
},
"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"
"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

@@ -7,46 +7,22 @@
"additionalProperties": false,
"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"
},
"catch_fire": {
"type": "boolean",
"default": false,
"description": "If true, the entity hit will be set on fire",
"title": "Catch fire"
},
"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" },
"catch_fire": { "type": "boolean", "default": false, "description": "If true, the entity hit will be set on fire", "title": "Catch Fire" },
"crit_particle_on_hurt": {
"type": "boolean",
"default": false,
"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"
"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" },
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the projectile causes fire is affected by the mob griefing game rule",
"title": "Fire affected by griefing"
"title": "Fire Affected By Griefing"
},
"gravity": {
"type": "number",
@@ -54,89 +30,32 @@
"description": "The gravity applied to this entity when thrown. The higher the value, the faster the entity falls",
"title": "Gravity"
},
"hit_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile hits something",
"title": "Hit sound"
},
"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"
},
"lightning": {
"type": "boolean",
"default": false,
"description": "If true, the entity hit will be struck by lightning",
"title": "Lightning"
},
"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" },
"lightning": { "type": "boolean", "default": false, "description": "If true, the entity hit will be struck by lightning", "title": "Lightning" },
"liquid_inertia": {
"type": "number",
"default": 0.6,
"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"
"title": "Liquid Inertia"
},
"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],
"description": "The offset from the entity's anchor where the projectile will spawn",
"title": "Offset",
"items": [
{
"type": "number",
"description": "X",
"title": "X"
},
{
"type": "number",
"description": "Y",
"title": "Y"
},
{
"type": "number",
"description": "Z",
"title": "Z"
}
{ "type": "number", "description": "X", "title": "X" },
{ "type": "number", "description": "Y", "title": "Y" },
{ "type": "number", "description": "Z", "title": "Z" }
]
},
"on_fire_time": {
"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",
@@ -148,13 +67,7 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"type": "object",
"properties": {
"fire_affected_by_griefing": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
}
"properties": { "fire_affected_by_griefing": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" } }
},
"definition_event": {
"additionalProperties": false,
@@ -162,22 +75,11 @@
"title": "UNDOCUMENTATED",
"type": "object",
"properties": {
"affect_projectile": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"event_trigger": {
"$ref": "../types/event.json"
}
"affect_projectile": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"event_trigger": { "$ref": "../types/event.json" }
}
},
"douse_fire": {
"type": "object",
"additionalProperties": false,
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"douse_fire": { "type": "object", "additionalProperties": false, "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"grant_xp": {
"additionalProperties": false,
"type": "object",
@@ -185,16 +87,8 @@
"title": "UNDOCUMENTATED",
"effect": "levitation",
"properties": {
"minXP": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"maxXP": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"minXP": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"maxXP": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"impact_damage": {
@@ -203,31 +97,11 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"catch_fire": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"damage": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"destroy_on_hit": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"knockback": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"semi_random_diff_damage": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"catch_fire": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"damage": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"destroy_on_hit": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"knockback": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"semi_random_diff_damage": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"mob_effect": {
@@ -237,31 +111,11 @@
"title": "UNDOCUMENTATED",
"effect": "levitation",
"properties": {
"effect": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"durationeasy": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"durationnormal": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"durationhard": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"amplifier": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"effect": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"durationeasy": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"durationnormal": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"durationhard": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"amplifier": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"particle_on_hit": {
@@ -270,75 +124,26 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"particle_type": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"num_particles": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"on_entity_hit": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"on_other_hit": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"particle_type": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"num_particles": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"on_entity_hit": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"on_other_hit": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"remove_on_hit": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"remove_on_hit": { "additionalProperties": false, "type": "object", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"spawn_chance": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"first_spawn_percent_chance": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"first_spawn_chance": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"second_spawn_chance": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"first_spawn_count": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"second_spawn_count": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"spawn_definition": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"spawn_baby": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"first_spawn_percent_chance": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"first_spawn_chance": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"second_spawn_chance": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"first_spawn_count": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"second_spawn_count": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"spawn_definition": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"spawn_baby": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"spawn_aoe_cloud": {
@@ -347,70 +152,24 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"radius": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"radius_on_use": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"potion": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"particle": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"duration": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"radius": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"radius_on_use": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"potion": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"particle": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"duration": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"color": {
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"type": "array",
"format": "color-array",
"items": [
{
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "R",
"title": "R"
},
{
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "G",
"title": "G"
},
{
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "B",
"title": "B"
}
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "R", "title": "R" },
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "G", "title": "G" },
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "B", "title": "B" }
]
},
"affect_owner": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"reapplication_delay": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"affect_owner": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"reapplication_delay": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"stick_in_ground": {
@@ -418,104 +177,44 @@
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"shake_time": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
}
"properties": { "shake_time": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" } }
},
"teleport_owner": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"thrown_potion_effect": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"teleport_owner": { "additionalProperties": false, "type": "object", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"thrown_potion_effect": { "additionalProperties": false, "type": "object", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"particle": {
"type": "string",
"default": "iconcrack",
"description": "Particle to use upon collision",
"title": "Particle"
},
"potion_effect": {
"type": "integer",
"default": -1,
"description": "Defines the effect the arrow will apply to the entity it hits",
"title": "Potion effect"
},
"power": {
"type": "number",
"default": 1.3,
"description": "Determines the velocity of the projectile",
"title": "Power"
},
"reflect_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be reflected back when hit",
"title": "Reflect on hurt"
},
"particle": { "type": "string", "default": "iconcrack", "description": "Particle to use upon collision", "title": "Particle" },
"potion_effect": { "type": "integer", "default": -1, "description": "Defines the effect the arrow will apply to the entity it hits", "title": "Potion Effect" },
"power": { "type": "number", "default": 1.3, "description": "Determines the velocity of the projectile", "title": "Power" },
"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,
"description": "If true, damage will be randomized based on damage and speed",
"title": "Semi random diff damage"
},
"shoot_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile is shot",
"title": "Shoot sound"
"title": "Semi Random Diff Damage"
},
"shoot_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile is shot", "title": "Shoot Sound" },
"shoot_target": {
"type": "boolean",
"default": true,
"description": "If true, the projectile will be shot towards the target of the entity firing it",
"title": "Shoot target"
},
"should_bounce": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will bounce upon hit",
"title": "Should bounce"
},
"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"
"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_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": {
"type": "number",
"default": 0,
"description": "The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty base"
"title": "Uncertainty Base"
},
"uncertainty_multiplier": {
"type": "number",
"default": 0,
"description": "Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty multiplier"
"title": "Uncertainty Multiplier"
}
}
}

View File

@@ -2,12 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entity1.10.0",
"type": "object",
"title": "The minecraft behaviour entity 1.12.0",
"title": "Behaviour Entity 1.12.0",
"description": "TODO description",
"required": ["format_version", "minecraft:entity"],
"properties": {
"format_version": {
"title": "The 1.12.0 format version",
"title": "1.12.0 Format Version",
"type": "string",
"const": "1.12.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."

View File

@@ -6,19 +6,15 @@
"definitions": {
"addremove": {
"additionalProperties": false,
"title": "The add/remove schema",
"title": "Add/remove Schema",
"description": "The components groups to add or remove",
"type": "object",
"properties": {
"component_groups": {
"title": "The component groups schema",
"title": "Component Groups Schema",
"description": "The components groups to add or remove",
"type": "array",
"items": {
"type": "string",
"description": "TODO description: component groups",
"title": "Component Groups"
}
"items": { "type": "string", "description": "TODO description: component groups", "title": "Component Groups" }
}
}
},
@@ -26,41 +22,17 @@
"additionalProperties": false,
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"randomize": {
"type": "array",
"items": {
"required": ["weight"],
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"weight": {
"type": "number",
"description": "TODO description: weight",
"title": "Weight"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"weight": { "type": "number", "description": "TODO description: weight", "title": "Weight" }
},
"description": "TODO description: randomize",
"title": "Randomize"
@@ -75,32 +47,16 @@
"title": "Sequence",
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"filters": {
"$ref": "./filters.json"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": {
"$ref": "./filters.json"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"filters": { "$ref": "./filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}
},
@@ -115,19 +71,9 @@
"$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"
}
},
"additionalProperties": {
"$ref": "#/definitions/event_base"
"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" },
"description": "TODO description: "
}

View File

@@ -6,245 +6,69 @@
"filters_spec": {
"oneOf": [
{
"propertyNames": {
"enum": ["all_of", "any_of", "none_of"]
},
"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": "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" }
},
{
"if": { "properties": { "test": { "const": "has_damage" } } },
"then": { "$ref": "../1.8.0/filters/has_damage.json" }
},
{
"if": { "properties": { "test": { "const": "has_equipment" } } },
"then": { "$ref": "../1.8.0/filters/has_equipment.json" }
},
{
"if": { "properties": { "test": { "const": "has_mob_effect" } } },
"then": { "$ref": "../1.8.0/filters/has_mob_effect.json" }
},
{
"if": { "properties": { "test": { "const": "has_tag" } } },
"then": { "$ref": "../1.8.0/filters/has_tag.json" }
},
{
"if": { "properties": { "test": { "const": "has_trade_supply" } } },
"then": { "$ref": "../1.8.0/filters/has_trade_supply.json" }
},
{
"if": { "properties": { "test": { "const": "hourly_clock_time" } } },
"then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" }
},
{
"if": { "properties": { "test": { "const": "in_caravan" } } },
"then": { "$ref": "../1.8.0/filters/in_caravan.json" }
},
{
"if": { "properties": { "test": { "const": "in_clouds" } } },
"then": { "$ref": "../1.8.0/filters/in_clouds.json" }
},
{
"if": { "properties": { "test": { "const": "in_lava" } } },
"then": { "$ref": "../1.8.0/filters/in_lava.json" }
},
{
"if": { "properties": { "test": { "const": "in_water" } } },
"then": { "$ref": "../1.8.0/filters/in_water.json" }
},
{
"if": { "properties": { "test": { "const": "in_water_or_rain" } } },
"then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" }
},
{
"if": { "properties": { "test": { "const": "is_altitude" } } },
"then": { "$ref": "../1.8.0/filters/is_altitude.json" }
},
{
"if": { "properties": { "test": { "const": "is_avoiding_mobs" } } },
"then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" }
},
{
"if": { "properties": { "test": { "const": "is_biome" } } },
"then": { "$ref": "../1.8.0/filters/is_biome.json" }
},
{
"if": { "properties": { "test": { "const": "is_brightness" } } },
"then": { "$ref": "../1.8.0/filters/is_brightness.json" }
},
{
"if": { "properties": { "test": { "const": "is_climbing" } } },
"then": { "$ref": "../1.8.0/filters/is_climbing.json" }
},
{
"if": { "properties": { "test": { "const": "is_color" } } },
"then": { "$ref": "../1.8.0/filters/is_color.json" }
},
{
"if": { "properties": { "test": { "const": "is_daytime" } } },
"then": { "$ref": "../1.8.0/filters/is_daytime.json" }
},
{
"if": { "properties": { "test": { "const": "is_difficulty" } } },
"then": { "$ref": "../1.8.0/filters/is_difficulty.json" }
},
{
"if": { "properties": { "test": { "const": "is_family" } } },
"then": { "$ref": "../1.8.0/filters/is_family.json" }
},
{
"if": { "properties": { "test": { "const": "is_game_rule" } } },
"then": { "$ref": "../1.8.0/filters/is_game_rule.json" }
},
{
"if": { "properties": { "test": { "const": "is_humid" } } },
"then": { "$ref": "../1.8.0/filters/is_humid.json" }
},
{
"if": { "properties": { "test": { "const": "is_immobile" } } },
"then": { "$ref": "../1.8.0/filters/is_immobile.json" }
},
{
"if": { "properties": { "test": { "const": "is_in_village" } } },
"then": { "$ref": "../1.8.0/filters/is_in_village.json" }
},
{
"if": { "properties": { "test": { "const": "is_leashed" } } },
"then": { "$ref": "../1.8.0/filters/is_leashed.json" }
},
{
"if": { "properties": { "test": { "const": "is_mark_variant" } } },
"then": { "$ref": "../1.8.0/filters/is_mark_variant.json" }
},
{
"if": { "properties": { "test": { "const": "is_moving" } } },
"then": { "$ref": "../1.8.0/filters/is_moving.json" }
},
{
"if": { "properties": { "test": { "const": "is_owner" } } },
"then": { "$ref": "../1.8.0/filters/is_owner.json" }
},
{
"if": { "properties": { "test": { "const": "is_riding" } } },
"then": { "$ref": "../1.8.0/filters/is_riding.json" }
},
{
"if": { "properties": { "test": { "const": "is_skin_id" } } },
"then": { "$ref": "../1.8.0/filters/is_skin_id.json" }
},
{
"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_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" }
},
{
"if": { "properties": { "test": { "const": "is_visible" } } },
"then": { "$ref": "../1.8.0/filters/is_visible.json" }
},
{
"if": { "properties": { "test": { "const": "moon_intensity" } } },
"then": { "$ref": "../1.8.0/filters/moon_intensity.json" }
},
{
"if": { "properties": { "test": { "const": "moon_phase" } } },
"then": { "$ref": "../1.8.0/filters/moon_phase.json" }
},
{
"if": { "properties": { "test": { "const": "on_ground" } } },
"then": { "$ref": "../1.8.0/filters/on_ground.json" }
},
{
"if": { "properties": { "test": { "const": "on_ladder" } } },
"then": { "$ref": "../1.8.0/filters/on_ladder.json" }
}
{ "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": "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" } },
{ "if": { "properties": { "test": { "const": "has_damage" } } }, "then": { "$ref": "../1.8.0/filters/has_damage.json" } },
{ "if": { "properties": { "test": { "const": "has_equipment" } } }, "then": { "$ref": "../1.8.0/filters/has_equipment.json" } },
{ "if": { "properties": { "test": { "const": "has_mob_effect" } } }, "then": { "$ref": "../1.8.0/filters/has_mob_effect.json" } },
{ "if": { "properties": { "test": { "const": "has_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_trade_supply" } } }, "then": { "$ref": "../1.8.0/filters/has_trade_supply.json" } },
{ "if": { "properties": { "test": { "const": "hourly_clock_time" } } }, "then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" } },
{ "if": { "properties": { "test": { "const": "in_caravan" } } }, "then": { "$ref": "../1.8.0/filters/in_caravan.json" } },
{ "if": { "properties": { "test": { "const": "in_clouds" } } }, "then": { "$ref": "../1.8.0/filters/in_clouds.json" } },
{ "if": { "properties": { "test": { "const": "in_lava" } } }, "then": { "$ref": "../1.8.0/filters/in_lava.json" } },
{ "if": { "properties": { "test": { "const": "in_water" } } }, "then": { "$ref": "../1.8.0/filters/in_water.json" } },
{ "if": { "properties": { "test": { "const": "in_water_or_rain" } } }, "then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" } },
{ "if": { "properties": { "test": { "const": "is_altitude" } } }, "then": { "$ref": "../1.8.0/filters/is_altitude.json" } },
{ "if": { "properties": { "test": { "const": "is_avoiding_mobs" } } }, "then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" } },
{ "if": { "properties": { "test": { "const": "is_biome" } } }, "then": { "$ref": "../1.8.0/filters/is_biome.json" } },
{ "if": { "properties": { "test": { "const": "is_brightness" } } }, "then": { "$ref": "../1.8.0/filters/is_brightness.json" } },
{ "if": { "properties": { "test": { "const": "is_climbing" } } }, "then": { "$ref": "../1.8.0/filters/is_climbing.json" } },
{ "if": { "properties": { "test": { "const": "is_color" } } }, "then": { "$ref": "../1.8.0/filters/is_color.json" } },
{ "if": { "properties": { "test": { "const": "is_daytime" } } }, "then": { "$ref": "../1.8.0/filters/is_daytime.json" } },
{ "if": { "properties": { "test": { "const": "is_difficulty" } } }, "then": { "$ref": "../1.8.0/filters/is_difficulty.json" } },
{ "if": { "properties": { "test": { "const": "is_family" } } }, "then": { "$ref": "../1.8.0/filters/is_family.json" } },
{ "if": { "properties": { "test": { "const": "is_game_rule" } } }, "then": { "$ref": "../1.8.0/filters/is_game_rule.json" } },
{ "if": { "properties": { "test": { "const": "is_humid" } } }, "then": { "$ref": "../1.8.0/filters/is_humid.json" } },
{ "if": { "properties": { "test": { "const": "is_immobile" } } }, "then": { "$ref": "../1.8.0/filters/is_immobile.json" } },
{ "if": { "properties": { "test": { "const": "is_in_village" } } }, "then": { "$ref": "../1.8.0/filters/is_in_village.json" } },
{ "if": { "properties": { "test": { "const": "is_leashed" } } }, "then": { "$ref": "../1.8.0/filters/is_leashed.json" } },
{ "if": { "properties": { "test": { "const": "is_mark_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_mark_variant.json" } },
{ "if": { "properties": { "test": { "const": "is_moving" } } }, "then": { "$ref": "../1.8.0/filters/is_moving.json" } },
{ "if": { "properties": { "test": { "const": "is_owner" } } }, "then": { "$ref": "../1.8.0/filters/is_owner.json" } },
{ "if": { "properties": { "test": { "const": "is_riding" } } }, "then": { "$ref": "../1.8.0/filters/is_riding.json" } },
{ "if": { "properties": { "test": { "const": "is_skin_id" } } }, "then": { "$ref": "../1.8.0/filters/is_skin_id.json" } },
{ "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_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" } },
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "../1.8.0/filters/is_visible.json" } },
{ "if": { "properties": { "test": { "const": "moon_intensity" } } }, "then": { "$ref": "../1.8.0/filters/moon_intensity.json" } },
{ "if": { "properties": { "test": { "const": "moon_phase" } } }, "then": { "$ref": "../1.8.0/filters/moon_phase.json" } },
{ "if": { "properties": { "test": { "const": "on_ground" } } }, "then": { "$ref": "../1.8.0/filters/on_ground.json" } },
{ "if": { "properties": { "test": { "const": "on_ladder" } } }, "then": { "$ref": "../1.8.0/filters/on_ladder.json" } }
]
}
]

View File

@@ -14,35 +14,23 @@
"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"
}
},
"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."
"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." },
"is_summonable": {
"type": "boolean",
"title": "The is summonable property",
"title": "Is Summonable Property",
"description": "Sets whether or not we can summon this entity using commands such as /summon."
},
"is_experimental": {
"type": "boolean",
"title": "Is experimental",
"title": "Is Experimental",
"description": "Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled."
},
"runtime_identifier": {
"type": "string",
"title": "Runtime identifier",
"title": "Runtime Identifier",
"description": "Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from."
},
"scripts": {
@@ -56,20 +44,8 @@
"description": "Tells minecraft to run which animation / animation controllers and under what conditions",
"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": "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" } }
]
}
}
@@ -78,7 +54,7 @@
}
},
"component_groups": {
"title": "Component groups",
"title": "Component Groups",
"description": "Each group when add / remove the default components",
"uniqueItems": true,
"type": "object",
@@ -86,20 +62,20 @@
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
}
},
"components": {
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
},
"events": {
"$ref": "./events.json",
"uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema"
"title": "Events Schema"
}
}
}

View File

@@ -1,20 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.type.entity_types.1.12.0",
"title": "Entity types 1.12.0",
"title": "Entity Types 1.12.0",
"type": "array",
"items": {
"description": "The entity type",
"title": "The entity type",
"title": "Entity Type",
"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",
@@ -27,12 +22,7 @@
"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

@@ -4,25 +4,12 @@
"title": "Event",
"description": "Minecraft behaviour event 1.12.0",
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9_\\-:]+$",
"description": "The event to fire"
},
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire" },
{
"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"]
}
"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"] }
}
}
]

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.type.range_number_type.1.12.0",
"title": "Range [a, b]",
"title": "Range [a, B]",
"description": "A described range",
"items": [
{ "type": "number", "title": "Range: A", "description": "The first value of the range" },

View File

@@ -6,11 +6,7 @@
"description": "Trigger to fire",
"minProperties": 1,
"properties": {
"event": {
"type": "string",
"description": "Event",
"title": "The event to fire"
},
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "Filters" },
"target": { "$ref": "../../1.8.0/filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},

View File

@@ -2,43 +2,21 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.find_mount",
"type": "object",
"title": "Find mount 1.8.0",
"title": "Find Mount 1.8.0",
"description": "Allows the mob to look around for another mob to ride atop it.",
"additionalProperties": false,
"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"
},
"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" },
"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"
"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

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.behavior.go_home",
"type": "object",
"title": "Go home 1.13.0",
"title": "Go Home 1.13.0",
"description": "Allows the mob to move back to the position they were spawned.",
"additionalProperties": false,
"required": [],
@@ -13,7 +13,7 @@
"type": "number",
"default": 0.5,
"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"
"title": "Goal Radius"
},
"interval": {
"type": "integer",
@@ -22,42 +22,14 @@
"title": "Interval"
},
"on_home": {
"title": "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"
}
}
],
"title": "On failed"
"oneOf": [{ "type": "string" }, { "type": "object", "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }],
"title": "On Failed"
}
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.behavior.stomp_turtle_egg",
"description": "Allows this mob to stomp turtle eggs",
"type": "object",
"title": "Stomp turtle egg 1.13.0",
"title": "Stomp Turtle Egg 1.13.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -13,7 +13,7 @@
"type": "number",
"default": 0.5,
"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"
"title": "Goal Radius"
},
"interval": {
"type": "integer",
@@ -25,19 +25,9 @@
"type": "integer",
"default": 10,
"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"
"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

@@ -13,49 +13,29 @@
"type": "boolean",
"default": false,
"description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob",
"title": "Can get scared"
},
"can_tempt_while_ridden": {
"type": "boolean",
"title": "Can tempt while ridden",
"description": "UNDOCUMENTATED"
"title": "Can Get Scared"
},
"can_tempt_while_ridden": { "type": "boolean", "title": "Can Tempt While Ridden", "description": "UNDOCUMENTATED" },
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
"items": {
"type": "string",
"title": "Item",
"description": "An item identifier"
},
"items": { "type": "string", "title": "Item", "description": "An item identifier" },
"title": "Items"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
"title": "Within radius"
},
"tempt_sound": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "Tempt sound"
"title": "Within Radius"
},
"tempt_sound": { "type": "string", "description": "UNDOCUMENTATED", "title": "Tempt Sound" },
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTATED",
"title": "Sound interval",
"title": "Sound Interval",
"properties": {
"range_min": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "Range min"
},
"range_max": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "Range max"
}
"range_min": { "type": "number", "description": "UNDOCUMENTATED", "title": "Range Min" },
"range_max": { "type": "number", "description": "UNDOCUMENTATED", "title": "Range Max" }
},
"additionalProperties": false
}

View File

@@ -5,5 +5,5 @@
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal.",
"type": "number",
"title": "Speed multiplier"
"title": "Speed Multiplier"
}

View File

@@ -174,7 +174,6 @@
"minecraft:walk_animation_speed": { "$ref": "../1.8.0/components/minecraft.walk_animation_speed.json" },
"minecraft:wants_jockey": { "$ref": "../1.8.0/components/minecraft.wants_jockey.json" },
"minecraft:water_movement": { "$ref": "../1.8.0/components/minecraft.water_movement.json" },
"minecraft:behavior.admire_item": { "$ref": "../1.8.0/behaviors/minecraft.behavior.admire_item.json" },
"minecraft:behavior.avoid_mob_type": { "$ref": "../1.8.0/behaviors/minecraft.behavior.avoid_mob_type.json" },
"minecraft:behavior.beg": { "$ref": "../1.8.0/behaviors/minecraft.behavior.beg.json" },
@@ -244,16 +243,12 @@
"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,43 +8,15 @@
"properties": {
"drop_items": {
"description": "List of items that the entity drops when it grows up.",
"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"
"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" },
"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"
}
],
"title": "TODO title"
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }],
"title": "TODO Title"
},
"grow_up": {
"description": "Event to run when this entity grows up.",
"title": "TODO title"
}
"grow_up": { "description": "Event to run when this entity grows up.", "title": "TODO Title" }
}
}

View File

@@ -3,27 +3,12 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.ambient_sound_interval",
"additionalProperties": false,
"type": "object",
"title": "Ambient sound interval 1.8.0",
"title": "Ambient Sound Interval 1.8.0",
"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

@@ -12,100 +12,43 @@
"additionalItems": false,
"required": [],
"properties": {
"baby_type": {
"type": "string",
"description": "The entity definition of this entity's babies.",
"title": "Baby Type"
},
"breed_event": {
"$ref": "../types/event.json",
"description": "Event to run when this entity breeds.",
"title": "Breed Event"
},
"mate_type": {
"type": "string",
"description": "The entity definition of this entity's mate.",
"title": "Mate Type"
}
"baby_type": { "type": "string", "description": "The entity definition of this entity's babies.", "title": "Baby Type" },
"breed_event": { "$ref": "../types/event.json", "description": "Event to run when this entity breeds.", "title": "Breed Event" },
"mate_type": { "type": "string", "description": "The entity definition of this entity's mate.", "title": "Mate Type" }
}
}
},
"required": [],
"properties": {
"allow_sitting": {
"description": "If true, entities can breed while sitting.",
"type": "boolean",
"default": false,
"title": "Allow Sitting"
},
"allow_sitting": { "description": "If true, entities can breed while sitting.", "type": "boolean", "default": false, "title": "Allow Sitting" },
"blend_attributes": {
"description": "If true, the entities will blend their attributes in the offspring after they breed. For example, horses blend their health, movement, and jump_strength in their offspring.",
"type": "boolean",
"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",
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
},
"breeds_with": {
"description": "The list of entity definitions that this entity can breed with.",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/breeds_with_spec"
},
{
"uniqueItems": true,
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/breeds_with_spec"
}
}
{ "type": "object", "$ref": "#/definitions/breeds_with_spec" },
{ "uniqueItems": true, "type": "array", "items": { "type": "object", "$ref": "#/definitions/breeds_with_spec" } }
],
"title": "TODO title"
"title": "TODO Title"
},
"deny_parents_variant": {
"type": "object",
"description": "Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.",
"additionalProperties": false,
"properties": {
"chance": {
"type": "number",
"default": 0,
"description": "The percentage chance of denying the parents' variant.",
"title": "Chance"
},
"max_variant": {
"type": "integer",
"default": 0,
"description": "The inclusive maximum of the variant range.",
"title": "Max Variant"
},
"min_variant": {
"type": "integer",
"default": 0,
"description": "The inclusive minimum of the variant range.",
"title": "Min Variant"
}
"chance": { "type": "number", "default": 0, "description": "The percentage chance of denying the parents' variant.", "title": "Chance" },
"max_variant": { "type": "integer", "default": 0, "description": "The inclusive maximum of the variant range.", "title": "Max Variant" },
"min_variant": { "type": "integer", "default": 0, "description": "The inclusive minimum of the variant range.", "title": "Min Variant" }
},
"title": "Deny Parents Variant"
},
@@ -127,11 +70,7 @@
},
"title": "Blocks"
},
"count": {
"type": "number",
"description": "The number of the required block types nearby for the entity to breed.",
"title": "Count"
},
"count": { "type": "number", "description": "The number of the required block types nearby for the entity to breed.", "title": "Count" },
"radius": {
"type": "number",
"description": "How many blocks radius from the mob's center to search in for the required blocks. Bounded between 0 and 16.",
@@ -157,14 +96,7 @@
"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,
@@ -184,29 +116,14 @@
},
"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"
"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

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.damage_sensor",
"title": "Damage sensor 1.13.0",
"title": "Damage Sensor 1.13.0",
"description": "Defines what events to call when this entity is damaged by specific entities or items.",
"type": "object",
"additionalProperties": false,
@@ -19,44 +19,27 @@
"type": "number",
"default": 1,
"description": "A multiplier that modifies the base damage from the damage cause. If deals_damage is true the multiplier can only reduce the damage the entity will take to a minimum of 1.",
"title": "Damage multiplier"
"title": "Damage Multiplier"
},
"deals_damage": {
"type": "boolean",
"default": true,
"description": "If true, the damage dealt to the entity will take away health from it, set to false to make the entity ignore that damage.",
"title": "Deals damage"
"title": "Deals Damage"
},
"on_damage": {
"additionalProperties": false,
"type": "object",
"description": "Specifies filters for entity definitions and events.",
"title": "On damage",
"title": "On Damage",
"properties": {
"filters": {
"$ref": "../filters.json"
},
"event": {
"type": "string",
"pattern": "^.*$",
"description": "TODO description: event",
"title": "Event"
},
"target": {
"$ref": "../filters/types/base_subject.json",
"description": "TODO description: target",
"title": "Target"
}
"filters": { "$ref": "../filters.json" },
"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"
}
"on_damage_sound_event": { "$ref": "../../1.8.0/types/event.json" }
}
}
},
@@ -65,16 +48,8 @@
"description": "The list of triggers with the events to call when taking specific kinds of damage.",
"title": "Triggers",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/trigger"
}
},
{
"type": "object",
"$ref": "#/definitions/trigger"
}
{ "type": "array", "items": { "$ref": "#/definitions/trigger" } },
{ "type": "object", "$ref": "#/definitions/trigger" }
]
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.environment_sensor",
"title": "Environment sensor 1.13.0",
"title": "Environment Sensor 1.13.0",
"description": "Creates a trigger based on environment conditions.",
"type": "object",
"additionalProperties": false,
@@ -10,16 +10,8 @@
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
"title": "Triggers",
"anyOf": [
{
"type": "array",
"items": {
"$ref": "../types/trigger.json"
}
},
{
"type": "object",
"$ref": "../types/trigger.json"
}
{ "type": "array", "items": { "$ref": "../types/trigger.json" } },
{ "type": "object", "$ref": "../types/trigger.json" }
]
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.experience_reward",
"type": "object",
"title": "Experience reward 1.13.0",
"title": "Experience Reward 1.13.0",
"description": "TODO",
"additionalProperties": false,
"properties": {
@@ -10,13 +10,13 @@
"type": "string",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.",
"title": "On bred"
"title": "On Bred"
},
"on_death": {
"type": "string",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.",
"title": "On death"
"title": "On Death"
}
}
}

View File

@@ -9,118 +9,64 @@
"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,
"description": "The amount of damage the item will take when used to interact with this entity. A value of 0 means the item won't lose durability.",
"title": "Hurt item"
"title": "Hurt Item"
},
"interact_text": {
"type": "string",
"default": "",
"description": "Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls.",
"title": "Interact text"
},
"on_interact": {
"$ref": "../types/trigger.json",
"description": "Event to fire when the interaction occurs.",
"title": "On interact"
"title": "Interact Text"
},
"on_interact": { "$ref": "../types/trigger.json", "description": "Event to fire when the interaction occurs.", "title": "On Interact" },
"particle_on_start": {
"type": "object",
"description": "Particle effect that will be triggered at the start of the interaction.",
"title": "Particle on start",
"title": "Particle On Start",
"properties": {
"particle_offset_towards_interactor": {
"type": "boolean",
"description": "Whether or not the particle will appear closer to who performed the interaction.",
"title": "Particle offset towards interactor"
"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_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" }
}
},
"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",
"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": "",
"description": "The item used will transform to this item upon successful interaction. Format: itemName:auxValue",
"title": "Transform to item"
"title": "Transform To Item"
},
"use_item": {
"type": "boolean",
"default": false,
"description": "If true, the interaction will use an item.",
"title": "Use item"
}
"use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item.", "title": "Use Item" }
}
}
},
"properties": {
"interactions": {
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/interaction_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/interaction_spec"
}
}
{ "type": "object", "$ref": "#/definitions/interaction_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/interaction_spec" } }
],
"description": "TODO description",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"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"
"title": "Avoid Sun"
},
"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"
"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_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"
"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_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"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"
"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_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"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"
"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_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"
"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_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"
"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

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"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"
"title": "Avoid Sun"
},
"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"
"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_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"
"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_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"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"
"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_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"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"
"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_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"
"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_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"
"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

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"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"
"title": "Avoid Sun"
},
"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"
"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_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"
"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_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"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"
"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_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"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"
"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_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"
"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_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"
"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

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"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"
"title": "Avoid Sun"
},
"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"
"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_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"
"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_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"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"
"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_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"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"
"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_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"
"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_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"
"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

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"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"
"title": "Avoid Sun"
},
"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"
"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_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"
"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_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"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"
"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_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"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"
"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_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"
"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_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"
"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

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"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"
"title": "Avoid Sun"
},
"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"
"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_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"
"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_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"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"
"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_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"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"
"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_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"
"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_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"
"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

@@ -7,46 +7,22 @@
"additionalProperties": false,
"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"
},
"catch_fire": {
"type": "boolean",
"default": false,
"description": "If true, the entity hit will be set on fire",
"title": "Catch fire"
},
"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" },
"catch_fire": { "type": "boolean", "default": false, "description": "If true, the entity hit will be set on fire", "title": "Catch Fire" },
"crit_particle_on_hurt": {
"type": "boolean",
"default": false,
"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"
"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" },
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the projectile causes fire is affected by the mob griefing game rule",
"title": "Fire affected by griefing"
"title": "Fire Affected By Griefing"
},
"gravity": {
"type": "number",
@@ -54,236 +30,97 @@
"description": "The gravity applied to this entity when thrown. The higher the value, the faster the entity falls",
"title": "Gravity"
},
"hit_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile hits something",
"title": "Hit sound"
},
"homing": {
"type": "boolean",
"default": false,
"description": "If true, the projectile homes in to the nearest entity",
"title": "Homing"
},
"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"
},
"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" },
"lightning": { "type": "boolean", "default": false, "description": "If true, the entity hit will be struck by lightning", "title": "Lightning" },
"liquid_inertia": {
"type": "number",
"default": 0.6,
"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"
"title": "Liquid Inertia"
},
"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],
"description": "The offset from the entity's anchor where the projectile will spawn",
"title": "Offset",
"items": [
{
"type": "number",
"title": "X"
},
{
"type": "number",
"title": "Y"
},
{
"type": "number",
"title": "Z"
}
{ "type": "number", "title": "X" },
{ "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" }
]
},
"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",
"title": "On hit",
"title": "On Hit",
"description": "UNDOCUMENTATED",
"properties": {
"arrow_effect": {
"description": "UNDOCUMENTATED",
"title": "Arrow effect",
"type": "object",
"additionalProperties": false
},
"arrow_effect": { "description": "UNDOCUMENTATED", "title": "Arrow Effect", "type": "object", "additionalProperties": false },
"impact_damage": {
"additionalProperties": false,
"type": "object",
"title": "Impact damage",
"title": "Impact Damage",
"description": "UNDOCUMENTATED",
"properties": {
"damage": {
"oneOf": [
{
"type": "number"
},
{
"type": "array",
"items": [
{
"type": "integer"
},
{
"type": "integer"
}
]
}
],
"oneOf": [{ "type": "number" }, { "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }],
"title": "Damage",
"description": "UNDOCUMENTATED"
},
"destroy_on_hit": {
"type": "boolean",
"title": "Destroy on hit",
"description": "UNDOCUMENTATED"
},
"knockback": {
"type": "boolean",
"title": "Knockback",
"description": "UNDOCUMENTATED"
},
"max_critical_damage": {
"type": "integer",
"title": "Max critical damage",
"description": "UNDOCUMENTATED"
},
"min_critical_damage": {
"type": "integer",
"title": "Min critical damage",
"description": "UNDOCUMENTATED"
},
"power_multiplier": {
"type": "number",
"title": "Power multiplier",
"description": "UNDOCUMENTATED"
},
"semi_random_diff_damage": {
"type": "boolean",
"title": "Semi random diff damage",
"description": "UNDOCUMENTATED"
}
"destroy_on_hit": { "type": "boolean", "title": "Destroy On Hit", "description": "UNDOCUMENTATED" },
"knockback": { "type": "boolean", "title": "Knockback", "description": "UNDOCUMENTATED" },
"max_critical_damage": { "type": "integer", "title": "Max Critical Damage", "description": "UNDOCUMENTATED" },
"min_critical_damage": { "type": "integer", "title": "Min Critical Damage", "description": "UNDOCUMENTATED" },
"power_multiplier": { "type": "number", "title": "Power Multiplier", "description": "UNDOCUMENTATED" },
"semi_random_diff_damage": { "type": "boolean", "title": "Semi Random Diff Damage", "description": "UNDOCUMENTATED" }
}
},
"stick_in_ground": {
"additionalProperties": false,
"title": "Stick in ground",
"title": "Stick In Ground",
"description": "UNDOCUMENTATED",
"type": "object",
"properties": {
"shake_time": {
"title": "Shake time",
"description": "UNDOCUMENTATED",
"type": "number"
}
}
"properties": { "shake_time": { "title": "Shake Time", "description": "UNDOCUMENTATED", "type": "number" } }
}
}
},
"particle": {
"type": "string",
"default": "iconcrack",
"description": "Particle to use upon collision",
"title": "Particle"
},
"potion_effect": {
"type": "integer",
"default": -1,
"description": "Defines the effect the arrow will apply to the entity it hits",
"title": "Potion effect"
},
"power": {
"type": "number",
"default": 1.3,
"description": "Determines the velocity of the projectile",
"title": "Power"
},
"reflect_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be reflected back when hit",
"title": "Reflect on hurt"
},
"particle": { "type": "string", "default": "iconcrack", "description": "Particle to use upon collision", "title": "Particle" },
"potion_effect": { "type": "integer", "default": -1, "description": "Defines the effect the arrow will apply to the entity it hits", "title": "Potion Effect" },
"power": { "type": "number", "default": 1.3, "description": "Determines the velocity of the projectile", "title": "Power" },
"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,
"description": "If true, damage will be randomized based on damage and speed",
"title": "Semi random diff damage"
},
"shoot_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile is shot",
"title": "Shoot sound"
"title": "Semi Random Diff Damage"
},
"shoot_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile is shot", "title": "Shoot Sound" },
"shoot_target": {
"type": "boolean",
"default": true,
"description": "If true, the projectile will be shot towards the target of the entity firing it",
"title": "Shoot target"
},
"should_bounce": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will bounce upon hit",
"title": "Should bounce"
},
"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"
"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_range": { "type": "number", "default": 4, "description": "Radius in blocks of the 'splash' effect", "title": "Splash Range" },
"uncertainty_base": {
"type": "number",
"default": 0,
"description": "The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty base"
"title": "Uncertainty Base"
},
"uncertainty_multiplier": {
"type": "number",
"default": 0,
"description": "Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty multiplier"
"title": "Uncertainty Multiplier"
}
}
}

View File

@@ -15,92 +15,49 @@
"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"
},
"rotate_rider_by": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "Offset to rotate riders by"
}
"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" }
}
}
},
"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"
},
"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" },
"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"
"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": "",
"description": "The text to display when the player can interact with the entity when playing with Touch-screen controls",
"title": "TODO title"
"title": "TODO Title"
},
"pull_in_entities": {
"type": "boolean",
"default": false,
"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"
"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": [
{
"type": "object",
"$ref": "#/definitions/seats_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/seats_spec"
}
}
{ "type": "object", "$ref": "#/definitions/seats_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/seats_spec" } }
],
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -10,23 +10,11 @@
"add": {
"type": "object",
"description": "List of components to add to the entity after the transformation",
"properties": {
"component_groups": {
"type": "array",
"description": "Names of component groups to add",
"items": {
"type": "string"
}
}
},
"title": "TODO title",
"properties": { "component_groups": { "type": "array", "description": "Names of component groups to add", "items": { "type": "string" } } },
"title": "TODO Title",
"additionalProperties": false
},
"begin_transform_sound": {
"type": "string",
"description": "Sound to play when the transformation starts",
"title": "TODO title"
},
"begin_transform_sound": { "type": "string", "description": "Sound to play when the transformation starts", "title": "TODO Title" },
"delay": {
"type": "object",
"description": "Defines the properties of the delay for the transformation",
@@ -36,64 +24,37 @@
"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",
"items": {
"$ref": "../../../../general/blocks_identifiers.json"
}
"items": { "$ref": "../../../../general/blocks_identifiers.json" }
},
"value": {
"type": "number",
"default": 0,
"description": "Time in seconds before the entity transforms"
}
"value": { "type": "number", "default": 0, "description": "Time in seconds before the entity transforms" }
},
"title": "TODO title",
"title": "TODO Title",
"additionalProperties": false
},
"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"
},
"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",
"default": false,
"description": "If this entity has trades and has leveled up, it should maintain that level after transformation.",
"title": "TODO title"
"title": "TODO Title"
},
"keep_owner": {
"type": "boolean",
"default": false,
"description": "If this entity is owned by another entity, it should remain owned after transformation.",
"title": "TODO title"
"title": "TODO Title"
},
"transformation_sound": {
"type": "string",
"description": "Sound to play when the entity is done transforming",
"title": "TODO title"
}
"transformation_sound": { "type": "string", "description": "Sound to play when the entity is done transforming", "title": "TODO Title" }
}
}

View File

@@ -5,5 +5,5 @@
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal.",
"type": "number",
"title": "Speed multiplier"
"title": "Speed Multiplier"
}

View File

@@ -2,12 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entity1.13.0",
"type": "object",
"title": "The minecraft behaviour entity 1.13.0",
"title": "Behaviour Entity 1.13.0",
"description": "TODO description",
"required": ["format_version", "minecraft:entity"],
"properties": {
"format_version": {
"title": "The 1.13.0 format version",
"title": "1.13.0 Format Version",
"type": "string",
"const": "1.13.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."

View File

@@ -6,19 +6,15 @@
"definitions": {
"addremove": {
"additionalProperties": false,
"title": "The add/remove schema",
"title": "Add/remove Schema",
"description": "The components groups to add or remove",
"type": "object",
"properties": {
"component_groups": {
"title": "The component groups schema",
"title": "Component Groups Schema",
"description": "The components groups to add or remove",
"type": "array",
"items": {
"type": "string",
"description": "TODO description: component groups",
"title": "Component Groups"
}
"items": { "type": "string", "description": "TODO description: component groups", "title": "Component Groups" }
}
}
},
@@ -26,41 +22,17 @@
"additionalProperties": false,
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"randomize": {
"type": "array",
"items": {
"required": ["weight"],
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"weight": {
"type": "number",
"description": "TODO description: weight",
"title": "Weight"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"weight": { "type": "number", "description": "TODO description: weight", "title": "Weight" }
},
"description": "TODO description: randomize",
"title": "Randomize"
@@ -75,32 +47,16 @@
"title": "Sequence",
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"filters": {
"$ref": "./filters.json"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": {
"$ref": "./filters.json"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"filters": { "$ref": "./filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}
},
@@ -115,19 +71,9 @@
"$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"
}
},
"additionalProperties": {
"$ref": "#/definitions/event_base"
"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" },
"description": "TODO description: "
}

View File

@@ -6,317 +6,86 @@
"filters_spec": {
"oneOf": [
{
"propertyNames": {
"enum": ["all_of", "any_of", "none_of"]
},
"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": "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" }
},
{
"if": { "properties": { "test": { "const": "has_container_open" } } },
"then": { "$ref": "./filters/has_container_open.json" }
},
{
"if": { "properties": { "test": { "const": "has_damage" } } },
"then": { "$ref": "../1.8.0/filters/has_damage.json" }
},
{
"if": { "properties": { "test": { "const": "has_equipment" } } },
"then": { "$ref": "../1.8.0/filters/has_equipment.json" }
},
{
"if": { "properties": { "test": { "const": "has_mob_effect" } } },
"then": { "$ref": "../1.8.0/filters/has_mob_effect.json" }
},
{
"if": { "properties": { "test": { "const": "has_ranged_weapon" } } },
"then": { "$ref": "./filters/has_ranged_weapon.json" }
},
{
"if": { "properties": { "test": { "const": "has_tag" } } },
"then": { "$ref": "../1.8.0/filters/has_tag.json" }
},
{
"if": { "properties": { "test": { "const": "has_target" } } },
"then": { "$ref": "./filters/has_target.json" }
},
{
"if": { "properties": { "test": { "const": "has_trade_supply" } } },
"then": { "$ref": "../1.8.0/filters/has_trade_supply.json" }
},
{
"if": { "properties": { "test": { "const": "hourly_clock_time" } } },
"then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" }
},
{
"if": { "properties": { "test": { "const": "in_caravan" } } },
"then": { "$ref": "../1.8.0/filters/in_caravan.json" }
},
{
"if": { "properties": { "test": { "const": "in_clouds" } } },
"then": { "$ref": "../1.8.0/filters/in_clouds.json" }
},
{
"if": { "properties": { "test": { "const": "in_lava" } } },
"then": { "$ref": "../1.8.0/filters/in_lava.json" }
},
{
"if": { "properties": { "test": { "const": "in_nether" } } },
"then": { "$ref": "./filters/in_nether.json" }
},
{
"if": { "properties": { "test": { "const": "in_water" } } },
"then": { "$ref": "../1.8.0/filters/in_water.json" }
},
{
"if": { "properties": { "test": { "const": "in_water_or_rain" } } },
"then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" }
},
{
"if": { "properties": { "test": { "const": "inactivity_timer" } } },
"then": { "$ref": "./filters/inactivity_timer.json" }
},
{
"if": { "properties": { "test": { "const": "is_altitude" } } },
"then": { "$ref": "../1.8.0/filters/is_altitude.json" }
},
{
"if": { "properties": { "test": { "const": "is_avoiding_mobs" } } },
"then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" }
},
{
"if": { "properties": { "test": { "const": "is_biome" } } },
"then": { "$ref": "../1.8.0/filters/is_biome.json" }
},
{
"if": { "properties": { "test": { "const": "is_block" } } },
"then": { "$ref": "./filters/is_block.json" }
},
{
"if": { "properties": { "test": { "const": "is_brightness" } } },
"then": { "$ref": "../1.8.0/filters/is_brightness.json" }
},
{
"if": { "properties": { "test": { "const": "is_climbing" } } },
"then": { "$ref": "../1.8.0/filters/is_climbing.json" }
},
{
"if": { "properties": { "test": { "const": "is_color" } } },
"then": { "$ref": "../1.8.0/filters/is_color.json" }
},
{
"if": { "properties": { "test": { "const": "is_daytime" } } },
"then": { "$ref": "../1.8.0/filters/is_daytime.json" }
},
{
"if": { "properties": { "test": { "const": "is_difficulty" } } },
"then": { "$ref": "../1.8.0/filters/is_difficulty.json" }
},
{
"if": { "properties": { "test": { "const": "is_family" } } },
"then": { "$ref": "../1.8.0/filters/is_family.json" }
},
{
"if": { "properties": { "test": { "const": "is_game_rule" } } },
"then": { "$ref": "../1.8.0/filters/is_game_rule.json" }
},
{
"if": { "properties": { "test": { "const": "is_humid" } } },
"then": { "$ref": "../1.8.0/filters/is_humid.json" }
},
{
"if": { "properties": { "test": { "const": "is_immobile" } } },
"then": { "$ref": "../1.8.0/filters/is_immobile.json" }
},
{
"if": { "properties": { "test": { "const": "is_in_village" } } },
"then": { "$ref": "../1.8.0/filters/is_in_village.json" }
},
{
"if": { "properties": { "test": { "const": "is_leashed" } } },
"then": { "$ref": "../1.8.0/filters/is_leashed.json" }
},
{
"if": { "properties": { "test": { "const": "is_leashed_to" } } },
"then": { "$ref": "./filters/is_leashed_to.json" }
},
{
"if": { "properties": { "test": { "const": "is_mark_variant" } } },
"then": { "$ref": "../1.8.0/filters/is_mark_variant.json" }
},
{
"if": { "properties": { "test": { "const": "is_moving" } } },
"then": { "$ref": "../1.8.0/filters/is_moving.json" }
},
{
"if": { "properties": { "test": { "const": "is_owner" } } },
"then": { "$ref": "../1.8.0/filters/is_owner.json" }
},
{
"if": { "properties": { "test": { "const": "is_persistent" } } },
"then": { "$ref": "./filters/is_persistent.json" }
},
{
"if": { "properties": { "test": { "const": "is_riding" } } },
"then": { "$ref": "../1.8.0/filters/is_riding.json" }
},
{
"if": { "properties": { "test": { "const": "is_skin_id" } } },
"then": { "$ref": "../1.8.0/filters/is_skin_id.json" }
},
{
"if": { "properties": { "test": { "const": "is_sleeping" } } },
"then": { "$ref": "./filters/is_sleeping.json" }
},
{
"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_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" }
},
{
"if": { "properties": { "test": { "const": "is_visible" } } },
"then": { "$ref": "../1.8.0/filters/is_visible.json" }
},
{
"not": {
"properties": { "test": { "const": "is_weather" } },
"$comment": "DEPRECATED"
}
},
{
"if": { "properties": { "test": { "const": "light_level" } } },
"then": { "$ref": "./filters/light_level.json" }
},
{
"if": { "properties": { "test": { "const": "moon_intensity" } } },
"then": { "$ref": "../1.8.0/filters/moon_intensity.json" }
},
{
"if": { "properties": { "test": { "const": "moon_phase" } } },
"then": { "$ref": "../1.8.0/filters/moon_phase.json" }
},
{
"if": { "properties": { "test": { "const": "on_ground" } } },
"then": { "$ref": "../1.8.0/filters/on_ground.json" }
},
{
"if": { "properties": { "test": { "const": "on_ladder" } } },
"then": { "$ref": "../1.8.0/filters/on_ladder.json" }
},
{
"if": { "properties": { "test": { "const": "random_chance" } } },
"then": { "$ref": "./filters/random_chance.json" }
},
{
"if": { "properties": { "test": { "const": "rider_count" } } },
"then": { "$ref": "./filters/rider_count.json" }
},
{
"if": { "properties": { "test": { "const": "surface_mob" } } },
"then": { "$ref": "./filters/surface_mob.json" }
},
{
"if": { "properties": { "test": { "const": "trusts" } } },
"then": { "$ref": "./filters/trusts.json" }
},
{
"if": { "properties": { "test": { "const": "weather" } } },
"then": { "$ref": "./filters/weather.json" }
},
{
"if": {
"properties": { "test": { "const": "weather_at_position" } }
},
"then": { "$ref": "./filters/weather_at_position.json" }
}
{ "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": "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" } },
{ "if": { "properties": { "test": { "const": "has_container_open" } } }, "then": { "$ref": "./filters/has_container_open.json" } },
{ "if": { "properties": { "test": { "const": "has_damage" } } }, "then": { "$ref": "../1.8.0/filters/has_damage.json" } },
{ "if": { "properties": { "test": { "const": "has_equipment" } } }, "then": { "$ref": "../1.8.0/filters/has_equipment.json" } },
{ "if": { "properties": { "test": { "const": "has_mob_effect" } } }, "then": { "$ref": "../1.8.0/filters/has_mob_effect.json" } },
{ "if": { "properties": { "test": { "const": "has_ranged_weapon" } } }, "then": { "$ref": "./filters/has_ranged_weapon.json" } },
{ "if": { "properties": { "test": { "const": "has_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_target" } } }, "then": { "$ref": "./filters/has_target.json" } },
{ "if": { "properties": { "test": { "const": "has_trade_supply" } } }, "then": { "$ref": "../1.8.0/filters/has_trade_supply.json" } },
{ "if": { "properties": { "test": { "const": "hourly_clock_time" } } }, "then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" } },
{ "if": { "properties": { "test": { "const": "in_caravan" } } }, "then": { "$ref": "../1.8.0/filters/in_caravan.json" } },
{ "if": { "properties": { "test": { "const": "in_clouds" } } }, "then": { "$ref": "../1.8.0/filters/in_clouds.json" } },
{ "if": { "properties": { "test": { "const": "in_lava" } } }, "then": { "$ref": "../1.8.0/filters/in_lava.json" } },
{ "if": { "properties": { "test": { "const": "in_nether" } } }, "then": { "$ref": "./filters/in_nether.json" } },
{ "if": { "properties": { "test": { "const": "in_water" } } }, "then": { "$ref": "../1.8.0/filters/in_water.json" } },
{ "if": { "properties": { "test": { "const": "in_water_or_rain" } } }, "then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" } },
{ "if": { "properties": { "test": { "const": "inactivity_timer" } } }, "then": { "$ref": "./filters/inactivity_timer.json" } },
{ "if": { "properties": { "test": { "const": "is_altitude" } } }, "then": { "$ref": "../1.8.0/filters/is_altitude.json" } },
{ "if": { "properties": { "test": { "const": "is_avoiding_mobs" } } }, "then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" } },
{ "if": { "properties": { "test": { "const": "is_biome" } } }, "then": { "$ref": "../1.8.0/filters/is_biome.json" } },
{ "if": { "properties": { "test": { "const": "is_block" } } }, "then": { "$ref": "./filters/is_block.json" } },
{ "if": { "properties": { "test": { "const": "is_brightness" } } }, "then": { "$ref": "../1.8.0/filters/is_brightness.json" } },
{ "if": { "properties": { "test": { "const": "is_climbing" } } }, "then": { "$ref": "../1.8.0/filters/is_climbing.json" } },
{ "if": { "properties": { "test": { "const": "is_color" } } }, "then": { "$ref": "../1.8.0/filters/is_color.json" } },
{ "if": { "properties": { "test": { "const": "is_daytime" } } }, "then": { "$ref": "../1.8.0/filters/is_daytime.json" } },
{ "if": { "properties": { "test": { "const": "is_difficulty" } } }, "then": { "$ref": "../1.8.0/filters/is_difficulty.json" } },
{ "if": { "properties": { "test": { "const": "is_family" } } }, "then": { "$ref": "../1.8.0/filters/is_family.json" } },
{ "if": { "properties": { "test": { "const": "is_game_rule" } } }, "then": { "$ref": "../1.8.0/filters/is_game_rule.json" } },
{ "if": { "properties": { "test": { "const": "is_humid" } } }, "then": { "$ref": "../1.8.0/filters/is_humid.json" } },
{ "if": { "properties": { "test": { "const": "is_immobile" } } }, "then": { "$ref": "../1.8.0/filters/is_immobile.json" } },
{ "if": { "properties": { "test": { "const": "is_in_village" } } }, "then": { "$ref": "../1.8.0/filters/is_in_village.json" } },
{ "if": { "properties": { "test": { "const": "is_leashed" } } }, "then": { "$ref": "../1.8.0/filters/is_leashed.json" } },
{ "if": { "properties": { "test": { "const": "is_leashed_to" } } }, "then": { "$ref": "./filters/is_leashed_to.json" } },
{ "if": { "properties": { "test": { "const": "is_mark_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_mark_variant.json" } },
{ "if": { "properties": { "test": { "const": "is_moving" } } }, "then": { "$ref": "../1.8.0/filters/is_moving.json" } },
{ "if": { "properties": { "test": { "const": "is_owner" } } }, "then": { "$ref": "../1.8.0/filters/is_owner.json" } },
{ "if": { "properties": { "test": { "const": "is_persistent" } } }, "then": { "$ref": "./filters/is_persistent.json" } },
{ "if": { "properties": { "test": { "const": "is_riding" } } }, "then": { "$ref": "../1.8.0/filters/is_riding.json" } },
{ "if": { "properties": { "test": { "const": "is_skin_id" } } }, "then": { "$ref": "../1.8.0/filters/is_skin_id.json" } },
{ "if": { "properties": { "test": { "const": "is_sleeping" } } }, "then": { "$ref": "./filters/is_sleeping.json" } },
{ "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_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" } },
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "../1.8.0/filters/is_visible.json" } },
{ "not": { "properties": { "test": { "const": "is_weather" } }, "$comment": "DEPRECATED" } },
{ "if": { "properties": { "test": { "const": "light_level" } } }, "then": { "$ref": "./filters/light_level.json" } },
{ "if": { "properties": { "test": { "const": "moon_intensity" } } }, "then": { "$ref": "../1.8.0/filters/moon_intensity.json" } },
{ "if": { "properties": { "test": { "const": "moon_phase" } } }, "then": { "$ref": "../1.8.0/filters/moon_phase.json" } },
{ "if": { "properties": { "test": { "const": "on_ground" } } }, "then": { "$ref": "../1.8.0/filters/on_ground.json" } },
{ "if": { "properties": { "test": { "const": "on_ladder" } } }, "then": { "$ref": "../1.8.0/filters/on_ladder.json" } },
{ "if": { "properties": { "test": { "const": "random_chance" } } }, "then": { "$ref": "./filters/random_chance.json" } },
{ "if": { "properties": { "test": { "const": "rider_count" } } }, "then": { "$ref": "./filters/rider_count.json" } },
{ "if": { "properties": { "test": { "const": "surface_mob" } } }, "then": { "$ref": "./filters/surface_mob.json" } },
{ "if": { "properties": { "test": { "const": "trusts" } } }, "then": { "$ref": "./filters/trusts.json" } },
{ "if": { "properties": { "test": { "const": "weather" } } }, "then": { "$ref": "./filters/weather.json" } },
{ "if": { "properties": { "test": { "const": "weather_at_position" } } }, "then": { "$ref": "./filters/weather_at_position.json" } }
]
}
]

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.has_container_open",
"type": "object",
"title": "Filters has container open 1.13.0",
"title": "Filters Has Container Open 1.13.0",
"description": "Returns true when the subject Player entity has opened a container.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.has_ranged_weapon",
"type": "object",
"title": "Filters has ranged weapon 1.13.0",
"title": "Filters Has Ranged Weapon 1.13.0",
"description": "Returns true when the subject entity is holding a ranged weapon like a bow or crossbow.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.has_target",
"type": "object",
"title": "Filters has target 1.13.0",
"title": "Filters Has Target 1.13.0",
"description": "Returns true if the subject entity has a valid target.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.in_nether",
"type": "object",
"title": "Filters in nether 1.13.0",
"title": "Filters In Nether 1.13.0",
"description": "Returns true when the subject entity is in Nether.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,21 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.inactivity_timer",
"type": "object",
"title": "Filters inactivity timer 1.13.0",
"title": "Filters Inactivity Timer 1.13.0",
"description": "Tests if the specified duration in seconds of inactivity for despawning has been reached.",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "The Family name to look for",
"type": "integer",
"title": "Value"
}
"value": { "description": "The Family name to look for", "type": "integer", "title": "Value" }
}
}

View File

@@ -2,21 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.is_block",
"type": "object",
"title": "Filters is block 1.13.0",
"title": "Filters Is Block 1.13.0",
"description": "Returns true when the block has the given name.",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "The Family name to look for",
"type": "string",
"title": "Value"
}
"value": { "description": "The Family name to look for", "type": "string", "title": "Value" }
}
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.is_leashed_to",
"type": "object",
"title": "Filters is leashed to 1.13.0",
"title": "Filters Is Leashed To 1.13.0",
"description": "Returns true if the subject entity leashed to the calling entity.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.is_persistent",
"type": "object",
"title": "Filters is persistent 1.13.0",
"title": "Filters Is Persistent 1.13.0",
"description": "Tests if the subject's persistence matches the bool value passed in.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.is_sleeping",
"type": "object",
"title": "Filters is sleeping 1.13.0",
"title": "Filters Is Sleeping 1.13.0",
"description": "Tests whether the Subject is sleeping.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,23 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.light_level",
"type": "object",
"title": "Filters light level 1.13.0",
"title": "Filters Light Level 1.13.0",
"description": "Tests is the mob is outside of the specified light level range (0, 16).",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "An integer value.",
"type": "integer",
"title": "Value",
"minimum": 0,
"maximum": 16
}
"value": { "description": "An integer value.", "type": "integer", "title": "Value", "minimum": 0, "maximum": 16 }
}
}

View File

@@ -2,21 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.random_chance",
"type": "object",
"title": "Filters random chance 1.13.0",
"title": "Filters Random Chance 1.13.0",
"description": "Returns true if the random chance rolls 0 out of a specified max range.",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "An integer value.",
"type": "integer",
"title": "Value"
}
"value": { "description": "An integer value.", "type": "integer", "title": "Value" }
}
}

View File

@@ -2,21 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.rider_count",
"type": "object",
"title": "Filters rider count 1.13.0",
"title": "Filters Rider Count 1.13.0",
"description": "Returns the number of riders on this entity.",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "An integer value.",
"type": "integer",
"title": "Value"
}
"value": { "description": "An integer value.", "type": "integer", "title": "Value" }
}
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.surface_mob",
"type": "object",
"title": "Filters surface mob 1.13.0",
"title": "Filters Surface Mob 1.13.0",
"description": "Tests if the subject is a surface mob.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -2,27 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.trusts",
"type": "object",
"title": "Filters trusts 1.13.0",
"title": "Filters Trusts 1.13.0",
"description": "Returns true if the subject is trusted by entity.",
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "True or false.",
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"type": "string",
"enum": ["true", "false"]
}
{ "type": "boolean", "default": true },
{ "type": "string", "enum": ["true", "false"] }
],
"title": "Value"
}

View File

@@ -5,5 +5,5 @@
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal.",
"type": "number",
"title": "Speed multiplier"
"title": "Speed Multiplier"
}

View File

@@ -2,21 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.weather",
"type": "object",
"title": "Filters weather 1.13.0",
"title": "Filters Weather 1.13.0",
"description": "Tests the current weather in the dimension against a provided weather value.",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "The Family name to look for",
"type": "string",
"title": "Value"
}
"value": { "description": "The Family name to look for", "type": "string", "title": "Value" }
}
}

View File

@@ -2,21 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.filters.weather_at_position",
"type": "object",
"title": "Filters weather at position 1.13.0",
"title": "Filters Weather At Position 1.13.0",
"description": "Tests the current weather, at the actor's position, against a provided weather value.",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property"
},
"test": { "type": "string", "title": "Test", "description": "The test property" },
"operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "./types/base_subject.json" },
"value": {
"description": "The Family name to look for",
"type": "string",
"title": "Value"
}
"value": { "description": "The Family name to look for", "type": "string", "title": "Value" }
}
}

View File

@@ -14,35 +14,23 @@
"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"
}
},
"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."
"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." },
"is_summonable": {
"type": "boolean",
"title": "The is summonable property",
"title": "Is Summonable Property",
"description": "Sets whether or not we can summon this entity using commands such as /summon."
},
"is_experimental": {
"type": "boolean",
"title": "Is experimental",
"title": "Is Experimental",
"description": "Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled."
},
"runtime_identifier": {
"type": "string",
"title": "Runtime identifier",
"title": "Runtime Identifier",
"description": "Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from."
},
"scripts": {
@@ -56,20 +44,8 @@
"description": "Tells minecraft to run which animation / animation controllers and under what conditions",
"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": "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" } }
]
}
}
@@ -78,7 +54,7 @@
}
},
"component_groups": {
"title": "Component groups",
"title": "Component Groups",
"description": "Each group when add / remove the default components",
"uniqueItems": true,
"type": "object",
@@ -86,20 +62,20 @@
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
}
},
"components": {
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
},
"events": {
"$ref": "./events.json",
"uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema"
"title": "Events Schema"
}
}
}

View File

@@ -1,20 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.type.entity_types.1.13.0",
"title": "Entity types 1.13.0",
"title": "Entity Types 1.13.0",
"type": "array",
"items": {
"description": "The entity type",
"title": "The entity type",
"title": "Entity Type",
"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",
@@ -27,12 +22,7 @@
"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

@@ -4,25 +4,12 @@
"title": "Event",
"description": "Minecraft behaviour event 1.13.0",
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9_\\-:]+$",
"description": "The event to fire"
},
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire" },
{
"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"]
}
"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"] }
}
}
]

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.type.range_number_type.1.13.0",
"title": "Range [a, b]",
"title": "Range [a, B]",
"description": "A described range",
"items": [
{ "type": "number", "title": "Range: A", "description": "The first value of the range" },

View File

@@ -6,11 +6,7 @@
"description": "Trigger to fire",
"minProperties": 1,
"properties": {
"event": {
"type": "string",
"description": "Event",
"title": "The event to fire"
},
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "Filters" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},

View File

@@ -2,12 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entity1.14.0",
"type": "object",
"title": "The minecraft behaviour entity 1.14.0",
"title": "Behaviour Entity 1.14.0",
"description": "TODO description",
"required": ["format_version", "minecraft:entity"],
"properties": {
"format_version": {
"title": "The 1.14.0 format version",
"title": "1.14.0 Format Version",
"type": "string",
"const": "1.14.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."

View File

@@ -6,19 +6,15 @@
"definitions": {
"addremove": {
"additionalProperties": false,
"title": "The add/remove schema",
"title": "Add/remove Schema",
"description": "The components groups to add or remove",
"type": "object",
"properties": {
"component_groups": {
"title": "The component groups schema",
"title": "Component Groups Schema",
"description": "The components groups to add or remove",
"type": "array",
"items": {
"type": "string",
"description": "TODO description: component groups",
"title": "Component Groups"
}
"items": { "type": "string", "description": "TODO description: component groups", "title": "Component Groups" }
}
}
},
@@ -26,41 +22,17 @@
"additionalProperties": false,
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"randomize": {
"type": "array",
"items": {
"required": ["weight"],
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"weight": {
"type": "number",
"description": "TODO description: weight",
"title": "Weight"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"weight": { "type": "number", "description": "TODO description: weight", "title": "Weight" }
},
"description": "TODO description: randomize",
"title": "Randomize"
@@ -75,32 +47,16 @@
"title": "Sequence",
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"filters": {
"$ref": "./filters.json"
}
"add": { "$ref": "#/definitions/addremove", "description": "TODO description: add", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "TODO description: remove", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": {
"$ref": "./filters.json"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"filters": { "$ref": "./filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}
},
@@ -115,19 +71,9 @@
"$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"
}
},
"additionalProperties": {
"$ref": "#/definitions/event_base"
"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" },
"description": "TODO description: "
}

View File

@@ -6,275 +6,76 @@
"filters_spec": {
"oneOf": [
{
"propertyNames": {
"enum": ["all_of", "any_of", "none_of"]
},
"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": "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" }
},
{
"if": { "properties": { "test": { "const": "has_damage" } } },
"then": { "$ref": "../1.8.0/filters/has_damage.json" }
},
{
"if": { "properties": { "test": { "const": "has_equipment" } } },
"then": { "$ref": "../1.8.0/filters/has_equipment.json" }
},
{
"if": { "properties": { "test": { "const": "has_mob_effect" } } },
"then": { "$ref": "../1.8.0/filters/has_mob_effect.json" }
},
{
"if": { "properties": { "test": { "const": "has_tag" } } },
"then": { "$ref": "../1.8.0/filters/has_tag.json" }
},
{
"if": { "properties": { "test": { "const": "has_trade_supply" } } },
"then": { "$ref": "../1.8.0/filters/has_trade_supply.json" }
},
{
"if": { "properties": { "test": { "const": "hourly_clock_time" } } },
"then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" }
},
{
"if": { "properties": { "test": { "const": "in_caravan" } } },
"then": { "$ref": "../1.8.0/filters/in_caravan.json" }
},
{
"if": { "properties": { "test": { "const": "in_clouds" } } },
"then": { "$ref": "../1.8.0/filters/in_clouds.json" }
},
{
"if": { "properties": { "test": { "const": "in_lava" } } },
"then": { "$ref": "../1.8.0/filters/in_lava.json" }
},
{
"if": { "properties": { "test": { "const": "in_water" } } },
"then": { "$ref": "../1.8.0/filters/in_water.json" }
},
{
"if": { "properties": { "test": { "const": "in_water_or_rain" } } },
"then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" }
},
{
"if": { "properties": { "test": { "const": "is_altitude" } } },
"then": { "$ref": "../1.8.0/filters/is_altitude.json" }
},
{
"if": { "properties": { "test": { "const": "is_avoiding_mobs" } } },
"then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" }
},
{
"if": { "properties": { "test": { "const": "is_biome" } } },
"then": { "$ref": "../1.8.0/filters/is_biome.json" }
},
{
"if": { "properties": { "test": { "const": "is_brightness" } } },
"then": { "$ref": "../1.8.0/filters/is_brightness.json" }
},
{
"if": { "properties": { "test": { "const": "is_climbing" } } },
"then": { "$ref": "../1.8.0/filters/is_climbing.json" }
},
{
"if": { "properties": { "test": { "const": "is_color" } } },
"then": { "$ref": "../1.8.0/filters/is_color.json" }
},
{
"if": { "properties": { "test": { "const": "is_daytime" } } },
"then": { "$ref": "../1.8.0/filters/is_daytime.json" }
},
{
"if": { "properties": { "test": { "const": "is_difficulty" } } },
"then": { "$ref": "../1.8.0/filters/is_difficulty.json" }
},
{
"if": { "properties": { "test": { "const": "is_family" } } },
"then": { "$ref": "../1.8.0/filters/is_family.json" }
},
{
"if": { "properties": { "test": { "const": "is_game_rule" } } },
"then": { "$ref": "../1.8.0/filters/is_game_rule.json" }
},
{
"if": { "properties": { "test": { "const": "is_humid" } } },
"then": { "$ref": "../1.8.0/filters/is_humid.json" }
},
{
"if": { "properties": { "test": { "const": "is_immobile" } } },
"then": { "$ref": "../1.8.0/filters/is_immobile.json" }
},
{
"if": { "properties": { "test": { "const": "is_in_village" } } },
"then": { "$ref": "../1.8.0/filters/is_in_village.json" }
},
{
"if": { "properties": { "test": { "const": "is_leashed" } } },
"then": { "$ref": "../1.8.0/filters/is_leashed.json" }
},
{
"if": { "properties": { "test": { "const": "is_mark_variant" } } },
"then": { "$ref": "../1.8.0/filters/is_mark_variant.json" }
},
{
"if": { "properties": { "test": { "const": "is_moving" } } },
"then": { "$ref": "../1.8.0/filters/is_moving.json" }
},
{
"if": { "properties": { "test": { "const": "is_owner" } } },
"then": { "$ref": "../1.8.0/filters/is_owner.json" }
},
{
"if": { "properties": { "test": { "const": "is_riding" } } },
"then": { "$ref": "../1.8.0/filters/is_riding.json" }
},
{
"if": { "properties": { "test": { "const": "is_skin_id" } } },
"then": { "$ref": "../1.8.0/filters/is_skin_id.json" }
},
{
"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_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" }
},
{
"if": { "properties": { "test": { "const": "is_visible" } } },
"then": { "$ref": "../1.8.0/filters/is_visible.json" }
},
{
"if": { "properties": { "test": { "const": "moon_intensity" } } },
"then": { "$ref": "../1.8.0/filters/moon_intensity.json" }
},
{
"if": { "properties": { "test": { "const": "moon_phase" } } },
"then": { "$ref": "../1.8.0/filters/moon_phase.json" }
},
{
"if": { "properties": { "test": { "const": "on_ground" } } },
"then": { "$ref": "../1.8.0/filters/on_ground.json" }
},
{
"if": { "properties": { "test": { "const": "on_ladder" } } },
"then": { "$ref": "../1.8.0/filters/on_ladder.json" }
},
{
"if": { "properties": { "test": { "const": "has_target" } } },
"then": { "$ref": "../1.13.0/filters/has_target.json" }
},
{
"if": { "properties": { "test": { "const": "is_block" } } },
"then": { "$ref": "../1.13.0/filters/is_block.json" }
},
{
"if": { "properties": { "test": { "const": "is_leashed_to" } } },
"then": { "$ref": "../1.13.0/filters/is_leashed_to.json" }
},
{
"if": { "properties": { "test": { "const": "is_sleeping" } } },
"then": { "$ref": "../1.13.0/filters/is_sleeping.json" }
},
{
"not": {
"properties": { "test": { "const": "is_weather" } },
"$comment": "DEPRECATED"
}
},
{
"if": { "properties": { "test": { "const": "rider_count" } } },
"then": { "$ref": "../1.13.0/filters/rider_count.json" }
},
{
"if": { "properties": { "test": { "const": "trusts" } } },
"then": { "$ref": "../1.13.0/filters/trusts.json" }
}
{ "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": "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" } },
{ "if": { "properties": { "test": { "const": "has_damage" } } }, "then": { "$ref": "../1.8.0/filters/has_damage.json" } },
{ "if": { "properties": { "test": { "const": "has_equipment" } } }, "then": { "$ref": "../1.8.0/filters/has_equipment.json" } },
{ "if": { "properties": { "test": { "const": "has_mob_effect" } } }, "then": { "$ref": "../1.8.0/filters/has_mob_effect.json" } },
{ "if": { "properties": { "test": { "const": "has_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_trade_supply" } } }, "then": { "$ref": "../1.8.0/filters/has_trade_supply.json" } },
{ "if": { "properties": { "test": { "const": "hourly_clock_time" } } }, "then": { "$ref": "../1.8.0/filters/hourly_clock_time.json" } },
{ "if": { "properties": { "test": { "const": "in_caravan" } } }, "then": { "$ref": "../1.8.0/filters/in_caravan.json" } },
{ "if": { "properties": { "test": { "const": "in_clouds" } } }, "then": { "$ref": "../1.8.0/filters/in_clouds.json" } },
{ "if": { "properties": { "test": { "const": "in_lava" } } }, "then": { "$ref": "../1.8.0/filters/in_lava.json" } },
{ "if": { "properties": { "test": { "const": "in_water" } } }, "then": { "$ref": "../1.8.0/filters/in_water.json" } },
{ "if": { "properties": { "test": { "const": "in_water_or_rain" } } }, "then": { "$ref": "../1.8.0/filters/in_water_or_rain.json" } },
{ "if": { "properties": { "test": { "const": "is_altitude" } } }, "then": { "$ref": "../1.8.0/filters/is_altitude.json" } },
{ "if": { "properties": { "test": { "const": "is_avoiding_mobs" } } }, "then": { "$ref": "../1.8.0/filters/is_avoiding_mobs.json" } },
{ "if": { "properties": { "test": { "const": "is_biome" } } }, "then": { "$ref": "../1.8.0/filters/is_biome.json" } },
{ "if": { "properties": { "test": { "const": "is_brightness" } } }, "then": { "$ref": "../1.8.0/filters/is_brightness.json" } },
{ "if": { "properties": { "test": { "const": "is_climbing" } } }, "then": { "$ref": "../1.8.0/filters/is_climbing.json" } },
{ "if": { "properties": { "test": { "const": "is_color" } } }, "then": { "$ref": "../1.8.0/filters/is_color.json" } },
{ "if": { "properties": { "test": { "const": "is_daytime" } } }, "then": { "$ref": "../1.8.0/filters/is_daytime.json" } },
{ "if": { "properties": { "test": { "const": "is_difficulty" } } }, "then": { "$ref": "../1.8.0/filters/is_difficulty.json" } },
{ "if": { "properties": { "test": { "const": "is_family" } } }, "then": { "$ref": "../1.8.0/filters/is_family.json" } },
{ "if": { "properties": { "test": { "const": "is_game_rule" } } }, "then": { "$ref": "../1.8.0/filters/is_game_rule.json" } },
{ "if": { "properties": { "test": { "const": "is_humid" } } }, "then": { "$ref": "../1.8.0/filters/is_humid.json" } },
{ "if": { "properties": { "test": { "const": "is_immobile" } } }, "then": { "$ref": "../1.8.0/filters/is_immobile.json" } },
{ "if": { "properties": { "test": { "const": "is_in_village" } } }, "then": { "$ref": "../1.8.0/filters/is_in_village.json" } },
{ "if": { "properties": { "test": { "const": "is_leashed" } } }, "then": { "$ref": "../1.8.0/filters/is_leashed.json" } },
{ "if": { "properties": { "test": { "const": "is_mark_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_mark_variant.json" } },
{ "if": { "properties": { "test": { "const": "is_moving" } } }, "then": { "$ref": "../1.8.0/filters/is_moving.json" } },
{ "if": { "properties": { "test": { "const": "is_owner" } } }, "then": { "$ref": "../1.8.0/filters/is_owner.json" } },
{ "if": { "properties": { "test": { "const": "is_riding" } } }, "then": { "$ref": "../1.8.0/filters/is_riding.json" } },
{ "if": { "properties": { "test": { "const": "is_skin_id" } } }, "then": { "$ref": "../1.8.0/filters/is_skin_id.json" } },
{ "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_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" } },
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "../1.8.0/filters/is_visible.json" } },
{ "if": { "properties": { "test": { "const": "moon_intensity" } } }, "then": { "$ref": "../1.8.0/filters/moon_intensity.json" } },
{ "if": { "properties": { "test": { "const": "moon_phase" } } }, "then": { "$ref": "../1.8.0/filters/moon_phase.json" } },
{ "if": { "properties": { "test": { "const": "on_ground" } } }, "then": { "$ref": "../1.8.0/filters/on_ground.json" } },
{ "if": { "properties": { "test": { "const": "on_ladder" } } }, "then": { "$ref": "../1.8.0/filters/on_ladder.json" } },
{ "if": { "properties": { "test": { "const": "has_target" } } }, "then": { "$ref": "../1.13.0/filters/has_target.json" } },
{ "if": { "properties": { "test": { "const": "is_block" } } }, "then": { "$ref": "../1.13.0/filters/is_block.json" } },
{ "if": { "properties": { "test": { "const": "is_leashed_to" } } }, "then": { "$ref": "../1.13.0/filters/is_leashed_to.json" } },
{ "if": { "properties": { "test": { "const": "is_sleeping" } } }, "then": { "$ref": "../1.13.0/filters/is_sleeping.json" } },
{ "not": { "properties": { "test": { "const": "is_weather" } }, "$comment": "DEPRECATED" } },
{ "if": { "properties": { "test": { "const": "rider_count" } } }, "then": { "$ref": "../1.13.0/filters/rider_count.json" } },
{ "if": { "properties": { "test": { "const": "trusts" } } }, "then": { "$ref": "../1.13.0/filters/trusts.json" } }
]
}
]

View File

@@ -14,35 +14,23 @@
"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"
}
},
"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."
"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." },
"is_summonable": {
"type": "boolean",
"title": "The is summonable property",
"title": "Is Summonable Property",
"description": "Sets whether or not we can summon this entity using commands such as /summon."
},
"is_experimental": {
"type": "boolean",
"title": "Is experimental",
"title": "Is Experimental",
"description": "Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled."
},
"runtime_identifier": {
"type": "string",
"title": "Runtime identifier",
"title": "Runtime Identifier",
"description": "Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from."
},
"scripts": {
@@ -56,20 +44,8 @@
"description": "Tells minecraft to run which animation / animation controllers and under what conditions",
"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": "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" } }
]
}
}
@@ -78,7 +54,7 @@
}
},
"component_groups": {
"title": "Component groups",
"title": "Component Groups",
"description": "Each group when add / remove the default components",
"uniqueItems": true,
"type": "object",
@@ -86,20 +62,20 @@
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
}
},
"components": {
"$ref": "./components.json",
"uniqueItems": true,
"description": "The components that are added as the foundation of the entity",
"title": "The component schema"
"title": "Component Schema"
},
"events": {
"$ref": "./events.json",
"uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema"
"title": "Events Schema"
}
}
}

View File

@@ -2,54 +2,28 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.admire_item",
"type": "object",
"title": "Admire item 1.16.0",
"title": "Admire Item 1.16.0",
"description": "Enables the mob to admire items that have been configured as admirable. Must be used in combination with the admire_item component.",
"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"
},
"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" },
"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" },
"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": {
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound interval",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
}
}

View File

@@ -2,99 +2,39 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.avoid_block",
"type": "object",
"title": "Avoid block 1.16.0",
"title": "Avoid Block 1.16.0",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"tick_interval": {
"type": "integer",
"title": "Tick interval",
"description": "UNDOCUMENTATED"
},
"search_range": {
"type": "integer",
"title": "Search range",
"description": "UNDOCUMENTATED"
},
"search_height": {
"type": "integer",
"title": "Search height",
"description": "UNDOCUMENTATED"
},
"sprint_speed_modifier": {
"type": "number",
"title": "Sprint speed modifier",
"description": "UNDOCUMENTATED"
},
"target_selection_method": {
"type": "string",
"title": "Target selection method",
"description": "UNDOCUMENTATED"
},
"priority": { "$ref": "types/base_priority.json" },
"tick_interval": { "type": "integer", "title": "Tick Interval", "description": "UNDOCUMENTATED" },
"search_range": { "type": "integer", "title": "Search Range", "description": "UNDOCUMENTATED" },
"search_height": { "type": "integer", "title": "Search Height", "description": "UNDOCUMENTATED" },
"sprint_speed_modifier": { "type": "number", "title": "Sprint Speed Modifier", "description": "UNDOCUMENTATED" },
"target_selection_method": { "type": "string", "title": "Target Selection Method", "description": "UNDOCUMENTATED" },
"target_blocks": {
"type": "array",
"title": "Target blocks",
"title": "Target Blocks",
"description": "UNDOCUMENTATED",
"items": {
"type": "string",
"title": "Block ID",
"description": "UNDOCUMENTATED"
}
},
"avoid_block_sound": {
"type": "string",
"title": "Avoid block sound",
"description": "UNDOCUMENTATED"
},
"walk_speed_modifier": {
"type": "number",
"title": "Walk speed modifier",
"description": "UNDOCUMENTATED"
},
"on_escape": {
"type": "array",
"title": "Walk speed modifier",
"description": "UNDOCUMENTATED",
"items": {
"$ref": "../types/event.json"
}
"items": { "type": "string", "title": "Block ID", "description": "UNDOCUMENTATED" }
},
"avoid_block_sound": { "type": "string", "title": "Avoid Block Sound", "description": "UNDOCUMENTATED" },
"walk_speed_modifier": { "type": "number", "title": "Walk Speed Modifier", "description": "UNDOCUMENTATED" },
"on_escape": { "type": "array", "title": "Walk Speed Modifier", "description": "UNDOCUMENTATED", "items": { "$ref": "../types/event.json" } },
"sound_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound interval",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
}
}

View File

@@ -5,9 +5,5 @@
"title": "Barter 1.16.0",
"description": "Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" } }
}

View File

@@ -6,94 +6,40 @@
"description": "This allows the mob celebrate by jumping up and playing a sound periodically.",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"celebration_sound": {
"type": "string",
"default": "",
"description": "The sound to occasionally play.",
"title": "Celebration sound"
},
"duration": {
"type": "number",
"default": 1,
"description": "The duration of the celebration (in seconds).",
"title": "Duration"
},
"priority": { "$ref": "types/base_priority.json" },
"celebration_sound": { "type": "string", "default": "", "description": "The sound to occasionally play.", "title": "Celebration Sound" },
"duration": { "type": "number", "default": 1, "description": "The duration of the celebration (in seconds).", "title": "Duration" },
"jump_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before jumping again.",
"title": "Jump interval",
"title": "Jump Interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
},
"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.",
"title": "Sound interval",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
}
}

View File

@@ -2,54 +2,23 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.defend_trusted_target",
"type": "object",
"title": "Defend trusted target 1.16.0",
"title": "Defend Trusted Target 1.16.0",
"description": "Allows the mob to target another mob that hurts an entity it trusts.",
"additionalProperties": false,
"properties": {
"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"
},
"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_forget_duration": {
"type": "number",
"default": 3,
"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",
"title": "Must see forget duration"
"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
},
"sound_chance": {
"title": "Sound chance",
"description": "UNDOCUMENTATED",
"type": "number"
}
"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 },
"sound_chance": { "title": "Sound Chance", "description": "UNDOCUMENTATED", "type": "number" }
}
}

View File

@@ -9,11 +9,7 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"speed_modifier": {
"default": 0.0,
"description": "TODO description: speed modifier",
"title": "Speed Modifier"
},
"speed_modifier": { "default": 0.0, "description": "TODO description: speed modifier", "title": "Speed Modifier" },
"potions": {
"type": "array",
"description": "A list of potions that this entity can drink.",
@@ -21,12 +17,7 @@
"required": ["id", "chance", "filters"],
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"default": -1,
"description": "The registry ID of the potion to use",
"title": "Id"
},
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
"chance": {
"type": "number",
"default": 1.0,
@@ -35,11 +26,7 @@
"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

@@ -3,97 +3,38 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.drop_item_for",
"additionalProperties": false,
"description": "Allows the mob to move near a target and drop an item.",
"title": "Drop item for 1.16.0",
"title": "Drop Item For 1.16.0",
"type": "object",
"properties": {
"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"
},
"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" },
"goal_radius": {
"type": "number",
"default": 0.5,
"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"
},
"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"
},
"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"
"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" },
"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": {
"type": "number",
"default": [1.0],
"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"
},
"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" }]
"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" },
"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" }] },
"teleport_offset": {
"title": "Teleport offset",
"title": "Teleport Offset",
"description": "UNDOCUMENTATED",
"type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
@@ -101,19 +42,11 @@
"time_of_day_range": {
"default": [0.0, 1.0],
"description": "The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0.",
"title": "Time of day range",
"title": "Time Of Day Range",
"type": "array",
"items": [
{
"type": "number",
"minimum": 0,
"maximum": 1
},
{
"type": "number",
"minimum": 0,
"maximum": 1
}
{ "type": "number", "minimum": 0, "maximum": 1 },
{ "type": "number", "minimum": 0, "maximum": 1 }
]
}
}

View File

@@ -2,17 +2,11 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.eat_carried_item",
"type": "object",
"title": "Eat carried item 1.16.0",
"title": "Eat Carried Item 1.16.0",
"description": "If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob.",
"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"
}
"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" }
}
}

View File

@@ -2,12 +2,8 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.equip_item",
"type": "object",
"title": "Equip item 1.16.0",
"title": "Equip Item 1.16.0",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" } }
}

View File

@@ -2,17 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.find_cover",
"type": "object",
"title": "Find cover 1.16.0",
"title": "Find Cover 1.16.0",
"description": "Allows the mob to seek shade.",
"additionalProperties": false,
"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

@@ -3,47 +3,20 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.find_mount",
"additionalProperties": false,
"description": "Allows the mob to look around for another mob to ride atop it.",
"title": "Find mount 1.16.0",
"title": "Find Mount 1.16.0",
"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"
},
"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" },
"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"
"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

@@ -3,30 +3,23 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.go_home",
"additionalProperties": false,
"description": "Allows the mob to move back to the position they were spawned.",
"title": "Go home",
"title": "Go Home",
"type": "object",
"definitions": {
"on_home_spec": {
"additionalProperties": false,
"type": "object",
"title": "On home event",
"title": "On Home Event",
"description": "UNDOCUMENTATED",
"properties": {
"event": {
"type": "string",
"pattern": "^[a-zA-Z0-9_\\-:]+$",
"description": "The event to fire",
"title": "Event"
},
"event": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
"target": {
"type": "string",
"description": "The target of the event",
"title": "Target",
"enum": ["baby", "block", "damager", "other", "parent", "player", "self", "target"]
},
"filters": {
"$ref": "../filters.json"
}
"filters": { "$ref": "../filters.json" }
}
}
},
@@ -37,7 +30,7 @@
"type": "number",
"default": 0.5,
"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"
"title": "Goal Radius"
},
"interval": {
"type": "integer",
@@ -47,24 +40,13 @@
},
"on_home": {
"description": "Event to run when this mob gets home.",
"title": "On home",
"title": "On Home",
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9_\\-:]+$"
},
{
"type": "object",
"$ref": "#/definitions/on_home_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/on_home_spec"
}
}
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$" },
{ "type": "object", "$ref": "#/definitions/on_home_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/on_home_spec" } }
]
},
"on_failed": { "$ref": "../types/event.json", "title": "On failed", "description": "UNDOCUMENTATED" }
"on_failed": { "$ref": "../types/event.json", "title": "On Failed", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -2,35 +2,18 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.hold_ground",
"type": "object",
"title": "Hold ground 1.16.0",
"title": "Hold Ground 1.16.0",
"description": "The mob freezes and looks at the mob they are targeting.",
"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_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"
},
"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_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" },
"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.",
"title": "Within radius event"
"title": "Within Radius Event"
}
}
}

View File

@@ -3,48 +3,18 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.knockback_roar",
"description": "Allows the mob to perform a damaging knockback that affects all nearby entities.",
"type": "object",
"title": "Knockback roar 1.16.0",
"title": "Knockback Roar 1.16.0",
"additionalProperties": false,
"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"
},
"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"
},
"knockback_strength": {
"type": "integer",
"default": 4,
"description": "The strength of the knockback.",
"title": "TODO title"
},
"Trigger": { "$ref": "../types/trigger.json", "description": "On_roar_end", "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" },
"knockback_strength": { "type": "integer", "default": 4, "description": "The strength of the knockback.", "title": "TODO Title" },
"Trigger": { "$ref": "../types/trigger.json", "description": "On_roar_end", "title": "TODO Title" },
"knockback_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"damage_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"on_roar_end": { "$ref": "../types/event.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.leap_at_target",
"description": "Allows monsters to jump at and attack their target. Can only be used by hostile mobs.",
"type": "object",
"title": "Leap at target 1.16.0",
"title": "Leap At Target 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -12,25 +12,10 @@
"type": "boolean",
"default": true,
"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"
"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"
},
"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"
}
"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

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.look_at_player",
"type": "object",
"title": "Look at player 1.16.0",
"title": "Look At Player 1.16.0",
"description": "Allows the mob to look at the player when the player is nearby.",
"additionalProperties": false,
"required": [],
@@ -20,37 +20,15 @@
"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],
"description": "Time range to look at the entity",
"title": "Look Time",
"items": [
{
"type": "number"
},
{
"type": "number"
}
]
"items": [{ "type": "number" }, { "type": "number" }]
},
"target_distance": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"target_distance": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.move_to_lava",
"type": "object",
"title": "Move to lava 1.16.0",
"title": "Move To Lava 1.16.0",
"description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false,
"properties": {
@@ -12,25 +12,15 @@
"type": "number",
"default": 0.5,
"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"
"title": "Goal Radius"
},
"search_count": {
"type": "integer",
"default": 10,
"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"
"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

@@ -2,11 +2,8 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.move_towards_home_restriction",
"type": "object",
"title": "Move towards home restriction 1.16.0",
"title": "Move Towards Home Restriction 1.16.0",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "types/base_speed_multiplier.json" } }
}

View File

@@ -8,31 +8,21 @@
"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,
"description": "The block distance in x and z that will be checked for mobs that this mob detects",
"title": "Mob detect dist"
"title": "Mob Detect Dist"
},
"mob_detect_height": {
"type": "number",
"default": 6,
"description": "The block distance in y that will be checked for mobs that this mob detects",
"title": "Mob detect height"
"title": "Mob Detect Height"
},
"can_nap_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Can nap filters" },
"wake_mob_exceptions": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Wake mob exceptions" }
"can_nap_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Can Nap Filters" },
"wake_mob_exceptions": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Wake Mob Exceptions" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.nearest_attackable_target",
"type": "object",
"title": "Nearest attackable target 1.16.0",
"title": "Nearest Attackable Target 1.16.0",
"description": "Allows the mob to check for and pursue the nearest valid target.",
"additionalProperties": false,
"required": [],
@@ -11,28 +11,24 @@
"type": "object",
"description": "A entity type",
"properties": {
"filters": {
"$ref": "../filters.json",
"description": "Conditions that make this target a valid type.",
"title": "Filters"
},
"filters": { "$ref": "../filters.json", "description": "Conditions that make this target a valid type.", "title": "Filters" },
"max_dist": {
"type": "number",
"default": 16,
"description": "To be a valid target choice, the target type cannot be farther away from this entity than \"max_dist\".",
"title": "Max dist"
"title": "Max Dist"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.",
"title": "Must see"
"title": "Must See"
},
"must_see_forget_duration": {
"type": "boolean",
"default": 3,
"description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if \"must_see\" is true.",
"title": "Must see forget duration"
"title": "Must See Forget Duration"
}
}
}
@@ -41,102 +37,77 @@
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": {
"description": "Filters which types of targets are valid for this entity.",
"title": "Entity types",
"oneOf": [
{
"$ref": "#/definitions/entity_type"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/entity_type"
}
}
]
"title": "Entity Types",
"oneOf": [{ "$ref": "#/definitions/entity_type" }, { "type": "array", "items": { "$ref": "#/definitions/entity_type" } }]
},
"attack_interval": {
"type": "integer",
"default": 0,
"description": "Time range (in seconds) between searching for an attack target, range is in (0, \"attack_interval\"]. Only used if \"attack_interval\" is greater than 0, otherwise \"scan_interval\" is used.",
"title": "Attack interval"
"title": "Attack Interval"
},
"attack_interval_min": {
"type": "number",
"default": 0,
"description": "Alias for \"attack_interval\"; provides the same functionality as \"attack_interval\".",
"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"
"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_see": {
"type": "boolean",
"default": false,
"description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.",
"title": "Must see"
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"default": 3,
"description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if \"must_see\" is true.",
"title": "Must see forget duration"
"title": "Must See Forget Duration"
},
"persist_time": {
"type": "number",
"default": 0,
"description": "Time (in seconds) this entity can continue attacking the target after the target is no longer valid.",
"title": "Persist time"
"title": "Persist Time"
},
"reselect_targets": {
"type": "boolean",
"default": false,
"description": "Allows the attacking entity to update the nearest target, otherwise a target is only reselected after each \"scan_interval\" or \"attack_interval\".",
"title": "Reselect targets"
"title": "Reselect Targets"
},
"scan_interval": {
"type": "integer",
"default": 10,
"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"
"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_invisible_multiplier": {
"type": "number",
"default": 0.7,
"description": "Multiplied with the target's armor coverage percentage to modify \"max_dist\" when detecting an invisible target.",
"title": "Target invisible multiplier"
"title": "Target Invisible Multiplier"
},
"target_search_height": {
"type": "number",
"default": -1,
"description": "Maximum vertical target-search distance, if it's greater than the target type's \"max_dist\". A negative value defaults to \"entity_types\" greatest \"max_dist\".",
"title": "Target search height"
"title": "Target Search Height"
},
"target_sneak_visibility_multiplier": {
"type": "number",
"default": 0.8,
"description": "Multiplied with the target type's \"max_dist\" when trying to detect a sneaking target.",
"title": "Target sneak visibility multiplier"
"title": "Target Sneak Visibility Multiplier"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Maximum distance this entity can be from the target when following it, otherwise the target becomes invalid. This value is only used if the entity doesn't declare \"minecraft:follow_range\".",
"title": "Within radius"
"title": "Within Radius"
}
}
}

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