Missing Dependancies

Started by retroPacifist on

Topic category: Help with Minecraft modding (Java Edition)

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

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.

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.

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

 

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?

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.

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*

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^