How do I use itemstack dependency with player left clicks block event in a procedure?

Started by Afterlifepro on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I use itemstack dependency with player left clicks block event in a procedure?

I am trying to create and effect and an enchantment which allows you to insta-mine wood type blocks if you have the effect or enchantment and then deal 5 damage to the item you are holding. The issue is, the event I am using (Player left clicks block) cannot use the itemstack dependency. If anyone has any idea how I would go about this I would really like the help.

THX in advance.

 

PS: I have attached a screenshot of my procedure here. (Empty itemstack is just a placeholder for Provided itemstack so that I can save my procedure)

Procedure for insta-mining wood

Here is a link to the image Just in case

https://ibb.co/nsC3Z59

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Think there is a block for…
Fri, 07/16/2021 - 23:09

Think there is a block for main hand of Entity, that would work and if you need the itemstack amount (which you wouldnt) I believe there is a block thatll convert to itemstack but im not sure

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 replace "empty itemstack"…
Sat, 07/17/2021 - 01:33

 replace "empty itemstack" to 

get item in main hand of [ entity ]

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sry for not being very…
Thu, 07/29/2021 - 10:17

Sry for not being very active.

Thanks a lot. Rly helpful!!! THX :D :D :D