Started by
AlphaMods
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a minecraft mod with different planets and cargo rockets. Those cargo rockets can be placed and "tamed" and then they should fly to a port-block. My problem is that i use commands to teleport the rocket (because i think it is a simple way, maybe there are other ways to do it idk) but the rocket just falls down to where it was placed.
I added a "Send to chat"-Element to see if the command is wrong but if i use the command manually it works. So does anyone know where the mistake is? Or does it even work?
The variables are also correct. There is one variable for the dimension (planet) and one with coordinates (it is called port_1 in the image).
Edited by AlphaMods on Sat, 06/03/2023 - 16:32
I solved it. If you have the same problem: entities can't execute commands (they do not have the rights).
So it is not possible.
Okay so what is the solution?
The solution here is to use the "execute command / _ at x: _ y: _ z: _" block because it does not require an entity to be present for the command to run. This way, permissions to run commands are not necessary.
Speaking of commands…
uh
could you possibly answer this?
How can I have a vanilla Minecraft command run as a trigger for my mobs/items