Refactoring

This commit is contained in:
DaanV2
2020-12-12 00:09:25 +01:00
parent 124cc839f1
commit 6d1ef3597b
226 changed files with 740 additions and 744 deletions

View File

@@ -24,7 +24,7 @@
}, },
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/animation_controller.json" } "then": { "$ref": "./1.10.0/animation_controller.json" }
} }
] ]
} }

View File

@@ -12,11 +12,11 @@
"allOf": [ "allOf": [
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/animations.json" } "then": { "$ref": "./1.8.0/animations.json" }
}, },
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/animations.json" } "then": { "$ref": "./1.10.0/animations.json" }
} }
] ]
} }

View File

@@ -15,19 +15,19 @@
"allOf": [ "allOf": [
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
"then": { "$ref": "1.10.0/blocks.json" } "then": { "$ref": "./1.10.0/blocks.json" }
}, },
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/blocks.json" } "then": { "$ref": "./1.10.0/blocks.json" }
}, },
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } },
"then": { "$ref": "1.12.0/blocks.json" } "then": { "$ref": "./1.12.0/blocks.json" }
}, },
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } },
"then": { "$ref": "1.16.0/blocks.json" } "then": { "$ref": "./1.16.0/blocks.json" }
} }
] ]
} }

View File

@@ -13,6 +13,6 @@
"const": "1.10.0", "const": "1.10.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" } "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" }
} }
} }

View File

@@ -82,20 +82,20 @@
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
} }
}, },
"components": { "components": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
}, },
"events": { "events": {
"$ref": "events.json", "$ref": "./events.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups", "description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema" "title": "The events schema"

View File

@@ -12,7 +12,7 @@
"const": "1.11.0", "const": "1.11.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" } "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -82,20 +82,20 @@
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
} }
}, },
"components": { "components": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
}, },
"events": { "events": {
"$ref": "events.json", "$ref": "./events.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups", "description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema" "title": "The events schema"

View File

@@ -12,7 +12,7 @@
"const": "1.12.0", "const": "1.12.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" } "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -82,20 +82,20 @@
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
} }
}, },
"components": { "components": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
}, },
"events": { "events": {
"$ref": "events.json", "$ref": "./events.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups", "description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema" "title": "The events schema"

View File

@@ -12,7 +12,7 @@
"const": "1.13.0", "const": "1.13.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" } "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "TODO description: minecraft:entity", "title": "Entity" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -71,7 +71,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "has_container_open" } } }, "if": { "properties": { "test": { "const": "has_container_open" } } },
"then": { "$ref": "filters/has_container_open.json" } "then": { "$ref": "./filters/has_container_open.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "has_damage" } } }, "if": { "properties": { "test": { "const": "has_damage" } } },
@@ -87,7 +87,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "has_ranged_weapon" } } }, "if": { "properties": { "test": { "const": "has_ranged_weapon" } } },
"then": { "$ref": "filters/has_ranged_weapon.json" } "then": { "$ref": "./filters/has_ranged_weapon.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "has_tag" } } }, "if": { "properties": { "test": { "const": "has_tag" } } },
@@ -95,7 +95,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "has_target" } } }, "if": { "properties": { "test": { "const": "has_target" } } },
"then": { "$ref": "filters/has_target.json" } "then": { "$ref": "./filters/has_target.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "has_trade_supply" } } }, "if": { "properties": { "test": { "const": "has_trade_supply" } } },
@@ -119,7 +119,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "in_nether" } } }, "if": { "properties": { "test": { "const": "in_nether" } } },
"then": { "$ref": "filters/in_nether.json" } "then": { "$ref": "./filters/in_nether.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "in_water" } } }, "if": { "properties": { "test": { "const": "in_water" } } },
@@ -131,7 +131,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "inactivity_timer" } } }, "if": { "properties": { "test": { "const": "inactivity_timer" } } },
"then": { "$ref": "filters/inactivity_timer.json" } "then": { "$ref": "./filters/inactivity_timer.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "is_altitude" } } }, "if": { "properties": { "test": { "const": "is_altitude" } } },
@@ -147,7 +147,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "is_block" } } }, "if": { "properties": { "test": { "const": "is_block" } } },
"then": { "$ref": "filters/is_block.json" } "then": { "$ref": "./filters/is_block.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "is_brightness" } } }, "if": { "properties": { "test": { "const": "is_brightness" } } },
@@ -195,7 +195,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "is_leashed_to" } } }, "if": { "properties": { "test": { "const": "is_leashed_to" } } },
"then": { "$ref": "filters/is_leashed_to.json" } "then": { "$ref": "./filters/is_leashed_to.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "is_mark_variant" } } }, "if": { "properties": { "test": { "const": "is_mark_variant" } } },
@@ -211,7 +211,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "is_persistent" } } }, "if": { "properties": { "test": { "const": "is_persistent" } } },
"then": { "$ref": "filters/is_persistent.json" } "then": { "$ref": "./filters/is_persistent.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "is_riding" } } }, "if": { "properties": { "test": { "const": "is_riding" } } },
@@ -223,7 +223,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "is_sleeping" } } }, "if": { "properties": { "test": { "const": "is_sleeping" } } },
"then": { "$ref": "filters/is_sleeping.json" } "then": { "$ref": "./filters/is_sleeping.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "is_sneaking" } } }, "if": { "properties": { "test": { "const": "is_sneaking" } } },
@@ -273,7 +273,7 @@
}, },
{ {
"if": { "properties": { "test": { "const": "light_level" } } }, "if": { "properties": { "test": { "const": "light_level" } } },
"then": { "$ref": "filters/light_level.json" } "then": { "$ref": "./filters/light_level.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "moon_intensity" } } }, "if": { "properties": { "test": { "const": "moon_intensity" } } },
@@ -293,29 +293,29 @@
}, },
{ {
"if": { "properties": { "test": { "const": "random_chance" } } }, "if": { "properties": { "test": { "const": "random_chance" } } },
"then": { "$ref": "filters/random_chance.json" } "then": { "$ref": "./filters/random_chance.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "rider_count" } } }, "if": { "properties": { "test": { "const": "rider_count" } } },
"then": { "$ref": "filters/rider_count.json" } "then": { "$ref": "./filters/rider_count.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "surface_mob" } } }, "if": { "properties": { "test": { "const": "surface_mob" } } },
"then": { "$ref": "filters/surface_mob.json" } "then": { "$ref": "./filters/surface_mob.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "trusts" } } }, "if": { "properties": { "test": { "const": "trusts" } } },
"then": { "$ref": "filters/trusts.json" } "then": { "$ref": "./filters/trusts.json" }
}, },
{ {
"if": { "properties": { "test": { "const": "weather" } } }, "if": { "properties": { "test": { "const": "weather" } } },
"then": { "$ref": "filters/weather.json" } "then": { "$ref": "./filters/weather.json" }
}, },
{ {
"if": { "if": {
"properties": { "test": { "const": "weather_at_position" } } "properties": { "test": { "const": "weather_at_position" } }
}, },
"then": { "$ref": "filters/weather_at_position.json" } "then": { "$ref": "./filters/weather_at_position.json" }
} }
] ]
} }

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -82,20 +82,20 @@
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
} }
}, },
"components": { "components": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
}, },
"events": { "events": {
"$ref": "events.json", "$ref": "./events.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups", "description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema" "title": "The events schema"

View File

@@ -12,7 +12,7 @@
"const": "1.14.0", "const": "1.14.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "minecraft.entity.json" } "minecraft:entity": { "$ref": "./minecraft.entity.json" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -82,20 +82,20 @@
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
} }
}, },
"components": { "components": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
}, },
"events": { "events": {
"$ref": "events.json", "$ref": "./events.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The events that the entity can run, these add or remove components_groups", "description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema" "title": "The events schema"

View File

@@ -7,8 +7,8 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"speed_modifier": { "speed_modifier": {
"default": 0.0, "default": 0.0,
"description": "TODO description: speed modifier", "description": "TODO description: speed modifier",

View File

@@ -7,7 +7,7 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"attack_time": { "attack_time": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,

View File

@@ -7,7 +7,7 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"must_be_on_ground": { "must_be_on_ground": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,

View File

@@ -7,7 +7,7 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"angle_of_view_vertical": { "angle_of_view_vertical": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,

View File

@@ -38,7 +38,7 @@
} }
}, },
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "entity_types": {
"description": "Filters which types of targets are valid for this entity.", "description": "Filters which types of targets are valid for this entity.",
"title": "Entity types", "title": "Entity types",

View File

@@ -7,7 +7,7 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "entity_types": {
"description": "List of entity types that this mob considers valid targets", "description": "List of entity types that this mob considers valid targets",
"title": "Entity types", "title": "Entity types",

View File

@@ -34,7 +34,7 @@
} }
}, },
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"cast_duration": { "cast_duration": {
"type": "number", "type": "number",
"description": "Time in seconds for the entire event sending process", "description": "Time in seconds for the entire event sending process",

View File

@@ -12,7 +12,7 @@
"const": "1.16.0", "const": "1.16.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "minecraft.entity.json" } "minecraft:entity": { "$ref": "./minecraft.entity.json" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -85,7 +85,7 @@
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
@@ -93,13 +93,13 @@
}, },
"components": { "components": {
"uniqueItems": true, "uniqueItems": true,
"$ref": "components.json", "$ref": "./components.json",
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
}, },
"events": { "events": {
"uniqueItems": true, "uniqueItems": true,
"$ref": "events.json", "$ref": "./events.json",
"description": "The events that the entity can run, these add or remove components_groups", "description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema" "title": "The events schema"
} }

View File

@@ -12,7 +12,7 @@
"const": "1.16.100", "const": "1.16.100",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "minecraft.entity.json" } "minecraft:entity": { "$ref": "./minecraft.entity.json" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "An integer value.", "description": "An integer value.",
"type": "integer", "type": "integer",

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -10,8 +10,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "True or false.", "description": "True or false.",
"oneOf": [ "oneOf": [

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -11,8 +11,8 @@
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property"
}, },
"operator": { "$ref": "types/base_operator.json" }, "operator": { "$ref": "./types/base_operator.json" },
"subject": { "$ref": "types/base_subject.json" }, "subject": { "$ref": "./types/base_subject.json" },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for",
"type": "string", "type": "string",

View File

@@ -85,7 +85,7 @@
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
@@ -93,13 +93,13 @@
}, },
"components": { "components": {
"uniqueItems": true, "uniqueItems": true,
"$ref": "components.json", "$ref": "./components.json",
"description": "The components that are added as the foundation of the entity", "description": "The components that are added as the foundation of the entity",
"title": "The component schema" "title": "The component schema"
}, },
"events": { "events": {
"uniqueItems": true, "uniqueItems": true,
"$ref": "events.json", "$ref": "./events.json",
"description": "The events that the entity can run, these add or remove components_groups", "description": "The events that the entity can run, these add or remove components_groups",
"title": "The events schema" "title": "The events schema"
} }

View File

@@ -7,7 +7,7 @@
"title": "Behavior.avoid_mob_type 1.8.0", "title": "Behavior.avoid_mob_type 1.8.0",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"max_dist": { "max_dist": {
"type": "number", "type": "number",
"default": 0, "default": 0,

View File

@@ -7,7 +7,7 @@
"description": "Allows this mob to look at and follow the player that holds food they like.", "description": "Allows this mob to look at and follow the player that holds food they like.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"items": { "items": {
"type": "array", "type": "array",
"description": "List of items that this mob likes", "description": "List of items that this mob likes",

View File

@@ -9,7 +9,7 @@
"priority": { "priority": {
"ref": "types/base_priority.json" "ref": "types/base_priority.json"
}, },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" } "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -10,6 +10,6 @@
"priority": { "priority": {
"ref": "types/base_priority.json" "ref": "types/base_priority.json"
}, },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" } "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" }
} }
} }

View File

@@ -7,7 +7,7 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"items": { "items": {
"type": "array", "type": "array",
"title": "Items", "title": "Items",

View File

@@ -7,7 +7,7 @@
"description": "Allows the mob to move in a circle around a point or a target.", "description": "Allows the mob to move in a circle around a point or a target.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "speed_multiplier": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,

View File

@@ -6,7 +6,7 @@
"title": "Behavior.controlled_by_player 1.8.0", "title": "Behavior.controlled_by_player 1.8.0",
"description": "Allows the mob to be controlled by the player.", "description": "Allows the mob to be controlled by the player.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"mount_speed_multiplier": { "mount_speed_multiplier": {
"type": "number", "type": "number",
"default": 1, "default": 1,

View File

@@ -6,7 +6,7 @@
"title": "Behavior.defend_village_target 1.8.0", "title": "Behavior.defend_village_target 1.8.0",
"description": "Allows the mob to stay in the village and fight mobs hostile to the villagers.", "description": "Allows the mob to stay in the village and fight mobs hostile to the villagers.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types this mob considers a threat to the village", "description": "List of entity types this mob considers a threat to the village",

View File

@@ -6,8 +6,8 @@
"title": "Behavior.delayed_attack 1.8.0", "title": "Behavior.delayed_attack 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.", "description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"attack_duration": { "attack_duration": {
"type": "number", "type": "number",
"default": 1, "default": 1,

View File

@@ -6,6 +6,6 @@
"title": "Behavior.door_interact 1.8.0", "title": "Behavior.door_interact 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.", "description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragonchargeplayer 1.8.0", "title": "Behavior.dragonchargeplayer 1.8.0",
"description": "Allows the dragon to attack a player by flying fast at them. The player is chosen by the dragonscanning goal. Can only be used by the Ender Dragon.", "description": "Allows the dragon to attack a player by flying fast at them. The player is chosen by the dragonscanning goal. Can only be used by the Ender Dragon.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragondeath 1.8.0", "title": "Behavior.dragondeath 1.8.0",
"description": "Allows the dragon to go out with glory. This controls the Ender Dragon's death animation and can't be used by other mobs.", "description": "Allows the dragon to go out with glory. This controls the Ender Dragon's death animation and can't be used by other mobs.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragonflaming 1.8.0", "title": "Behavior.dragonflaming 1.8.0",
"description": "Allows the dragon to use its flame breath attack. Can only be used by the Ender Dragon.", "description": "Allows the dragon to use its flame breath attack. Can only be used by the Ender Dragon.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragonholdingpattern 1.8.0", "title": "Behavior.dragonholdingpattern 1.8.0",
"description": "Allows the Dragon to fly around in a circle around the center podium. Can only be used by the Ender Dragon.", "description": "Allows the Dragon to fly around in a circle around the center podium. Can only be used by the Ender Dragon.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragonlanding 1.8.0", "title": "Behavior.dragonlanding 1.8.0",
"description": "Allows the Dragon to stop flying and transition into perching mode. Can only be used by the Ender Dragon.", "description": "Allows the Dragon to stop flying and transition into perching mode. Can only be used by the Ender Dragon.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragonscanning 1.8.0", "title": "Behavior.dragonscanning 1.8.0",
"description": "Allows the dragon to look around for a player to attack while in perch mode. Can only be used by the Ender Dragon.", "description": "Allows the dragon to look around for a player to attack while in perch mode. Can only be used by the Ender Dragon.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragonstrafeplayer 1.8.0", "title": "Behavior.dragonstrafeplayer 1.8.0",
"description": "Allows the dragon to fly around looking for a player and shoot fireballs at them. Can only be used by the Ender Dragon.", "description": "Allows the dragon to fly around looking for a player and shoot fireballs at them. Can only be used by the Ender Dragon.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -6,6 +6,6 @@
"title": "Behavior.dragontakeoff 1.8.0", "title": "Behavior.dragontakeoff 1.8.0",
"description": "Allows the dragon to leave perch mode and go back to flying around. Can only be used by the Ender Dragon.", "description": "Allows the dragon to leave perch mode and go back to flying around. Can only be used by the Ender Dragon.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -7,8 +7,8 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"speed_modifier": { "speed_modifier": {
"default": 0.0, "default": 0.0,
"description": "TODO description: speed modifier", "description": "TODO description: speed modifier",

View File

@@ -6,8 +6,8 @@
"title": "Behavior.drop_item_for 1.8.0", "title": "Behavior.drop_item_for 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.", "description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"entity_types": { "$ref": "../types/entity_types.json" }, "entity_types": { "$ref": "../types/entity_types.json" },
"drop_item_chance": { "drop_item_chance": {
"type": "number", "type": "number",

View File

@@ -7,7 +7,7 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"on_eat": { "$ref": "../types/trigger.json", "description": "UNDOCUMENTATED", "title": "On Eat" }, "on_eat": { "$ref": "../types/trigger.json", "description": "UNDOCUMENTATED", "title": "On Eat" },
"success_chance": { "success_chance": {
"title": "Succes chance", "title": "Succes chance",

View File

@@ -7,6 +7,6 @@
"description": "Allows the enderman to drop a block they are carrying. Can only be used by Endermen.", "description": "Allows the enderman to drop a block they are carrying. Can only be used by Endermen.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -7,6 +7,6 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -7,8 +7,8 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,

View File

@@ -7,6 +7,6 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" } "priority": { "$ref": "./types/base_priority.json" }
} }
} }

View File

@@ -7,7 +7,7 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"xz_dist": { "xz_dist": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,

View File

@@ -7,8 +7,8 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/base_priority.json" }, "priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can follow in a caravan", "description": "List of entity types that this mob can follow in a caravan",

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