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

Started by Afterlifepro on Fri, 07/16/2021 - 13:35

Topic category: Help with modding (Java Edition)

Last seen on 10:14, 29. Jul 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I use itemstack dependency with player left clicks block event in a procedure?
Fri, 07/16/2021 - 13:35

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

Last seen on 02:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 05:11, 17. Sep 2021
Joined Mar 2020
Points:

User statistics:

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

 replace "empty itemstack" to 

get item in main hand of [ entity ]

Last seen on 10:14, 29. Jul 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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