How to use item stack for command

Started by Jeanbon_2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to use item stack for command
Wed, 11/27/2024 - 18:21 (edited)

Hello, i am trying to make a command for give at the entity an object, and enchant it, but it isn’t work…

It’s says “The procedure you are calling requires the following dependencies that are not provided: itemstack”

Someone help ?

Edited by Jeanbon_2 on Wed, 11/27/2024 - 18:21
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should change the block …
Sun, 12/01/2024 - 22:58

You should change the block :provided itemstack" to "item in the main hand of the event/target entity".