Merge branch 'main' into main
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
],
|
||||
"type": "object",
|
||||
"title": "Entity Behavior",
|
||||
"description": "The minecraft entity behavior specification",
|
||||
"description": "The minecraft entity behavior specification.",
|
||||
"required": ["format_version", "minecraft:entity"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "(Required) The Ability type to test",
|
||||
"description": "(Required) The Ability type to test.",
|
||||
"enum": ["flySpeed", "flying", "instabuild", "invulnerable", "lightning", "mayfly", "mute", "noclip", "walkSpeed", "worldbuilder"],
|
||||
"title": "Value"
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "(Required) The tag to look for",
|
||||
"description": "(Required) The tag to look for.",
|
||||
"type": "string",
|
||||
"title": "Value"
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "(Required) The component name to look for",
|
||||
"description": "(Required) The component name to look for.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity receives the named damage type." },
|
||||
"operator": { "$ref": "./types/operator.json" },
|
||||
"subject": { "$ref": "./types/subject.json" },
|
||||
"value": { "type": "string", "description": "The Damage type to test", "$ref": "../../../../general/entity/damage_source.json", "title": "Value" }
|
||||
"value": { "type": "string", "description": "The Damage type to test.", "$ref": "../../../../general/entity/damage_source.json", "title": "Value" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Test"
|
||||
},
|
||||
"domain": {
|
||||
"description": "The equipment location to test",
|
||||
"description": "The equipment location to test.",
|
||||
"default": "any",
|
||||
"enum": ["any", "armor", "feet", "hand", "head", "leg", "torso"],
|
||||
"title": "Domain"
|
||||
@@ -24,7 +24,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The item name to look for",
|
||||
"description": "The item name to look for.",
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"title": "Value"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "The specified mob effect",
|
||||
"description": "The specified mob effect.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Test"
|
||||
},
|
||||
"domain": {
|
||||
"description": "The equipment location to test",
|
||||
"description": "The equipment location to test.",
|
||||
"default": "any",
|
||||
"enum": ["any", "armor", "feet", "hand", "head", "leg", "torso"],
|
||||
"title": "Domain"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "The tag as a string",
|
||||
"description": "The tag as a string.",
|
||||
"pattern": "[a-zA-Z0-9_]+",
|
||||
"title": "Value"
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.hourly_clock_time",
|
||||
"type": "object",
|
||||
"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"],
|
||||
"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 24 hour time with an int value in the range[0, 24000].",
|
||||
"const": "hourly_clock_time"
|
||||
},
|
||||
"operator": {
|
||||
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "(Required) An integer value set between 0 and 24000",
|
||||
"description": "(Required) An integer value set between 0 and 24000.",
|
||||
"minimum": 0,
|
||||
"maximum": 24000,
|
||||
"title": "Value"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Family name to look for",
|
||||
"description": "The Family name to look for.",
|
||||
"type": "integer",
|
||||
"title": "Value"
|
||||
}
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
"type": "object",
|
||||
"title": "Is Altitude",
|
||||
"description": "Tests the current altitude against a provided value. 0= bedrock elevation.",
|
||||
"required": [
|
||||
"value"
|
||||
],
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
"test": {
|
||||
"type": "string",
|
||||
@@ -20,7 +18,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "The altitude value to compare with",
|
||||
"description": "The altitude value to compare with.",
|
||||
"minimum": 0,
|
||||
"title": "Value"
|
||||
}
|
||||
@@ -31,4 +29,4 @@
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Biome type to test",
|
||||
"description": "The Biome type to test.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"beach",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Family name to look for",
|
||||
"description": "The Family name to look for.",
|
||||
"type": "string",
|
||||
"title": "Value"
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Palette Color to test",
|
||||
"description": "The Palette Color to test.",
|
||||
"type": "string",
|
||||
"enum": ["black", "blue", "brown", "cyan", "gray", "green", "light_blue", "light_green", "magenta", "orange", "pink", "purple", "red", "silver", "white", "yellow"],
|
||||
"title": "Value"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The game's difficulty level to test",
|
||||
"description": "The game's difficulty level to test.",
|
||||
"type": "string",
|
||||
"enum": ["easy", "hard", "normal", "peaceful"],
|
||||
"title": "Value"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Family name to look for",
|
||||
"description": "The Family name to look for.",
|
||||
"type": "string",
|
||||
"title": "Value"
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_humid",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "Tests whether the Subject is in an area with humidity"
|
||||
"description": "Tests whether the Subject is in an area with humidity."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "The altitude value to compare with",
|
||||
"description": "The altitude value to compare with.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "The altitude value to compare with",
|
||||
"description": "The altitude value to compare with.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.is_snow_covered",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Biome temperature catagory to test",
|
||||
"description": "The Biome temperature catagory to test.",
|
||||
"type": "string",
|
||||
"enum": ["cold", "mild", "ocean", "warm"],
|
||||
"title": "Value"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "The altitude value to compare with",
|
||||
"description": "The altitude value to compare with.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test Property",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.filters.test",
|
||||
"title": "Test",
|
||||
"type": "string",
|
||||
"description": "The test operation",
|
||||
"description": "The test operation.",
|
||||
"enum": [
|
||||
"clock_time",
|
||||
"distance_to_nearest_player",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Family name to look for",
|
||||
"description": "The Family name to look for.",
|
||||
"type": "string",
|
||||
"title": "Value",
|
||||
"examples": ["clear", "thunderstorm"]
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"test": {
|
||||
"type": "string",
|
||||
"title": "Test",
|
||||
"description": "The test property"
|
||||
"description": "The test property."
|
||||
},
|
||||
"operator": {
|
||||
"$ref": "./types/operator.json"
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Family name to look for",
|
||||
"description": "The Family name to look for.",
|
||||
"type": "string",
|
||||
"title": "Value",
|
||||
"examples": ["thunderstorm"]
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
"admire_item_sound": {
|
||||
"title": "Admire Item Sound",
|
||||
"type": "string",
|
||||
"description": "The sound event to play when admiring the item"
|
||||
"description": "The sound event to play when admiring the item."
|
||||
},
|
||||
"on_admire_item_start": {
|
||||
"title": "On Admire Item Start",
|
||||
"$ref": "../types/event.json",
|
||||
"description": "The event to run when admiring the item"
|
||||
"description": "The event to run when admiring the item."
|
||||
},
|
||||
"on_admire_item_stop": {
|
||||
"title": "On Admire Item Stop",
|
||||
"$ref": "../types/event.json",
|
||||
"description": "The event to run when no longer admiring the item"
|
||||
"description": "The event to run when no longer admiring the item."
|
||||
},
|
||||
"sound_interval": {
|
||||
"title": "Sound Interval",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "List of items that this mob likes",
|
||||
"description": "List of items that this mob likes.",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "List of items that this mob likes",
|
||||
"description": "List of items that this mob likes.",
|
||||
"title": "Properties",
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
},
|
||||
@@ -23,16 +23,13 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8,
|
||||
"description": "Distance in blocks the mob will beg from",
|
||||
"description": "Distance in blocks the mob will beg from.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"look_time": {
|
||||
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it",
|
||||
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it.",
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"default": [2, 4],
|
||||
"title": "Look Time"
|
||||
}
|
||||
},
|
||||
@@ -42,4 +39,4 @@
|
||||
"look_distance": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,20 +18,19 @@
|
||||
"title": "Attack Interval",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Time in seconds between attacks"
|
||||
"description": "Time in seconds between attacks."
|
||||
},
|
||||
"must_see": {
|
||||
"title": "Must See",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, only entities in this mob's viewing range can be selected as targets"
|
||||
"description": "If true, only entities in this mob's viewing range can be selected as targets."
|
||||
},
|
||||
"must_see_forget_duration": {
|
||||
"title": "Must See Forget Duration",
|
||||
"type": "number",
|
||||
"default": 3,
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more"
|
||||
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more."
|
||||
},
|
||||
"on_defend_start": {
|
||||
"title": "On Defend Start",
|
||||
@@ -42,12 +41,12 @@
|
||||
"title": "Within Radius",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks that the target can be within to launch an attack"
|
||||
"description": "Distance in blocks that the target can be within to launch an attack."
|
||||
},
|
||||
"entity_types": {
|
||||
"title": "Entity Types",
|
||||
"type": "object",
|
||||
"description": "List of entity types that this mob considers valid targets",
|
||||
"description": "List of entity types that this mob considers valid targets.",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"sound_chance": {
|
||||
@@ -70,4 +69,4 @@
|
||||
"sound_chance": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"entity_types": {
|
||||
"title": "Entity Types",
|
||||
"$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.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"must_reach": {
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
"title": "Set Persistent",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player"
|
||||
"description": "Allows the actor to be set to persist upon targeting a player."
|
||||
},
|
||||
"target_dist": {
|
||||
"title": "Target Dist",
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"title": "Digs In Daylight",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Indicates that the actor should start digging when it sees daylight"
|
||||
"description": "Indicates that the actor should start digging when it sees daylight."
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Goal duration in seconds"
|
||||
"description": "Goal duration in seconds."
|
||||
},
|
||||
"idle_time": {
|
||||
"title": "Idle Time",
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
},
|
||||
"speed_modifier": {
|
||||
"default": 0.0,
|
||||
"description": "Movement speed modifier of the mob when using this AI Goal",
|
||||
"description": "Movement speed modifier of the mob when using this AI Goal.",
|
||||
"title": "Speed Modifier"
|
||||
},
|
||||
"potions": {
|
||||
@@ -21,11 +21,7 @@
|
||||
"description": "A list of potions that this entity can drink.",
|
||||
"title": "Potions",
|
||||
"items": {
|
||||
"required": [
|
||||
"id",
|
||||
"chance",
|
||||
"filters"
|
||||
],
|
||||
"required": ["id", "chance", "filters"],
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "A potions that this entity can drink.",
|
||||
@@ -34,7 +30,7 @@
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"default": -1,
|
||||
"description": "The registry ID of the potion to use",
|
||||
"description": "The registry ID of the potion to use.",
|
||||
"title": "Id"
|
||||
},
|
||||
"chance": {
|
||||
@@ -58,4 +54,4 @@
|
||||
"potions": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,18 +11,18 @@
|
||||
"title": "Cooldown Time",
|
||||
"type": "integer",
|
||||
"default": 0.5,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 5.0,
|
||||
"description": "Goal duration in seconds"
|
||||
"description": "Goal duration in seconds."
|
||||
},
|
||||
"on_done": {
|
||||
"title": "On Done",
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Trigger to be executed when the goal execution is about to end"
|
||||
"description": "Trigger to be executed when the goal execution is about to end."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Avoid Water",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will not go into water blocks when going towards a mount"
|
||||
"description": "If true, the mob will not go into water blocks when going towards a mount."
|
||||
},
|
||||
"mount_distance": {
|
||||
"type": "number",
|
||||
@@ -24,19 +24,19 @@
|
||||
"title": "Start Delay",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Time the mob will wait before starting to move towards the mount"
|
||||
"description": "Time the mob will wait before starting to move towards the mount."
|
||||
},
|
||||
"target_needed": {
|
||||
"title": "Target Needed",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will only look for a mount if it has a target"
|
||||
"description": "If true, the mob will only look for a mount if it has a target."
|
||||
},
|
||||
"within_radius": {
|
||||
"title": "Within Radius",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks within which the mob will look for a mount"
|
||||
"description": "Distance in blocks within which the mob will look for a mount."
|
||||
},
|
||||
"max_failed_attempts": {
|
||||
"title": "Maximum Failed Attempts",
|
||||
@@ -55,4 +55,4 @@
|
||||
"max_failed_attempts": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,28 +24,25 @@
|
||||
"y_offset": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Height in blocks to add to the selected target position",
|
||||
"description": "Height in blocks to add to the selected target position.",
|
||||
"title": "Y Offset"
|
||||
},
|
||||
"must_reach": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the point has to be reachable to be a valid target",
|
||||
"description": "If true, the point has to be reachable to be a valid target.",
|
||||
"title": "Must Reach"
|
||||
},
|
||||
"random_reselect": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one",
|
||||
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one.",
|
||||
"title": "Random Reselect"
|
||||
},
|
||||
"float_duration": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"description": "Range of time in seconds the mob will float around before landing and choosing to do something else",
|
||||
"default": [0.0, 0.0],
|
||||
"description": "Range of time in seconds the mob will float around before landing and choosing to do something else.",
|
||||
"title": "Float Duration"
|
||||
}
|
||||
},
|
||||
@@ -58,4 +55,4 @@
|
||||
"random_reselect": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$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.",
|
||||
"title": "Entity Types"
|
||||
},
|
||||
"entity_count": {
|
||||
"type": "integer",
|
||||
"description": "Number of entities that can be in the caravan",
|
||||
"description": "Number of entities that can be in the caravan.",
|
||||
"default": 1,
|
||||
"title": "Entity Count"
|
||||
}
|
||||
@@ -29,4 +29,4 @@
|
||||
"entity_count": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for a mob to follow",
|
||||
"description": "The distance in blocks it will look for a mob to follow.",
|
||||
"title": "Search Range"
|
||||
},
|
||||
"stop_distance": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "The distance in blocks this mob stops from the mob it is following",
|
||||
"description": "The distance in blocks this mob stops from the mob it is following.",
|
||||
"title": "Stop Distance"
|
||||
}
|
||||
},
|
||||
@@ -31,4 +31,4 @@
|
||||
"stop_distance": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,31 +16,31 @@
|
||||
"title": "Can Teleport",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Specify if the mob can teleport to the player if it is too far away"
|
||||
"description": "Specify if the mob can teleport to the player if it is too far away."
|
||||
},
|
||||
"ignore_vibration": {
|
||||
"title": "Ignore Vibration",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Specify if the mob will follow the owner if it has heard a vibration lately"
|
||||
"description": "Specify if the mob will follow the owner if it has heard a vibration lately."
|
||||
},
|
||||
"max_distance": {
|
||||
"title": "Max Distance",
|
||||
"type": "number",
|
||||
"default": 60.0,
|
||||
"description": "The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false"
|
||||
"description": "The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false."
|
||||
},
|
||||
"start_distance": {
|
||||
"title": "Start Distance",
|
||||
"type": "number",
|
||||
"default": 10.0,
|
||||
"description": "The distance in blocks that the owner can be away from this mob before it starts following it"
|
||||
"description": "The distance in blocks that the owner can be away from this mob before it starts following it."
|
||||
},
|
||||
"stop_distance": {
|
||||
"title": "Stop Distance",
|
||||
"type": "number",
|
||||
"default": 2.0,
|
||||
"description": "The distance in blocks this mob will stop from its owner while following it"
|
||||
"description": "The distance in blocks this mob will stop from its owner while following it."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -11,19 +11,19 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner.",
|
||||
"title": "Entity Types"
|
||||
},
|
||||
"alert_same_type": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, nearby mobs of the same type will be alerted about the damage",
|
||||
"description": "If true, nearby mobs of the same type will be alerted about the damage.",
|
||||
"title": "Alert Same Type"
|
||||
},
|
||||
"hurt_owner": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will hurt its owner and other mobs with the same owner as itself",
|
||||
"description": "If true, the mob will hurt its owner and other mobs with the same owner as itself.",
|
||||
"title": "Hurt Owner"
|
||||
}
|
||||
},
|
||||
@@ -33,4 +33,4 @@
|
||||
"hurt_owner": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "The height that the mob will search for bookshelves",
|
||||
"description": "The height that the mob will search for bookshelves.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks the mob will look for books to inspect",
|
||||
"description": "Distance in blocks the mob will look for books to inspect.",
|
||||
"title": "Search Range"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"title": "Cooldown Time",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"damage_filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
@@ -75,7 +75,7 @@
|
||||
"track_target": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target",
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target.",
|
||||
"title": "Track Target"
|
||||
},
|
||||
"on_roar_end": {
|
||||
|
||||
@@ -49,13 +49,13 @@
|
||||
"title": "Search Height",
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for a target block to move towards"
|
||||
"description": "Height in blocks the mob will look for a target block to move towards."
|
||||
},
|
||||
"search_range": {
|
||||
"title": "Search Range",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for a target block to move towards"
|
||||
"description": "The distance in blocks it will look for a target block to move towards."
|
||||
},
|
||||
"target_blocks": {
|
||||
"title": "Target Blocks",
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
"set_persistent": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"description": "Allows the actor to be set to persist upon targeting a player.",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"yd": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "The height in blocks the mob jumps when leaping at its target",
|
||||
"description": "The height in blocks the mob jumps when leaping at its target.",
|
||||
"title": "Yd"
|
||||
},
|
||||
"target_dist": {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at",
|
||||
"description": "The distance in blocks from which the entity will look at.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"probability": {
|
||||
@@ -23,27 +23,24 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity.",
|
||||
"title": "Look Time"
|
||||
},
|
||||
"angle_of_view_vertical": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)",
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right).",
|
||||
"title": "Angle Of View Vertical"
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down).",
|
||||
"title": "Angle Of View Horizontal"
|
||||
},
|
||||
"filters": {
|
||||
"description": "Filter to determine the conditions for this mob to look at the entity",
|
||||
"description": "Filter to determine the conditions for this mob to look at the entity.",
|
||||
"$ref": "../../filters/filters.json"
|
||||
}
|
||||
},
|
||||
@@ -55,4 +52,4 @@
|
||||
"angle_of_view_horizontal": 360
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
"title": "Angle Of View Vertical",
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)"
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)."
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"title": "Angle Of View Horizontal",
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)"
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)."
|
||||
},
|
||||
"look_distance": {
|
||||
"title": "Look Distance",
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at"
|
||||
"description": "The distance in blocks from which the entity will look at."
|
||||
},
|
||||
"probability": {
|
||||
"title": "Probability",
|
||||
@@ -37,17 +37,17 @@
|
||||
"title": "Look Time",
|
||||
"type": "array",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity",
|
||||
"description": "Time range to look at the entity.",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Minimum", "description": "The minimum amount of time to look" },
|
||||
{ "type": "number", "title": "Maximum", "description": "The maximum amount of time to look" }
|
||||
{ "type": "number", "title": "Minimum", "description": "The minimum amount of time to look." },
|
||||
{ "type": "number", "title": "Maximum", "description": "The maximum amount of time to look." }
|
||||
]
|
||||
},
|
||||
"target_distance": {
|
||||
"title": "Target Distance",
|
||||
"type": "number",
|
||||
"default": 6.0,
|
||||
"description": "The distance in blocks from which the entity will choose a target"
|
||||
"description": "The distance in blocks from which the entity will choose a target."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at",
|
||||
"description": "The distance in blocks from which the entity will look at.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"probability": {
|
||||
@@ -23,23 +23,20 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity.",
|
||||
"title": "Look Time"
|
||||
},
|
||||
"angle_of_view_vertical": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)",
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right).",
|
||||
"title": "Angle Of View Vertical"
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down).",
|
||||
"title": "Angle Of View Horizontal"
|
||||
}
|
||||
},
|
||||
@@ -51,4 +48,4 @@
|
||||
"angle_of_view_horizontal": 360
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at",
|
||||
"description": "The distance in blocks from which the entity will look at.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"probability": {
|
||||
@@ -23,23 +23,20 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity.",
|
||||
"title": "Look Time"
|
||||
},
|
||||
"angle_of_view_vertical": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)",
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right).",
|
||||
"title": "Angle Of View Vertical"
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down).",
|
||||
"title": "Angle Of View Horizontal"
|
||||
}
|
||||
},
|
||||
@@ -51,4 +48,4 @@
|
||||
"angle_of_view_horizontal": 360
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
"title": "Set Persistent",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player"
|
||||
"description": "Allows the actor to be set to persist upon targeting a player."
|
||||
},
|
||||
"target_dist": {
|
||||
"title": "Target Dist",
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"duration": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Amount of time in seconds that the entity will chat with another entity",
|
||||
"description": "Amount of time in seconds that the entity will chat with another entity.",
|
||||
"title": "Duration"
|
||||
},
|
||||
"mingle_distance": {
|
||||
@@ -27,13 +27,13 @@
|
||||
"title": "Mingle Distance"
|
||||
},
|
||||
"mingle_partner_type": {
|
||||
"description": "The entity type that this entity is allowed to mingle with",
|
||||
"description": "The entity type that this entity is allowed to mingle with.",
|
||||
"title": "Mingle Partner Type",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "The entity type that this entity is allowed to mingle with",
|
||||
"description": "The entity type that this entity is allowed to mingle with.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
"target_dist": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "The distance at which this mob wants to be away from its target",
|
||||
"description": "The distance at which this mob wants to be away from its target.",
|
||||
"title": "Target Dist"
|
||||
},
|
||||
"track_target": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target",
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target.",
|
||||
"title": "Track Target"
|
||||
}
|
||||
},
|
||||
@@ -31,4 +31,4 @@
|
||||
"track_target": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"timeout_cooldown": {
|
||||
"type": "number",
|
||||
"default": 8,
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails",
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails.",
|
||||
"title": "Timeout Cooldown"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"type": "object",
|
||||
"title": "Move Outdoors",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Forces the entity to move `outside`, whatever that means",
|
||||
"description": "Forces the entity to move `outside`, whatever that means.",
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
@@ -36,7 +36,7 @@
|
||||
"title": "Timeout Cooldown",
|
||||
"type": "number",
|
||||
"default": 8000000,
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails"
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"only_at_night": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will only move through the village during night time",
|
||||
"description": "If true, the mob will only move through the village during night time.",
|
||||
"title": "Only At Night"
|
||||
}
|
||||
},
|
||||
@@ -24,4 +24,4 @@
|
||||
"only_at_night": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for land to move towards",
|
||||
"description": "Height in blocks the mob will look for land to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for land to move towards",
|
||||
"description": "The distance in blocks it will look for land to move towards.",
|
||||
"title": "Search Range"
|
||||
}
|
||||
},
|
||||
@@ -45,4 +45,4 @@
|
||||
"search_range": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for lava to move towards",
|
||||
"description": "Height in blocks the mob will look for lava to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for lava to move towards",
|
||||
"description": "The distance in blocks it will look for lava to move towards.",
|
||||
"title": "Search Range"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -22,18 +22,18 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for lava to move towards",
|
||||
"description": "Height in blocks the mob will look for lava to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for lava to move towards",
|
||||
"description": "The distance in blocks it will look for lava to move towards.",
|
||||
"title": "Search Range"
|
||||
},
|
||||
"material_type": {
|
||||
"title": "Material Type",
|
||||
"description": "UNDOCUMENTAED, examples are : Lava",
|
||||
"description": "UNDOCUMENTAED, examples are : Lava.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "object",
|
||||
"title": "Move To Poi",
|
||||
"additionalProperties": false,
|
||||
"description": "Allows the mob to move to a POI if able to",
|
||||
"description": "Allows the mob to move to a POI if able to.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": {
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"poi_type": {
|
||||
"type": "string",
|
||||
"description": "Tells the goal what POI type it should be looking for",
|
||||
"description": "Tells the goal what POI type it should be looking for.",
|
||||
"title": "Point Of Interest Type"
|
||||
}
|
||||
},
|
||||
@@ -23,4 +23,4 @@
|
||||
"poi_type": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"goal_radius": {
|
||||
@@ -38,4 +38,4 @@
|
||||
"search_range": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for water to move towards",
|
||||
"description": "The distance in blocks it will look for water to move towards.",
|
||||
"title": "Search Range"
|
||||
},
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for water to move towards",
|
||||
"description": "Height in blocks the mob will look for water to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_count": {
|
||||
@@ -45,4 +45,4 @@
|
||||
"goal_radius": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,14 +16,11 @@
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"move",
|
||||
"look"
|
||||
],
|
||||
"description": "UNDOCUMENTED: control flags",
|
||||
"enum": ["move", "look"],
|
||||
"description": "UNDOCUMENTED: control flags.",
|
||||
"title": "Control Flags"
|
||||
},
|
||||
"description": "UNDOCUMENTED: control flags",
|
||||
"description": "UNDOCUMENTED: control flags.",
|
||||
"title": "Control Flags"
|
||||
}
|
||||
},
|
||||
@@ -32,4 +29,4 @@
|
||||
"control_flags": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,36 +11,36 @@
|
||||
"title": "Cooldown Max",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Maximum time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Maximum time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"cooldown_min": {
|
||||
"title": "Cooldown Min",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Minimum time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Minimum time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"mob_detect_dist": {
|
||||
"title": "Mob Detect Dist",
|
||||
"type": "number",
|
||||
"default": 6,
|
||||
"description": "The block distance in x and z that will be checked for mobs that this mob detects"
|
||||
"description": "The block distance in x and z that will be checked for mobs that this mob detects."
|
||||
},
|
||||
"mob_detect_height": {
|
||||
"title": "Mob Detect Height",
|
||||
"type": "number",
|
||||
"default": 6,
|
||||
"description": "The block distance in y that will be checked for mobs that this mob detects"
|
||||
"description": "The block distance in y that will be checked for mobs that this mob detects."
|
||||
},
|
||||
"can_nap_filters": {
|
||||
"title": "Can Nap Filters",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The filters that need to be met for the nap to take place",
|
||||
"description": "The filters that need to be met for the nap to take place.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"wake_mob_exceptions": {
|
||||
"title": "Wake Mob Exceptions",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filters that can trigger the entity to wake up from it nap",
|
||||
"description": "Filters that can trigger the entity to wake up from it nap.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"definitions": {
|
||||
"entity_type": {
|
||||
"type": "object",
|
||||
"description": "A entity type",
|
||||
"description": "A entity type.",
|
||||
"properties": {
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
@@ -111,7 +111,7 @@
|
||||
"set_persistent": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"description": "Allows the actor to be set to persist upon targeting a player.",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"target_invisible_multiplier": {
|
||||
@@ -157,4 +157,4 @@
|
||||
"within_radius": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,32 +9,32 @@
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"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",
|
||||
"$ref": "../types/entity_types.json"
|
||||
},
|
||||
"attack_interval": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Time in seconds before selecting a target",
|
||||
"description": "Time in seconds before selecting a target.",
|
||||
"title": "Attack Interval"
|
||||
},
|
||||
"must_reach": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, only entities that this mob can path to can be selected as targets",
|
||||
"description": "If true, only entities that this mob can path to can be selected as targets.",
|
||||
"title": "Must Reach"
|
||||
},
|
||||
"must_see": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, only entities in this mob's viewing range can be selected as targets",
|
||||
"description": "If true, only entities in this mob's viewing range can be selected as targets.",
|
||||
"title": "Must See"
|
||||
},
|
||||
"must_see_forget_duration": {
|
||||
"type": "number",
|
||||
"default": 3,
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.",
|
||||
"title": "Must See Forget Duration"
|
||||
},
|
||||
"persist_time": {
|
||||
@@ -46,7 +46,7 @@
|
||||
"reselect_targets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the target will change to the current closest entity whenever a different entity is closer",
|
||||
"description": "If true, the target will change to the current closest entity whenever a different entity is closer.",
|
||||
"title": "Reselect Targets"
|
||||
},
|
||||
"scan_interval": {
|
||||
@@ -58,7 +58,7 @@
|
||||
"set_persistent": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"description": "Allows the actor to be set to persist upon targeting a player.",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"target_search_height": {
|
||||
@@ -70,7 +70,7 @@
|
||||
"within_radius": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks that the target can be within to launch an attack",
|
||||
"description": "Distance in blocks that the target can be within to launch an attack.",
|
||||
"title": "Within Radius"
|
||||
}
|
||||
},
|
||||
@@ -88,4 +88,4 @@
|
||||
"within_radius": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"close_door_after": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the mob will close the door after opening it and going through it",
|
||||
"description": "If true, the mob will close the door after opening it and going through it.",
|
||||
"title": "Close Door After"
|
||||
}
|
||||
},
|
||||
@@ -21,4 +21,4 @@
|
||||
"close_door_after": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner.",
|
||||
"title": "Entity Types"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this entity can target if the potential target is hurt by this mob's owner",
|
||||
"description": "List of entity types that this entity can target if the potential target is hurt by this mob's owner.",
|
||||
"title": "Entity TYpes"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,49 +18,45 @@
|
||||
"items": {
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
"default": [
|
||||
[
|
||||
"all"
|
||||
]
|
||||
],
|
||||
"description": "The list of Entity Damage Sources that will cause this mob to panic"
|
||||
"default": [["all"]],
|
||||
"description": "The list of Entity Damage Sources that will cause this mob to panic."
|
||||
},
|
||||
"force": {
|
||||
"title": "Force",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it"
|
||||
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it."
|
||||
},
|
||||
"ignore_mob_damage": {
|
||||
"title": "Ignore Mob Damage",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"
|
||||
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"
|
||||
},
|
||||
"prefer_water": {
|
||||
"title": "Prefer Water",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will prefer water over land"
|
||||
"description": "If true, the mob will prefer water over land."
|
||||
},
|
||||
"panic_sound": {
|
||||
"title": "Panic Sound",
|
||||
"type": "string",
|
||||
"description": "The sound event to play when this mob is in panic"
|
||||
"description": "The sound event to play when this mob is in panic."
|
||||
},
|
||||
"sound_interval": {
|
||||
"title": "Sound Interval",
|
||||
"type": "object",
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again.",
|
||||
"properties": {
|
||||
"range_min": {
|
||||
"type": "number",
|
||||
"description": "The minimum time in seconds before the `panic_sound` plays",
|
||||
"description": "The minimum time in seconds before the `panic_sound` plays.",
|
||||
"title": "Range Minimum"
|
||||
},
|
||||
"range_max": {
|
||||
"type": "number",
|
||||
"description": "The maximum time in seconds before the `panic_sound` plays",
|
||||
"description": "The maximum time in seconds before the `panic_sound` plays.",
|
||||
"title": "Range Maximum"
|
||||
}
|
||||
},
|
||||
@@ -77,4 +73,4 @@
|
||||
"sound_interval": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user