itemstack dependency??

Started by pogblob on

Topic category: Help with modding (Java Edition)

Last seen on 19:04, 21. Sep 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
itemstack dependency??

my friend is making a staff that gives an effect and has a cooldown, but it keeps giving him a error about itemstack

this is the drop and drag things if it is needed to find the error

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so make it look like this:…
Mon, 09/20/2021 - 22:36

so make it look like this:

If item in main hand of Event/Target Entity = YOUR_WAND

  Cooldown Provided Itemstack for 100 ticks for Event/Target Entity

Last seen on 19:04, 21. Sep 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
which category is "if item…
Tue, 09/21/2021 - 19:01

which category is "if item in" in?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lmao, so get the If block,…
Tue, 09/21/2021 - 19:48

lmao, so get the If block, then get Item in main hand Block

then get an Itemstack Logic block (which would be a red block with 2 blanks for other blocks, it would be in Logic section) then go to Minecraft Dependency and select the red one, then put it all together and it should look like this:

if item in main hand of event/target entity = YOUR_WAND

  do (whatever you want to do)