behavior.move_to_block does not work with all vanilla blocks. The hopper and composter are two examples. It also appears that the search range has a limit of 16 blocks.
Comments 4
Steps to Reproduce Not Finding Block Type:
1. Add behavior.move_to_block to an entity component group.
2. Set the block to hopper or composter and the search to what ever you want.
3. Add the component group via an event and run the event command to add it.
Observed Results:
Entity does not move to block
Expected Results:
Entity to move to block
Steps to Reproduce Search Range:
1. Add behavior.move_to_block to an entity component group.
2. Set the block to crafting table and the search to anything further than 16.
3. Add the component group via an event and run the event command to add it with the entity more than 16 blocks away from crafting table.
Observed Results:
Entity does not move to block
Expected Results:
Entity to move to block
Steps to Reproduce Not Finding Block Type:
1. Add behavior.move_to_block to an entity component group.
2. Set the block to hopper or composter and the search to what ever you want.
3. Add the component group via an event and run the event command to add it.
Observed Results:
Entity does not move to block
Expected Results:
Entity to move to block
Steps to Reproduce Search Range:
1. Add behavior.move_to_block to an entity component group.
2. Set the block to crafting table and the search to anything further than 16.
3. Add the component group via an event and run the event command to add it with the entity more than 16 blocks away from crafting table.
Observed Results:
Entity does not move to block
Expected Results:
Entity to move to block
We do not have enough information to reproduce this issue.
Please include the following information to help us understand your problem:
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