Most events can't execute commands

Published by Eroshodito on Sun, 01/27/2019 - 09:23
Status
Works as designed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

For example mobontick, onmobdies, itemininventory, blocktick. These events can execute almost everything without the execute command...they get trough that without any error codes, but they simply skipping it. The same commands worked on the rangeditemused event but since I want it to be not dependent on the player are there any other events that can execute commands?

Issue comments

First, why did you select 1.8.2 issue when you are using 1.8.1?

The entity that is executing the command needs the permission for the command. Avoid using commands as they won't work at all in survival without cheats. We can't bypass this because the way Minecraft is made.

For the teleportation, you have a dedicated procedure block and use it instead.

I was able to correct it by adding a keybind, copied the code, and just running it from the event...



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.