i have a better way to reproduce
make a addon for bedrock with a custom mob that has code "minecraft:behavior.eat_block": { "priority": 6, "success_chance": "query.is_baby ? 0.02 : 0.001", "time_until_eat": 1.8, "eat_and_replace_block_pairs": [ { "eat_block": "grass", "replace_block": "dirt" }, { "eat_block": "tallgrass", "replace_block": "air" } ], "on_eat": { "event": "minecraft:on_eat_block", "target": "self" } },
then make an animation defined by "grazing"
then add "scripts": { "animate": [ {"grazing":"query.is_grazing"} ] },4. run behavior pack
i have a better way to reproduce
make a addon for bedrock with a custom mob that has code
"minecraft:behavior.eat_block": { "priority": 6, "success_chance": "query.is_baby ? 0.02 : 0.001", "time_until_eat": 1.8, "eat_and_replace_block_pairs": [ { "eat_block": "grass", "replace_block": "dirt" }, { "eat_block": "tallgrass", "replace_block": "air" } ], "on_eat": { "event": "minecraft:on_eat_block", "target": "self" } },
then make an animation defined by "grazing"
then add
"scripts": {
"animate": [
{"grazing":"query.is_grazing"}
]
},
4. run behavior pack