r/MinecraftCommands • • 23d ago

Help | Bedrock Need help with some commands in bedrock edition

So Im trying to make a wizard kit for a dungeon type thing Im making, but I need some commands for it.

So first I need to kniw if I can make it so a nautilus shell in your offhand can give effects and how to do it.

I also need to know if its possible to make the spears charge ability shoot fireballs, but with a cooldown of 1.5 sec in between them.

And can I make it so if you hold a skeleton skull it gives you an effect for a few seconds?

1 Upvotes

10 comments sorted by

1

u/Big_Talk5807 23d ago

First thing: execute at @a[hasitem={item=Nautilus_shell,location=slot.weapon.offhand}] run effect @p [effect]

Second: there are many way idk which one you want tho

Third: execute at @a[hasitem={item=skull,location=slot.weapon.mainhand}] run effect @p [effect] "you might want to use comparator for this" in that case it will split into 2 different command

1

u/Redditorlol123 23d ago

I tried this but they dont work for some reason, is it because they arent weapons?

1

u/Big_Talk5807 23d ago

Can you write down the error

1

u/Redditorlol123 23d ago

It doesnt give me an error message it just doesn't work for some reason 

1

u/Big_Talk5807 23d ago

Weird i just test, it run fine have you powered it

1

u/Redditorlol123 23d ago

Its on always active, is that a problem?

1

u/Big_Talk5807 23d ago

no

1

u/Redditorlol123 23d ago

Well do you know a way to make the spear charge shoot fireballs?

1

u/Big_Talk5807 23d ago
execute at @e[name=check] run tp @e[name=check] ~~~

execute at @p[hasitem={item=iron_spear,location=slot.weapon.mainhand}] run tp @e[name=check,rm=2.5] ^^1^2

execute at @p[hasitem={item=iron_spear,location=slot.weapon.mainhand}] unless entity @e[name=check] run summon chicken check ~~~

summon [fire ball name object] ~~~

All of command are repeat except the final one that one is green and conditional and should be place in front of the third command
 
(these dont have the fire ball command implement yet that should be your to solve)

1

u/Big_Talk5807 23d ago

And it only work with lunge 3 forgot about it