Trouble with required dependencies

Started by thatonegamer59 on

Topic category: Help with modding (Java Edition)

Last seen on 16:23, 15. Feb 2020
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trouble with required dependencies

Right now I am creating my own mod that requires to get the players x and z position in a procedure.
I used the "x" and "z" variable in one of the lines in my procedure, but the program is giving me an error.
"You have selected external trigger that does not provide the following dependencies: entity x z"
I don't know what this error means and I don't know how to fix it.

It seems that your procedure…
Sat, 08/10/2019 - 07:24

It seems that your procedure needs entity dependency, but the trigger does not provide it. Show your procedure screenshot and tell which trigger do you use to trigger it.

Last seen on 16:23, 15. Feb 2020
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A few days ago I saw a…
Sat, 08/10/2019 - 13:37

A few days ago I saw a Youtube video where they raise their Minecraft worlds water level every minute,
so I thought it would be cool if I created a mod for myself to do it automatically instead of typing in the command every time.

The event is triggered when you enter a world.

Last seen on 16:23, 15. Feb 2020
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What if I type it all out…
Sat, 08/10/2019 - 16:00

What if I type it all out instead?

Event trigger - triggered by external call or when: Minecraft loads a world
Execute command / create text with
                                 "worldborder center "
                                 x
                                 " "
                                 z
Execute command / "worldborder set 200"
Set Local Loop to: 1
repeat 250 times
do
    Set Local: WaitTime to 0
    while Get Local: WaitTime < 1200
    do
        Set Local: WaitTime to: Get Local: WaitTime + 1
    Execute command / create text with
                                     "fill ~-100 "
                                     Get Local: Loop
                                     " ~-100 ~100 "
                                     Get Local: Loop
                                     " ~100 minecraft:water keep"
    Set Local: Loop to: Get Local: Loop + 1

When Minecraft loads a world…
Sat, 08/10/2019 - 16:24

When Minecraft loads a world does not provide entity dependency which is required for the execute command. Due to security reasons, the commands can only be executed by a specific entity (player), so Minecraft can check if the command was executed by a player with proper permissions. We can not bypass this, unfortunately.

Last seen on 16:23, 15. Feb 2020
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I decided to make a work…
Sat, 08/10/2019 - 19:43

I decided to make a work-around where the procedure will be called when an item is used, however I ran into a command problem I can't fix.
Thanks anyways.

Last seen on 00:12, 6. Jun 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am having trouble with…
Sun, 05/24/2020 - 15:39

I am having trouble with something similar, it says that I need world as one of my dependencies but I don't know what this means