Update swim_with_entity.json
Updated descriptions Removed undocumented comments
This commit is contained in:
@@ -2,78 +2,76 @@
|
|||||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.swim_with_entity",
|
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.swim_with_entity",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Swim With Entity",
|
"title": "Swim With Entity",
|
||||||
"description": "Allows this mob to follow another entity, as long as both entities are in water (swimming)",
|
"description": "Allows the entity follow another entity. Both entities must be swimming and in water.",
|
||||||
"$comment": "UNDOCUMENTED",
|
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": { "$ref": "types/priority.json" },
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||||
"success_rate": {
|
"success_rate": {
|
||||||
"type": "number",
|
|
||||||
"title": "Success Rate",
|
"title": "Success Rate",
|
||||||
"description": "Chance to start following another entity, if not already doing so",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 0.1,
|
||||||
|
"description": "Percent chance to start following another entity, if not already doing so. 1.0 = 100%"
|
||||||
},
|
},
|
||||||
"chance_to_stop": {
|
"chance_to_stop": {
|
||||||
"type": "number",
|
|
||||||
"title": "Chance To Stop",
|
"title": "Chance To Stop",
|
||||||
"description": "Chance to stop following the current entity",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 0.0333,
|
||||||
|
"description": "Percent chance to stop following the current entity, if they're riding another entity or they're not swimming. 1.0 = 100%"
|
||||||
},
|
},
|
||||||
"state_check_interval": {
|
"state_check_interval": {
|
||||||
"type": "number",
|
|
||||||
"title": "State Check Interval",
|
"title": "State Check Interval",
|
||||||
"description": "Time in seconds between checks to determine if this mob should catch up to the entity being followed",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 0.5,
|
||||||
|
"description": "Time (in seconds) between checks to determine if this entity should catch up to the entity being followed or match the direction of the entity being followed."
|
||||||
},
|
},
|
||||||
"catch_up_threshold": {
|
"catch_up_threshold": {
|
||||||
"type": "number",
|
|
||||||
"title": "Catch Up Threshold",
|
"title": "Catch Up Threshold",
|
||||||
"description": "Distance in blocks from the entity being followed at which this mob will speed up to catch up",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 12,
|
||||||
|
"description": "Distance, from the entity being followed, at which this entity will speed up to reach that entity."
|
||||||
},
|
},
|
||||||
"match_direction_threshold": {
|
"match_direction_threshold": {
|
||||||
"type": "number",
|
|
||||||
"title": "Match Direction Threshold",
|
"title": "Match Direction Threshold",
|
||||||
"description": "Distance in blocks from the entity being followed at which this mob will match that entity's direction",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 2,
|
||||||
|
"description": "Distance, from the entity being followed, at which this entity will try to match that entity's direction"
|
||||||
},
|
},
|
||||||
"catch_up_multiplier": {
|
"catch_up_multiplier": {
|
||||||
"type": "number",
|
|
||||||
"title": "Catch Up Multiplier",
|
"title": "Catch Up Multiplier",
|
||||||
"description": "The multiplier applied to the speed of this mob when trying to catch up",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 2.5,
|
||||||
|
"description": "The multiplier this entity's speed is modified by when matching another entity's direction."
|
||||||
},
|
},
|
||||||
"search_range": {
|
"search_range": {
|
||||||
"type": "number",
|
|
||||||
"title": "Search Range",
|
"title": "Search Range",
|
||||||
"description": "Radius in blocks around this mob to search for another entity to follow",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 20,
|
||||||
|
"description": "Radius around this entity to search for another entity to follow."
|
||||||
},
|
},
|
||||||
"stop_distance": {
|
"stop_distance": {
|
||||||
"type": "number",
|
|
||||||
"title": "Stop Distance",
|
"title": "Stop Distance",
|
||||||
"description": "Distance in blocks from the entity being followed at which this entity will stop following",
|
"type": "number",
|
||||||
"$comment": "UNDOCUMENTED"
|
"default": 5,
|
||||||
|
"description": "Distance, from the entity being followed, at which this entity will stop following that entity."
|
||||||
},
|
},
|
||||||
"entity_types": {
|
"entity_types": {
|
||||||
"$ref": "../types/entity_types.json",
|
"$ref": "../types/entity_types.json",
|
||||||
"title": "Entity Types",
|
"title": "Entity Types",
|
||||||
"description": "Filters which determine what entites are valid to follow",
|
"description": "Filters which determine what entites are valid to follow"
|
||||||
"$comment": "UNDOCUMENTED"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"success_rate": 0.0,
|
"success_rate": 0.1,
|
||||||
"chance_to_stop": 0.0,
|
"chance_to_stop": 0.0333,
|
||||||
"state_check_interval": 0.0,
|
"state_check_interval": 0.5,
|
||||||
"catch_up_threshold": 0.0,
|
"catch_up_threshold": 12,
|
||||||
"match_direction_threshold": 0.0,
|
"match_direction_threshold": 2,
|
||||||
"catch_up_multiplier": 0.0,
|
"catch_up_multiplier": 2.5,
|
||||||
"search_range": 0.0,
|
"search_range": 20,
|
||||||
"stop_distance": 0.0
|
"stop_distance": 5
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user