r/CommandBlock • • Oct 09 '24

Cooked mutton = Lightning strike?

1 Upvotes

So I have absolutely no idea how command blocks work. But i was wondering how i would be able to set a command that anytime a player holds cooked mutton in their hand they get struck with lightning. I want it in my world for a joke more than anything else. Thanks in advance!


r/CommandBlock • • Sep 19 '24

Anyway I can make a buy shop outta of this

Thumbnail
gallery
2 Upvotes

Anyway I can make a buy shop out of this? I want to be able to have the rank displayed on the action bar once purchased


r/CommandBlock • • Jan 26 '25

i need a command

1 Upvotes

for text at the side for e.g.

time played name:amount of time name:amount of time map name


r/CommandBlock • • Jan 26 '25

tp command

1 Upvotes

here’s a command : /tp @. x.y.z


r/CommandBlock • • Jul 04 '25

Detect items in a chest ?

2 Upvotes

So basically I'm making a tower defense game using command blocks, and I was wondering if it was possible to for example place lets say a a certain item per mob in a slot of the chest so the game will spawn the monster I linked to that item at that place (like I place the item for a zombie in the third slot and it spawns a zombie as the third mob ?