Updating filters
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.1.10.0.minecraft.filters",
|
||||
"title": "Filters 1.10.0",
|
||||
"title": "1.10.0",
|
||||
"definitions": {
|
||||
"filters_spec": {
|
||||
"oneOf": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.filters",
|
||||
"title": "Filters 1.13.0",
|
||||
"title": "1.13.0",
|
||||
"definitions": {
|
||||
"filters_spec": {
|
||||
"oneOf": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.1.14.0.minecraft.filters",
|
||||
"title": "Filters 1.14.0",
|
||||
"title": "1.14.0",
|
||||
"definitions": {
|
||||
"filters_spec": {
|
||||
"oneOf": [
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.clock_time",
|
||||
"type": "object",
|
||||
"title": "Filters Clock Time",
|
||||
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]",
|
||||
"title": "Clock Time",
|
||||
"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"],
|
||||
"properties": {
|
||||
"test": {
|
||||
"type": "string",
|
||||
"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": {
|
||||
"$ref": "./types/operator.json",
|
||||
@@ -22,6 +22,13 @@
|
||||
"default": "self",
|
||||
"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]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.distance_to_nearest_player",
|
||||
"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.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_ability",
|
||||
"type": "object",
|
||||
"title": "Filters Has Ability",
|
||||
"title": "Has Ability",
|
||||
"description": "Returns true when the subject entity has the named ability.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_biome_tag",
|
||||
"type": "object",
|
||||
"title": "Filters Has Biome Tag",
|
||||
"title": "Has Biome Tag",
|
||||
"description": "Tests whether the biome the subject is in has the specified tag.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_component",
|
||||
"type": "object",
|
||||
"title": "Filters Has Component",
|
||||
"title": "Has Component",
|
||||
"description": "Returns true when the subject entity contains the named component.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_container_open",
|
||||
"type": "object",
|
||||
"title": "Filters Has Container Open",
|
||||
"title": "Has Container Open",
|
||||
"description": "Returns true when the subject Player entity has opened a container.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_damage",
|
||||
"type": "object",
|
||||
"title": "Filters Has Damage",
|
||||
"title": "Has Damage",
|
||||
"description": "Returns true when the subject entity receives the named damage type.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_equipment",
|
||||
"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.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_mob_effect",
|
||||
"type": "object",
|
||||
"title": "Filters Has Mob Effect",
|
||||
"title": "Has Mob Effect",
|
||||
"description": "Tests whether the Subject has the specified mob effect.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_ranged_weapon",
|
||||
"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.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_tag",
|
||||
"type": "object",
|
||||
"title": "Filters Has Tag",
|
||||
"title": "Has Tag",
|
||||
"description": "Returns true if the subject entity has the tag provided.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_target",
|
||||
"type": "object",
|
||||
"title": "Filters Has Target",
|
||||
"title": "Has Target",
|
||||
"description": "Returns true if the subject entity has a valid target.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.has_trade_supply",
|
||||
"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.",
|
||||
"properties": {
|
||||
"test": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.hourly_clock_time",
|
||||
"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]",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.in_caravan",
|
||||
"type": "object",
|
||||
"title": "Filters In Caravan",
|
||||
"title": "In Caravan",
|
||||
"description": "Returns true if the subject entity is in a caravan.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is in a caravan." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.in_clouds",
|
||||
"type": "object",
|
||||
"title": "Filters In Clouds",
|
||||
"title": "In Clouds",
|
||||
"description": "Returns true when the subject entity is in the clouds.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in the clouds." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.in_lava",
|
||||
"type": "object",
|
||||
"title": "Filters In Lava",
|
||||
"title": "In Lava",
|
||||
"description": "Returns true when the subject entity is in lava.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in lava." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.in_nether",
|
||||
"type": "object",
|
||||
"title": "Filters In Nether",
|
||||
"title": "In Nether",
|
||||
"description": "Returns true when the subject entity is in Nether.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.in_water",
|
||||
"type": "object",
|
||||
"title": "Filters In Water",
|
||||
"title": "In Water",
|
||||
"description": "Returns true when the subject entity is in water.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in water." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.in_water_or_rain",
|
||||
"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.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity is in water or rain." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.inactivity_timer",
|
||||
"type": "object",
|
||||
"title": "Filters Inactivity Timer",
|
||||
"title": "Inactivity Timer",
|
||||
"description": "Tests if the specified duration in seconds of inactivity for despawning has been reached.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_altitude",
|
||||
"type": "object",
|
||||
"title": "Filters Is Altitude",
|
||||
"title": "Is Altitude",
|
||||
"description": "Tests the current altitude against a provided value. 0= bedrock elevation.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_avoiding_mobs",
|
||||
"type": "object",
|
||||
"title": "Filters Is Avoiding Mobs",
|
||||
"title": "Is Avoiding Mobs",
|
||||
"description": "Returns true if the subject entity is fleeing from other mobs.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is fleeing from other mobs." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_biome",
|
||||
"type": "object",
|
||||
"title": "Filters Is Biome",
|
||||
"title": "Is Biome",
|
||||
"description": "Tests whether the Subject is currently in the named biome.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_block",
|
||||
"type": "object",
|
||||
"title": "Filters Is Block",
|
||||
"title": "Is Block",
|
||||
"description": "Returns true when the block has the given name.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_brightness",
|
||||
"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).",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_climbing",
|
||||
"type": "object",
|
||||
"title": "Filters Is Climbing",
|
||||
"title": "Is Climbing",
|
||||
"description": "Returns true if the subject entity is climbing.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true if the subject entity is climbing." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_color",
|
||||
"type": "object",
|
||||
"title": "Filters Is Color",
|
||||
"title": "Is Color",
|
||||
"description": "Returns true if the subject entity is the named color.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_daytime",
|
||||
"type": "object",
|
||||
"title": "Filters Is Daytime",
|
||||
"title": "Is Daytime",
|
||||
"description": "Returns true during the daylight hours.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true during the daylight hours." },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_difficulty",
|
||||
"type": "object",
|
||||
"title": "Filters Is Difficulty",
|
||||
"title": "Is Difficulty",
|
||||
"description": "Tests the current difficulty level of the game.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_family",
|
||||
"type": "object",
|
||||
"title": "Filters Is Family",
|
||||
"title": "Is Family",
|
||||
"description": "Returns true when the subject entity is a member of the named family.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_game_rule",
|
||||
"type": "object",
|
||||
"title": "Filters Is Game Rule",
|
||||
"title": "Is Game Rule",
|
||||
"description": "UNDOCUMENTATED:",
|
||||
"required": ["domain"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_humid",
|
||||
"type": "object",
|
||||
"title": "Filters Is Humid",
|
||||
"title": "Is Humid",
|
||||
"description": "Tests whether the Subject is in an area with humidity",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Tests whether the Subject is in an area with humidity" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_immobile",
|
||||
"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.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_in_village",
|
||||
"type": "object",
|
||||
"title": "Filters Is In Village",
|
||||
"title": "Is In Village",
|
||||
"description": "Tests whether the Subject is inside the bounds of a village.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_leashed",
|
||||
"type": "object",
|
||||
"title": "Filters Is Leashed",
|
||||
"title": "Is Leashed",
|
||||
"description": "Returns true if the subject entity is leashed.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_leashed_to",
|
||||
"type": "object",
|
||||
"title": "Filters Is Leashed To",
|
||||
"title": "Is Leashed To",
|
||||
"description": "Returns true if the subject entity leashed to the calling entity.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_mark_variant",
|
||||
"type": "object",
|
||||
"title": "Filters Is Mark Variant",
|
||||
"title": "Is Mark Variant",
|
||||
"description": "Returns true if the subject entity is the mark variant number provided.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_moving",
|
||||
"type": "object",
|
||||
"title": "Filters Is Moving",
|
||||
"title": "Is Moving",
|
||||
"description": "Returns true if the subject entity is moving.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_owner",
|
||||
"type": "object",
|
||||
"title": "Filters Is Owner",
|
||||
"title": "Is Owner",
|
||||
"description": "Returns true if the subject entity is the owner of the calling entity.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_persistent",
|
||||
"type": "object",
|
||||
"title": "Filters Is Persistent",
|
||||
"title": "Is Persistent",
|
||||
"description": "Tests if the subject's persistence matches the bool value passed in.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_riding",
|
||||
"type": "object",
|
||||
"title": "Filters Is Riding",
|
||||
"title": "Is Riding",
|
||||
"description": "Returns true if the subject entity is riding on another entity.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_skin_id",
|
||||
"type": "object",
|
||||
"title": "Filters Is Skin Id",
|
||||
"title": "Is Skin Id",
|
||||
"description": "Returns true if the subject entity is the skin id number provided.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_sleeping",
|
||||
"type": "object",
|
||||
"title": "Filters Is Sleeping",
|
||||
"title": "Is Sleeping",
|
||||
"description": "Tests whether the Subject is sleeping.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_sneaking",
|
||||
"type": "object",
|
||||
"title": "Filters Is Sneaking",
|
||||
"title": "Is Sneaking",
|
||||
"description": "Returns true if the subject entity is sneaking.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_snow_covered",
|
||||
"type": "object",
|
||||
"title": "Filters Is Snow Covered",
|
||||
"title": "Is Snow Covered",
|
||||
"description": "Tests whether the Subject is in an area with snow cover",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_target",
|
||||
"type": "object",
|
||||
"title": "Filters Is Target",
|
||||
"title": "Is Target",
|
||||
"description": "Returns true if the subject entity is the target of the calling entity.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_target",
|
||||
"type": "object",
|
||||
"title": "Filters Is Target",
|
||||
"title": "Is Target",
|
||||
"description": "Tests whether the current temperature is a given type.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_temperature_value",
|
||||
"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.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_underground",
|
||||
"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.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_underwater",
|
||||
"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.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_variant",
|
||||
"type": "object",
|
||||
"title": "Filters Is Variant",
|
||||
"title": "Is Variant",
|
||||
"description": "Returns true if the subject entity is the variant number provided.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_visible",
|
||||
"type": "object",
|
||||
"title": "Filters Is Visible",
|
||||
"title": "Is Visible",
|
||||
"description": "Returns true if the subject entity is visible.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.light_level",
|
||||
"type": "object",
|
||||
"title": "Filters Light Level",
|
||||
"title": "Light Level",
|
||||
"description": "Tests is the mob is outside of the specified light level range (0, 16).",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.moon_intensity",
|
||||
"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)",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.moon_phase",
|
||||
"type": "object",
|
||||
"title": "Filters Moon Phase",
|
||||
"title": "Moon Phase",
|
||||
"description": "Compares the current moon phase with an integer value in the range (0, 7).",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.on_ground",
|
||||
"type": "object",
|
||||
"title": "Filters On Ground",
|
||||
"title": "On Ground",
|
||||
"description": "Returns true when the subject entity is on ground.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.on_ladder",
|
||||
"type": "object",
|
||||
"title": "Filters On Ladder",
|
||||
"title": "On Ladder",
|
||||
"description": "Returns true when the subject entity is on a ladder.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test Property", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.random_chance",
|
||||
"type": "object",
|
||||
"title": "Filters Random Chance",
|
||||
"title": "Random Chance",
|
||||
"description": "Returns true if the random chance rolls 0 out of a specified max range.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.rider_count",
|
||||
"type": "object",
|
||||
"title": "Filters Rider Count",
|
||||
"title": "Rider Count",
|
||||
"description": "Returns the number of riders on this entity.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.surface_mob",
|
||||
"type": "object",
|
||||
"title": "Filters Surface Mob",
|
||||
"title": "Surface Mob",
|
||||
"description": "Tests if the subject is a surface mob.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.trusts",
|
||||
"type": "object",
|
||||
"title": "Filters Trusts",
|
||||
"title": "Trusts",
|
||||
"description": "Returns true if the subject is trusted by entity.",
|
||||
"properties": {
|
||||
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.operator",
|
||||
"title": "Filters Operator",
|
||||
"title": "Operator",
|
||||
"type": "string",
|
||||
"description": "The comparison to apply with `value`.",
|
||||
"default": "equals",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.subject",
|
||||
"title": "Filters Subject",
|
||||
"title": "Subject",
|
||||
"type": "string",
|
||||
"description": "The subject of this filter test.",
|
||||
"default": "self",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.test",
|
||||
"title": "Filters Test",
|
||||
"title": "Test",
|
||||
"type": "string",
|
||||
"description": "The test operation",
|
||||
"enum": [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.weather",
|
||||
"type": "object",
|
||||
"title": "Filters Weather",
|
||||
"title": "Weather",
|
||||
"description": "Tests the current weather in the dimension against a provided weather value.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.weather_at_position",
|
||||
"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.",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user