Entity does not execute command

Started by AlphaMods on

Topic category: Help with modding (Java Edition)

Last seen on 22:49, 5. Aug 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity does not execute command
Sat, 06/03/2023 - 16:32 (edited)

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).

 

my procedure

 

 

Edited by AlphaMods on Sat, 06/03/2023 - 16:32
Last seen on 22:49, 5. Aug 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I solved it. If you have the…
Sun, 06/25/2023 - 10:07

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.

Last seen on 04:51, 13. Apr 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay so what is the solution?
Sat, 11/11/2023 - 09:22

Okay so what is the solution?