Missing Dependancies

Started by retroPacifist on

Topic category: Help with modding (Java Edition)

Last seen on 02:19, 22. Feb 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Missing Dependancies

I can't figure out how to do this

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The required dependencies…
Fri, 11/01/2019 - 09:10

The required dependencies are not provided for the set the provided items damage to blocks. You will have to find another trigger or another way to do this.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The problem is that the…
Fri, 11/01/2019 - 20:39

The problem is that the Player Update Tick isn't linked to an item. You cannot deal 5 damage to a player update tick.

What you seem to get wrong is that yo think that "Provided Item" is the item that you checked for in the If statement, like "Get armour from slot 3". But none of these are "Provided item". Provided item is the item that is provided by the procedure itself.

For example: If you'd create an Item mod element, and created a procedure on that item, "provided item" would refer to THAT item. The item the procedure is attached to.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you would attach this…
Fri, 11/01/2019 - 20:50

If you would attach this procedure to a pickaxe for example, then this is what the procedure would do: ("Provided item" would become Pickaxe:)

if Has provided entity Get item from armor slot 3 in inventory

Set the (Pickaxe) item damage to Get item damage of the (Pickaxe) - 5

else if Has provided entity Get item from armor slot 2 in inventory

Set the (Pickaxe) item damage to Get item damage of the (Pickaxe) - 5

Has provided entity Get item from armor slot 1 in inventory

Set the (Pickaxe) item damage to Get item damage of the (Pickaxe) - 5

 

Last seen on 02:19, 22. Feb 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, I see! Thanks! Is there…
Fri, 11/01/2019 - 23:49

Oh, I see! Thanks! Is there a way to add procedures to the vanilla armor?

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
They there is a global…
Sat, 11/02/2019 - 15:17

They there is a global trigger for armor or I don't think that's possible yet.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Either there is*
Sat, 11/02/2019 - 15:18

Either there is*

Last seen on 02:19, 22. Feb 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks again for the help ^u^
Sat, 11/02/2019 - 22:05

Thanks again for the help ^u^