Started by
pogblob
on
Topic category: Help with Minecraft modding (Java Edition)
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
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
which category is "if item in" in?
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)