Trouble with required dependencies

Started by thatonegamer59 on Sat, 08/10/2019 - 04:10

Topic category: Help with modding

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

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Trouble with required dependencies
Sat, 08/10/2019 - 04:10

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.

0Upvote this forum topic
Last seen on 20:30, 22. Feb 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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.

0Upvote this forum topic
Last seen on 16:23, 15. Feb 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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.

0Upvote this forum topic
Last seen on 20:30, 22. Feb 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
I can't see the screenshot…
Sat, 08/10/2019 - 14:35

I can't see the screenshot you posted, it just shows a broken image.

0Upvote this forum topic
Last seen on 16:23, 15. Feb 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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

0Upvote this forum topic
Last seen on 20:30, 22. Feb 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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.

0Upvote this forum topic
Last seen on 16:23, 15. Feb 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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.

0Upvote this forum topic