itemstack dependency??

Started by pogblob on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Sep 2021
Points:
524

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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

Active 1 year ago
Joined Oct 2020
Points:
1615

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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

Active 3 years ago
Joined Sep 2021
Points:
524

User statistics:

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

which category is "if item in" in?

Active 1 year ago
Joined Oct 2020
Points:
1615

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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)