1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-06 21:09:52 +00:00
Files
bedrock-samples/metadata/json_schemas/server/entity/1.21.100/EatMobGoalDefinition.json
2025-09-09 10:02:11 -07:00

50 lines
1.4 KiB
JSON

{
"$id": "2159667979",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Allows the entity to eat a specified Mob.",
"properties": {
"control_flags": {
"items": {
"enum": [
"move",
"look",
"jump"
],
"title": "Goal's control flags",
"type": "string"
},
"type": "array"
},
"eat_animation_time": {
"description": "Sets the time in seconds the eat animation should play for. Default value: 1.000000.",
"type": "number"
},
"eat_mob_sound": {
"description": "Sets the sound that should play when eating a mob.",
"type": "string"
},
"loot_table": {
"description": "The loot table for loot to be dropped when eating a mob.",
"type": "string"
},
"priority": {
"minimum": 0,
"type": "integer"
},
"pull_in_force": {
"description": "Sets the force which the mob-to-be-eaten is pulled towards the eating mob. Default value: 1.000000.",
"type": "number"
},
"reach_mob_distance": {
"description": "Sets the desired distance to be reached before eating the mob. Default value: 1.000000.",
"type": "number"
},
"run_speed": {
"description": "Sets the entity's speed when running toward the target. Default value: 1.000000.",
"type": "number"
}
},
"title": "minecraft:behavior.eat_mob",
"type": "object",
"x-format-version": "1.21.100"
}