Updating filters

This commit is contained in:
DaanV2
2021-06-19 13:56:02 +02:00
parent e2a6551314
commit 08091aa7ce
70 changed files with 80 additions and 73 deletions

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.10.0.minecraft.filters", "$id": "blockception.minecraft.behavior.entities.1.10.0.minecraft.filters",
"title": "Filters 1.10.0", "title": "1.10.0",
"definitions": { "definitions": {
"filters_spec": { "filters_spec": {
"oneOf": [ "oneOf": [

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.filters", "$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.filters",
"title": "Filters 1.13.0", "title": "1.13.0",
"definitions": { "definitions": {
"filters_spec": { "filters_spec": {
"oneOf": [ "oneOf": [

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.14.0.minecraft.filters", "$id": "blockception.minecraft.behavior.entities.1.14.0.minecraft.filters",
"title": "Filters 1.14.0", "title": "1.14.0",
"definitions": { "definitions": {
"filters_spec": { "filters_spec": {
"oneOf": [ "oneOf": [

View File

@@ -1,14 +1,14 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.clock_time", "$id": "blockception.minecraft.behavior.entities.filters.clock_time",
"type": "object", "type": "object",
"title": "Filters Clock Time", "title": "Clock Time",
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]", "description": "Compares the current time with a float value in the range (0.0, 1.0).\n0.0= Noon\n0.25= Sunset\n0.5= Midnight\n0.75= Sunrise",
"required": ["value"], "required": ["value"],
"properties": { "properties": {
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]" "description": "Compares the current time with a float value in the range (0.0, 1.0).\n0.0= Noon\n0.25= Sunset\n0.5= Midnight\n0.75= Sunrise"
}, },
"operator": { "operator": {
"$ref": "./types/operator.json", "$ref": "./types/operator.json",
@@ -22,6 +22,13 @@
"default": "self", "default": "self",
"title": "Subject" "title": "Subject"
}, },
"value": { "type": "number", "minimum": 0, "maximum": 240000, "description": "(Required) An integer value.", "title": "Value" } "value": {
"type": "number",
"minimum": 0,
"maximum": 240000,
"description": "(Required) A floating point value.",
"title": "Value",
"examples": [0, 0.025, 0.5, 0.75, 1]
}
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.distance_to_nearest_player", "$id": "blockception.minecraft.behavior.entities.filters.distance_to_nearest_player",
"type": "object", "type": "object",
"title": "Filters Distance To Nearest Player", "title": "Distance To Nearest Player",
"description": "Compares the distance to the nearest Player with a float value.", "description": "Compares the distance to the nearest Player with a float value.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_ability", "$id": "blockception.minecraft.behavior.entities.filters.has_ability",
"type": "object", "type": "object",
"title": "Filters Has Ability", "title": "Has Ability",
"description": "Returns true when the subject entity has the named ability.", "description": "Returns true when the subject entity has the named ability.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_biome_tag", "$id": "blockception.minecraft.behavior.entities.filters.has_biome_tag",
"type": "object", "type": "object",
"title": "Filters Has Biome Tag", "title": "Has Biome Tag",
"description": "Tests whether the biome the subject is in has the specified tag.", "description": "Tests whether the biome the subject is in has the specified tag.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_component", "$id": "blockception.minecraft.behavior.entities.filters.has_component",
"type": "object", "type": "object",
"title": "Filters Has Component", "title": "Has Component",
"description": "Returns true when the subject entity contains the named component.", "description": "Returns true when the subject entity contains the named component.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_container_open", "$id": "blockception.minecraft.behavior.entities.filters.has_container_open",
"type": "object", "type": "object",
"title": "Filters Has Container Open", "title": "Has Container Open",
"description": "Returns true when the subject Player entity has opened a container.", "description": "Returns true when the subject Player entity has opened a container.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_damage", "$id": "blockception.minecraft.behavior.entities.filters.has_damage",
"type": "object", "type": "object",
"title": "Filters Has Damage", "title": "Has Damage",
"description": "Returns true when the subject entity receives the named damage type.", "description": "Returns true when the subject entity receives the named damage type.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_equipment", "$id": "blockception.minecraft.behavior.entities.filters.has_equipment",
"type": "object", "type": "object",
"title": "Filters Has Equipment", "title": "Has Equipment",
"description": "Tests for the presence of a named item in the designated slot of the subject entity.", "description": "Tests for the presence of a named item in the designated slot of the subject entity.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_mob_effect", "$id": "blockception.minecraft.behavior.entities.filters.has_mob_effect",
"type": "object", "type": "object",
"title": "Filters Has Mob Effect", "title": "Has Mob Effect",
"description": "Tests whether the Subject has the specified mob effect.", "description": "Tests whether the Subject has the specified mob effect.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_ranged_weapon", "$id": "blockception.minecraft.behavior.entities.filters.has_ranged_weapon",
"type": "object", "type": "object",
"title": "Filters Has Ranged Weapon", "title": "Has Ranged Weapon",
"description": "Returns true when the subject entity is holding a ranged weapon like a bow or crossbow.", "description": "Returns true when the subject entity is holding a ranged weapon like a bow or crossbow.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_tag", "$id": "blockception.minecraft.behavior.entities.filters.has_tag",
"type": "object", "type": "object",
"title": "Filters Has Tag", "title": "Has Tag",
"description": "Returns true if the subject entity has the tag provided.", "description": "Returns true if the subject entity has the tag provided.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_target", "$id": "blockception.minecraft.behavior.entities.filters.has_target",
"type": "object", "type": "object",
"title": "Filters Has Target", "title": "Has Target",
"description": "Returns true if the subject entity has a valid target.", "description": "Returns true if the subject entity has a valid target.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.has_trade_supply", "$id": "blockception.minecraft.behavior.entities.filters.has_trade_supply",
"type": "object", "type": "object",
"title": "Filters Has Trade Supply", "title": "Has Trade Supply",
"description": "Tests whether the target has any trade supply left. Will return false if the target cannot be traded with.", "description": "Tests whether the target has any trade supply left. Will return false if the target cannot be traded with.",
"properties": { "properties": {
"test": { "test": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.hourly_clock_time", "$id": "blockception.minecraft.behavior.entities.filters.hourly_clock_time",
"type": "object", "type": "object",
"title": "Filters Hourly Clock Time", "title": "Hourly Clock Time",
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]", "description": "Compares the current 24 hour time with an int value in the range[0, 24000]",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.in_caravan", "$id": "blockception.minecraft.behavior.entities.filters.in_caravan",
"type": "object", "type": "object",
"title": "Filters In Caravan", "title": "In Caravan",
"description": "Returns true if the subject entity is in a caravan.", "description": "Returns true if the subject entity is in a caravan.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is in a caravan." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is in a caravan." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.in_clouds", "$id": "blockception.minecraft.behavior.entities.filters.in_clouds",
"type": "object", "type": "object",
"title": "Filters In Clouds", "title": "In Clouds",
"description": "Returns true when the subject entity is in the clouds.", "description": "Returns true when the subject entity is in the clouds.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in the clouds." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in the clouds." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.in_lava", "$id": "blockception.minecraft.behavior.entities.filters.in_lava",
"type": "object", "type": "object",
"title": "Filters In Lava", "title": "In Lava",
"description": "Returns true when the subject entity is in lava.", "description": "Returns true when the subject entity is in lava.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in lava." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in lava." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.in_nether", "$id": "blockception.minecraft.behavior.entities.filters.in_nether",
"type": "object", "type": "object",
"title": "Filters In Nether", "title": "In Nether",
"description": "Returns true when the subject entity is in Nether.", "description": "Returns true when the subject entity is in Nether.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.in_water", "$id": "blockception.minecraft.behavior.entities.filters.in_water",
"type": "object", "type": "object",
"title": "Filters In Water", "title": "In Water",
"description": "Returns true when the subject entity is in water.", "description": "Returns true when the subject entity is in water.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in water." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in water." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.in_water_or_rain", "$id": "blockception.minecraft.behavior.entities.filters.in_water_or_rain",
"type": "object", "type": "object",
"title": "Filters In Water Or Rain", "title": "In Water Or Rain",
"description": "Returns true when the subject entity is in water or rain.", "description": "Returns true when the subject entity is in water or rain.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in water or rain." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in water or rain." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.inactivity_timer", "$id": "blockception.minecraft.behavior.entities.filters.inactivity_timer",
"type": "object", "type": "object",
"title": "Filters Inactivity Timer", "title": "Inactivity Timer",
"description": "Tests if the specified duration in seconds of inactivity for despawning has been reached.", "description": "Tests if the specified duration in seconds of inactivity for despawning has been reached.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_altitude", "$id": "blockception.minecraft.behavior.entities.filters.is_altitude",
"type": "object", "type": "object",
"title": "Filters Is Altitude", "title": "Is Altitude",
"description": "Tests the current altitude against a provided value. 0= bedrock elevation.", "description": "Tests the current altitude against a provided value. 0= bedrock elevation.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_avoiding_mobs", "$id": "blockception.minecraft.behavior.entities.filters.is_avoiding_mobs",
"type": "object", "type": "object",
"title": "Filters Is Avoiding Mobs", "title": "Is Avoiding Mobs",
"description": "Returns true if the subject entity is fleeing from other mobs.", "description": "Returns true if the subject entity is fleeing from other mobs.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is fleeing from other mobs." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is fleeing from other mobs." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_biome", "$id": "blockception.minecraft.behavior.entities.filters.is_biome",
"type": "object", "type": "object",
"title": "Filters Is Biome", "title": "Is Biome",
"description": "Tests whether the Subject is currently in the named biome.", "description": "Tests whether the Subject is currently in the named biome.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_block", "$id": "blockception.minecraft.behavior.entities.filters.is_block",
"type": "object", "type": "object",
"title": "Filters Is Block", "title": "Is Block",
"description": "Returns true when the block has the given name.", "description": "Returns true when the block has the given name.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_brightness", "$id": "blockception.minecraft.behavior.entities.filters.is_brightness",
"type": "object", "type": "object",
"title": "Filters Is Brightness", "title": "Is Brightness",
"description": "Tests the current brightness against a provided value in the range (0.0f, 1.0f).", "description": "Tests the current brightness against a provided value in the range (0.0f, 1.0f).",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_climbing", "$id": "blockception.minecraft.behavior.entities.filters.is_climbing",
"type": "object", "type": "object",
"title": "Filters Is Climbing", "title": "Is Climbing",
"description": "Returns true if the subject entity is climbing.", "description": "Returns true if the subject entity is climbing.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is climbing." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is climbing." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_color", "$id": "blockception.minecraft.behavior.entities.filters.is_color",
"type": "object", "type": "object",
"title": "Filters Is Color", "title": "Is Color",
"description": "Returns true if the subject entity is the named color.", "description": "Returns true if the subject entity is the named color.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_daytime", "$id": "blockception.minecraft.behavior.entities.filters.is_daytime",
"type": "object", "type": "object",
"title": "Filters Is Daytime", "title": "Is Daytime",
"description": "Returns true during the daylight hours.", "description": "Returns true during the daylight hours.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Returns true during the daylight hours." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true during the daylight hours." },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_difficulty", "$id": "blockception.minecraft.behavior.entities.filters.is_difficulty",
"type": "object", "type": "object",
"title": "Filters Is Difficulty", "title": "Is Difficulty",
"description": "Tests the current difficulty level of the game.", "description": "Tests the current difficulty level of the game.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_family", "$id": "blockception.minecraft.behavior.entities.filters.is_family",
"type": "object", "type": "object",
"title": "Filters Is Family", "title": "Is Family",
"description": "Returns true when the subject entity is a member of the named family.", "description": "Returns true when the subject entity is a member of the named family.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_game_rule", "$id": "blockception.minecraft.behavior.entities.filters.is_game_rule",
"type": "object", "type": "object",
"title": "Filters Is Game Rule", "title": "Is Game Rule",
"description": "UNDOCUMENTATED:", "description": "UNDOCUMENTATED:",
"required": ["domain"], "required": ["domain"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_humid", "$id": "blockception.minecraft.behavior.entities.filters.is_humid",
"type": "object", "type": "object",
"title": "Filters Is Humid", "title": "Is Humid",
"description": "Tests whether the Subject is in an area with humidity", "description": "Tests whether the Subject is in an area with humidity",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "Tests whether the Subject is in an area with humidity" }, "test": { "type": "string", "title": "Test Property", "description": "Tests whether the Subject is in an area with humidity" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_immobile", "$id": "blockception.minecraft.behavior.entities.filters.is_immobile",
"type": "object", "type": "object",
"title": "Filters Is Immobile", "title": "Is Immobile",
"description": "Returns true if the subject entity is immobile. An entity is immobile if it lacks AI goals, has just changed dimensions or if it is a mob and has no health.", "description": "Returns true if the subject entity is immobile. An entity is immobile if it lacks AI goals, has just changed dimensions or if it is a mob and has no health.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_in_village", "$id": "blockception.minecraft.behavior.entities.filters.is_in_village",
"type": "object", "type": "object",
"title": "Filters Is In Village", "title": "Is In Village",
"description": "Tests whether the Subject is inside the bounds of a village.", "description": "Tests whether the Subject is inside the bounds of a village.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_leashed", "$id": "blockception.minecraft.behavior.entities.filters.is_leashed",
"type": "object", "type": "object",
"title": "Filters Is Leashed", "title": "Is Leashed",
"description": "Returns true if the subject entity is leashed.", "description": "Returns true if the subject entity is leashed.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_leashed_to", "$id": "blockception.minecraft.behavior.entities.filters.is_leashed_to",
"type": "object", "type": "object",
"title": "Filters Is Leashed To", "title": "Is Leashed To",
"description": "Returns true if the subject entity leashed to the calling entity.", "description": "Returns true if the subject entity leashed to the calling entity.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_mark_variant", "$id": "blockception.minecraft.behavior.entities.filters.is_mark_variant",
"type": "object", "type": "object",
"title": "Filters Is Mark Variant", "title": "Is Mark Variant",
"description": "Returns true if the subject entity is the mark variant number provided.", "description": "Returns true if the subject entity is the mark variant number provided.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_moving", "$id": "blockception.minecraft.behavior.entities.filters.is_moving",
"type": "object", "type": "object",
"title": "Filters Is Moving", "title": "Is Moving",
"description": "Returns true if the subject entity is moving.", "description": "Returns true if the subject entity is moving.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_owner", "$id": "blockception.minecraft.behavior.entities.filters.is_owner",
"type": "object", "type": "object",
"title": "Filters Is Owner", "title": "Is Owner",
"description": "Returns true if the subject entity is the owner of the calling entity.", "description": "Returns true if the subject entity is the owner of the calling entity.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_persistent", "$id": "blockception.minecraft.behavior.entities.filters.is_persistent",
"type": "object", "type": "object",
"title": "Filters Is Persistent", "title": "Is Persistent",
"description": "Tests if the subject's persistence matches the bool value passed in.", "description": "Tests if the subject's persistence matches the bool value passed in.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_riding", "$id": "blockception.minecraft.behavior.entities.filters.is_riding",
"type": "object", "type": "object",
"title": "Filters Is Riding", "title": "Is Riding",
"description": "Returns true if the subject entity is riding on another entity.", "description": "Returns true if the subject entity is riding on another entity.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_skin_id", "$id": "blockception.minecraft.behavior.entities.filters.is_skin_id",
"type": "object", "type": "object",
"title": "Filters Is Skin Id", "title": "Is Skin Id",
"description": "Returns true if the subject entity is the skin id number provided.", "description": "Returns true if the subject entity is the skin id number provided.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_sleeping", "$id": "blockception.minecraft.behavior.entities.filters.is_sleeping",
"type": "object", "type": "object",
"title": "Filters Is Sleeping", "title": "Is Sleeping",
"description": "Tests whether the Subject is sleeping.", "description": "Tests whether the Subject is sleeping.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_sneaking", "$id": "blockception.minecraft.behavior.entities.filters.is_sneaking",
"type": "object", "type": "object",
"title": "Filters Is Sneaking", "title": "Is Sneaking",
"description": "Returns true if the subject entity is sneaking.", "description": "Returns true if the subject entity is sneaking.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_snow_covered", "$id": "blockception.minecraft.behavior.entities.filters.is_snow_covered",
"type": "object", "type": "object",
"title": "Filters Is Snow Covered", "title": "Is Snow Covered",
"description": "Tests whether the Subject is in an area with snow cover", "description": "Tests whether the Subject is in an area with snow cover",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_target", "$id": "blockception.minecraft.behavior.entities.filters.is_target",
"type": "object", "type": "object",
"title": "Filters Is Target", "title": "Is Target",
"description": "Returns true if the subject entity is the target of the calling entity.", "description": "Returns true if the subject entity is the target of the calling entity.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_target", "$id": "blockception.minecraft.behavior.entities.filters.is_target",
"type": "object", "type": "object",
"title": "Filters Is Target", "title": "Is Target",
"description": "Tests whether the current temperature is a given type.", "description": "Tests whether the current temperature is a given type.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_temperature_value", "$id": "blockception.minecraft.behavior.entities.filters.is_temperature_value",
"type": "object", "type": "object",
"title": "Filters Is Temperature Value", "title": "Is Temperature Value",
"description": "Tests the current temperature against a provided value in the range (0.0, 1.0) where 0.0f is the coldest temp and 1.0f is the hottest.", "description": "Tests the current temperature against a provided value in the range (0.0, 1.0) where 0.0f is the coldest temp and 1.0f is the hottest.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_underground", "$id": "blockception.minecraft.behavior.entities.filters.is_underground",
"type": "object", "type": "object",
"title": "Filters Is Underground", "title": "Is Underground",
"description": "Returns true when the subject entity is underground. An entity is considered underground if there are non-solid blocks above it.", "description": "Returns true when the subject entity is underground. An entity is considered underground if there are non-solid blocks above it.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_underwater", "$id": "blockception.minecraft.behavior.entities.filters.is_underwater",
"type": "object", "type": "object",
"title": "Filters Is Underwater", "title": "Is Underwater",
"description": "Returns true when the subject entity is under water. An entity is considered underwater if it is completely submerged in water blocks.", "description": "Returns true when the subject entity is under water. An entity is considered underwater if it is completely submerged in water blocks.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_variant", "$id": "blockception.minecraft.behavior.entities.filters.is_variant",
"type": "object", "type": "object",
"title": "Filters Is Variant", "title": "Is Variant",
"description": "Returns true if the subject entity is the variant number provided.", "description": "Returns true if the subject entity is the variant number provided.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.is_visible", "$id": "blockception.minecraft.behavior.entities.filters.is_visible",
"type": "object", "type": "object",
"title": "Filters Is Visible", "title": "Is Visible",
"description": "Returns true if the subject entity is visible.", "description": "Returns true if the subject entity is visible.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.light_level", "$id": "blockception.minecraft.behavior.entities.filters.light_level",
"type": "object", "type": "object",
"title": "Filters Light Level", "title": "Light Level",
"description": "Tests is the mob is outside of the specified light level range (0, 16).", "description": "Tests is the mob is outside of the specified light level range (0, 16).",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.moon_intensity", "$id": "blockception.minecraft.behavior.entities.filters.moon_intensity",
"type": "object", "type": "object",
"title": "Filters Moon Intensity", "title": "Moon Intensity",
"description": "Compares the current moon intensity with a float value in the range (0.0, 1.0)", "description": "Compares the current moon intensity with a float value in the range (0.0, 1.0)",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.moon_phase", "$id": "blockception.minecraft.behavior.entities.filters.moon_phase",
"type": "object", "type": "object",
"title": "Filters Moon Phase", "title": "Moon Phase",
"description": "Compares the current moon phase with an integer value in the range (0, 7).", "description": "Compares the current moon phase with an integer value in the range (0, 7).",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.on_ground", "$id": "blockception.minecraft.behavior.entities.filters.on_ground",
"type": "object", "type": "object",
"title": "Filters On Ground", "title": "On Ground",
"description": "Returns true when the subject entity is on ground.", "description": "Returns true when the subject entity is on ground.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.on_ladder", "$id": "blockception.minecraft.behavior.entities.filters.on_ladder",
"type": "object", "type": "object",
"title": "Filters On Ladder", "title": "On Ladder",
"description": "Returns true when the subject entity is on a ladder.", "description": "Returns true when the subject entity is on a ladder.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test Property", "description": "The test property" }, "test": { "type": "string", "title": "Test Property", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.random_chance", "$id": "blockception.minecraft.behavior.entities.filters.random_chance",
"type": "object", "type": "object",
"title": "Filters Random Chance", "title": "Random Chance",
"description": "Returns true if the random chance rolls 0 out of a specified max range.", "description": "Returns true if the random chance rolls 0 out of a specified max range.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.rider_count", "$id": "blockception.minecraft.behavior.entities.filters.rider_count",
"type": "object", "type": "object",
"title": "Filters Rider Count", "title": "Rider Count",
"description": "Returns the number of riders on this entity.", "description": "Returns the number of riders on this entity.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.surface_mob", "$id": "blockception.minecraft.behavior.entities.filters.surface_mob",
"type": "object", "type": "object",
"title": "Filters Surface Mob", "title": "Surface Mob",
"description": "Tests if the subject is a surface mob.", "description": "Tests if the subject is a surface mob.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.trusts", "$id": "blockception.minecraft.behavior.entities.filters.trusts",
"type": "object", "type": "object",
"title": "Filters Trusts", "title": "Trusts",
"description": "Returns true if the subject is trusted by entity.", "description": "Returns true if the subject is trusted by entity.",
"properties": { "properties": {
"test": { "type": "string", "title": "Test", "description": "The test property" }, "test": { "type": "string", "title": "Test", "description": "The test property" },

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.operator", "$id": "blockception.minecraft.behavior.entities.filters.operator",
"title": "Filters Operator", "title": "Operator",
"type": "string", "type": "string",
"description": "The comparison to apply with `value`.", "description": "The comparison to apply with `value`.",
"default": "equals", "default": "equals",

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.subject", "$id": "blockception.minecraft.behavior.entities.filters.subject",
"title": "Filters Subject", "title": "Subject",
"type": "string", "type": "string",
"description": "The subject of this filter test.", "description": "The subject of this filter test.",
"default": "self", "default": "self",

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.test", "$id": "blockception.minecraft.behavior.entities.filters.test",
"title": "Filters Test", "title": "Test",
"type": "string", "type": "string",
"description": "The test operation", "description": "The test operation",
"enum": [ "enum": [

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.weather", "$id": "blockception.minecraft.behavior.entities.filters.weather",
"type": "object", "type": "object",
"title": "Filters Weather", "title": "Weather",
"description": "Tests the current weather in the dimension against a provided weather value.", "description": "Tests the current weather in the dimension against a provided weather value.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.entities.filters.weather_at_position", "$id": "blockception.minecraft.behavior.entities.filters.weather_at_position",
"type": "object", "type": "object",
"title": "Filters Weather At Position", "title": "Weather At Position",
"description": "Tests the current weather, at the actor's position, against a provided weather value.", "description": "Tests the current weather, at the actor's position, against a provided weather value.",
"required": ["value"], "required": ["value"],
"properties": { "properties": {