1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-11 01:20:51 +00:00
Files
bedrock-samples/metadata/json_schemas/server/entity/1.21.110/SlimeAttackGoalDefinition.json
2025-09-09 10:02:11 -07:00

45 lines
1.4 KiB
JSON

{
"$id": "597030358",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Causes the entity to grow tired every once in a while, while attacking.",
"properties": {
"control_flags": {
"items": {
"enum": [
"move",
"look",
"jump"
],
"title": "Goal's control flags",
"type": "string"
},
"type": "array"
},
"grow_tired_cooldown_time": {
"type": "number"
},
"priority": {
"minimum": 0,
"type": "integer"
},
"set_persistent": {
"description": "Allows the actor to be set to persist upon targeting a player Default value: false.",
"type": "boolean"
},
"speed_multiplier": {
"description": "During attack behavior, this multiplier modifies the entity's speed when moving toward the target. Default value: 1.",
"type": "number"
},
"x_max_rotation": {
"description": "Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target. Default value: 10.",
"type": "number"
},
"y_max_rotation": {
"description": "Maximum rotation (in degrees), on the Y-axis, this entity can rotate while trying to look at the target. Default value: 10.",
"type": "number"
}
},
"title": "minecraft:behavior.slime_attack",
"type": "object",
"x-format-version": "1.21.110"
}