While using an event have run_command and inside that have execute command, it's doesn't working
Step to reproduce
Download addon below and import to Minecraft
Create a world and active addon ( turned on Holiday Creator Features )
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
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
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.