mojira.dev
MCPE-186069

Entity "minecraft:behavior.eat_block" component "eat_and_replace_block_pairs" property does not work.

I want to use this for my mammoth entity, i got help from the Minecraft Bedrock Community but neither did them know why is this happening. I already added minecraft:sheep runtime identifier and the whole "minecraft:behavior.eat_block" but it's property "eat_and_replace_block_pairs" does not work.

To test this out:

```
"minecraft:behavior.eat_block": {
 "priority": 3,
 "eat_and_replace_block_pairs": [
    {
      "eat_block": "grass",
      "replace_block": "air"
     }
   ],
   success_chance": "q.health < 10 ? 0.50 : 0.20"
}
```

I tried testing this out on multiple occasions but none seem to work.

Comments 3

Could you please add the "Steps to reproduce" and attach an addon with which the issue occurs to the report? Thanks.

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:
1. (Explain what needs to be done for the issue to happen)
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.

Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:
1. (Explain what needs to be done for the issue to happen)
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.

Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

thetheoristmc

(Unassigned)

Unconfirmed

Multiple

Windows 10 Pro

1.21.21 Hotfix

Retrieved