Added entity types filter
This commit is contained in:
44
source/behavior/spawn_rules/components/entity_types.json
Normal file
44
source/behavior/spawn_rules/components/entity_types.json
Normal 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."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user