Added entity types filter

This commit is contained in:
DaanV2
2022-08-15 19:22:15 +02:00
parent c514eb0f54
commit 823e6f1f1c
2 changed files with 51 additions and 6 deletions

View File

@@ -0,0 +1,44 @@
{
"$id": "blockception.minecraft.behavior.spawn_rules.minecraft.entity_types",
"title": "Entity Types",
"description": "entity_types is a specific type of JSON object used by Minecraft: Bedrock Edition in order to encapsulate entity data that can be used in certain behaviors and components..",
"additionalProperties": false,
"type": "object",
"properties": {
"filters": {
"title": "Filters",
"description": "Conditions that make this entry in the list valid.",
"$ref": "../../entities/filters/filters.json"
},
"max_dist": {
"title": "Maximum Distance",
"type": "number",
"default": 16,
"description": "Maximum distance this mob can be away to be a valid choice."
},
"must_see": {
"title": "Must See",
"type": "boolean",
"default": false,
"description": "If true, the mob has to be visible to be a valid choice."
},
"must_see_forget_duration": {
"title": "Must See Forget Duration",
"type": "boolean",
"default": 3.0,
"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."
},
"sprint_speed_multiplier": {
"title": "Sprint Speed Multiplier",
"type": "number",
"default": 1.0,
"description": "Multiplier for the running speed. A value of 1.0 means the speed is unchanged."
},
"walk_speed_multiplier": {
"title": "Walk Speed Multiplier",
"type": "number",
"default": 1.0,
"description": "Multiplier for the walking speed. A value of 1.0 means the speed is unchanged."
}
}
}