mojira.dev
MCPE-162395

Block Event Response - run_command

While using an event have run_command and inside that have execute command, it's doesn't working

Step to reproduce

  1. Download addon below and import to Minecraft

  2. Create a world and active addon ( turned on Holiday Creator Features )

  3. Get new block added in creative inventory and place that

Observed Results:

Commands described in event doesn't working

Expected Results:

Placed block will execute the commands has described

Notes:

Command described in event

/execute as @s run say command 1
/execute at @s run say command 2

 

Looks like there's something wrong with execute command with @s target as a block

Attachments

Comments 3

Note that the new /execute command syntax is behind the Upcoming Creator Features experimental toggle, so you will need to enable that too to see results.

It is also worth noting that, in this case, @s has nobody to target; the block cannot execute as itself because it is not an entity.

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

The attached addon does not appear to function anymore, as the resource pack produces an error. Does it still work on your end?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

NguyenDuck

(Unassigned)

Unconfirmed

Multiple

Windows 11

command, event, execute

1.19.22 Hotfix

Retrieved