mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-10-09 01:30:56 +00:00
76 lines
3.2 KiB
JSON
76 lines
3.2 KiB
JSON
{
|
|
"$id": "4231633335",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"1057349585": {
|
|
"properties": {
|
|
"max": {
|
|
"type": "number"
|
|
},
|
|
"min": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"title": "FloatRange",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "Causes an entity to circle around an anchor point placed near a point or target.",
|
|
"properties": {
|
|
"angle_change": {
|
|
"description": "Number of degrees to change this entity's facing by, when the entity selects its next anchor point. Default value: 15.0.",
|
|
"type": "number"
|
|
},
|
|
"control_flags": {
|
|
"items": {
|
|
"enum": [
|
|
"move",
|
|
"look",
|
|
"jump"
|
|
],
|
|
"title": "Goal's control flags",
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"goal_radius": {
|
|
"description": "Maximum distance from the anchor-point in which this entity considers itself to have reached the anchor point. This is to prevent the entity from bouncing back and forth trying to reach a specific spot. Default value: 0.500000.",
|
|
"type": "number"
|
|
},
|
|
"height_above_target_range": {
|
|
"$ref": "#/definitions/1057349585",
|
|
"description": "The number of blocks above the target that the next anchor point can be set. This value is used only when the entity is tracking a target. Default value: [0.0, 0.0]."
|
|
},
|
|
"height_adjustment_chance": {
|
|
"description": "Percent chance to determine how often to increase or decrease the current height around the anchor point. 1 = 100%. \"height_change_chance\" is deprecated and has been replaced with \"height_adjustment_chance\". Default value: 0.003.",
|
|
"type": "number"
|
|
},
|
|
"height_offset_range": {
|
|
"$ref": "#/definitions/1057349585",
|
|
"description": "Vertical distance from the anchor point this entity must stay within, upon a successful height adjustment. Default value: [0.0, 0.0]."
|
|
},
|
|
"priority": {
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"radius_adjustment_chance": {
|
|
"description": "Percent chance to determine how often to increase the size of the current movement radius around the anchor point. 1 = 100%. \"radius_change_chance\" is deprecated and has been replaced with \"radius_adjustment_chance\". Default value: 0.0.",
|
|
"type": "number"
|
|
},
|
|
"radius_change": {
|
|
"description": "The number of blocks to increase the current movement radius by, upon successful \"radius_adjustment_chance\". If the current radius increases over the range maximum, the current radius will be set back to the range minimum and the entity will change between clockwise and counter-clockwise movement. Default value: 1.",
|
|
"type": "number"
|
|
},
|
|
"radius_range": {
|
|
"$ref": "#/definitions/1057349585",
|
|
"description": "Horizontal distance from the anchor point this entity must stay within upon a successful radius adjustment. Default value: [5.0, 5.0]."
|
|
},
|
|
"speed_multiplier": {
|
|
"description": "Multiplies the speed at which this entity travels to its next desired position. Default value: 1.0.",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"title": "minecraft:behavior.circle_around_anchor",
|
|
"type": "object",
|
|
"x-format-version": "1.21.100"
|
|
} |