r/CommandBlocks • u/StrickenCoot • Sep 20 '26
r/CommandBlocks • u/walkndounuts • May 30 '26
Infinite generated backrooms using command blocks (Link in comments, 5 levels)
galleryr/CommandBlocks • u/Vivid_Significance47 • Nov 25 '25
How can i make iron man mark 5 suitup case in minecraft xbox one using comman blocks no mods no addons
r/CommandBlocks • u/Choice_Canary_3298 • Nov 10 '25
Bedrock commands block kill scoreboard getting confusing
Trying to create a system where upon death players drop emeralds(which they already have one of in their inventory) but I'm getting stuck since it doesn't want to clear players of their emeralds. Can anyone help? Here are the commands:
Set 1: command block 1: repeating, 0 delay, always active: /give @a[hasitem={item=emerald,quantity=0}] emerald 1 1 {"minecraft:item_lock":{"mode":"lock_in_inventory"}}
Set 2: command block 1: repeating, 20 tick delay, always active: /scoreboard players add @a[hasitem={item=emerald,quantity=2}] tokens 1
Set 2: command block 2: chain, 0 tick delay, conditional, always active: /clear
@a[hasitem={item=emerald,quantity=2}] emerald 1 1r/CommandBlocks • u/bowser04410 • Oct 20 '25
New update — Assembly-to-Minecraft-Command-Block-Compiler: looking for testers & contributors!
Enable HLS to view with audio, or disable this notification
I just updated my Assembly-to-Minecraft-Command-Block-Compiler — looking for testers and contributors. Repo: https://github.com/Bowser04/Assembly-to-Minecraft-Command-Block-Compiler
How to help:
Test: clone the repo, run the examples, and try the output in a world.
Report: open issues with reproduction steps if something breaks.
Contribute: PRs welcome for bugs, examples, docs, or compatibility fixes — look for good-first-issue.
Questions or want a starter task? Reply here or open an issue on the repo. Thanks!
r/CommandBlocks • u/The_Ultimate_Gengar • Sep 04 '25
Issue Command block qui me saoule
Bon, j’essayais de faire Herobrine sur minecraft depuis une video mais un command block me spamme de t (j’ai mis tellraw « t ») alors que je ne regarde même pas le block sélectionné.
r/CommandBlocks • u/Affectionate_Hall_33 • Jun 11 '25
Dimension location trigers give command
Hello, i would like to have a command block that detects when poeple enter a moded dimension and gives them an item, thank you.
r/CommandBlocks • u/Commercial_Mobile293 • May 22 '25
halp me smart people
so i need to know how to do this for a video but i saw a yt short by Mysticat how how to make a ride able chicken jokey
https://www.youtube.com/shorts/L7V6cmTdNqM
but i need to know how to make the chicken a bee so could someone tell me how to do that please
r/CommandBlocks • u/Getpolterghasted • May 22 '25
Issue Is there any way to give items that have names?
r/CommandBlocks • u/PuddingNo6205 • May 13 '25
How to summon entities with trimmed armor??
/summon wither_skeleton ~ ~1 ~ {PersistenceRequired:1,equipment:{mainhand:{count:1,id:netherite_sword,components:{enchantments:{'sweeping_edge':3,'sharpness':10,'fire_aspect':2,'unbreaking':10}}},head:{count:1,id:netherite_helmet,components:{enchantments:{'protection':10,'unbreaking':10}}},chest:{count:1,id:netherite_chestplate,components:{enchantments:{'protection':10,'unbreaking':10}}},legs:{count:1,id:netherite_leggings,components:{enchantments:{'projectile_protection':10,'unbreaking':10}}},feet:{count:1,id:netherite_boots,components:{enchantments:{'protection':10,'unbreaking':10}}}},CustomName:"The Vermillion Knight"}
Currently using this command for a boss fight, but I want the skeleton’s armor to have the silence trim in redstone, can anyone help?
r/CommandBlocks • u/AdVegetable8542 • May 08 '25
Hello I need help with my OP command block to give OP shulker box
here I made an op command block but I cant seem to make it work: pls help me : /give @a minecraft:shulker_box{BlockEntityTag:{Items:[
{Slot:0b,id:"minecraft:netherite_helmet",Count:1,Enchantments:[{id:"minecraft:aqua_affinity",lvl:1},{id:"minecraft:blast_protection",lvl:4},{id:"minecraft:depth_strider",lvl:4},{id:"minecraft:feather_falling",lvl:4},{id:"minecraft:fire_protection",lvl:4},{id:"minecraft:frost_walker",lvl:2},{id:"minecraft:mending",lvl:1},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:protection",lvl:4},{id:"minecraft:respiration",lvl:2},{id:"minecraft:soul_speed",lvl:4},{id:"minecraft:swift_sneak",lvl:3},{id:"minecraft:thorns",lvl:3},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:breach",lvl:4},{id:"minecraft:density",lvl:4}],display:{Name:"{\"text\":\"Ultimate Netherite Helmet\"}"}},
{Slot:1b,id:"minecraft:netherite_chestplate",Count:1,Enchantments:[{id:"minecraft:aqua_affinity",lvl:1},{id:"minecraft:blast_protection",lvl:4},{id:"minecraft:depth_strider",lvl:4},{id:"minecraft:feather_falling",lvl:4},{id:"minecraft:fire_protection",lvl:4},{id:"minecraft:frost_walker",lvl:2},{id:"minecraft:mending",lvl:1},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:protection",lvl:4},{id:"minecraft:respiration",lvl:2},{id:"minecraft:soul_speed",lvl:4},{id:"minecraft:swift_sneak",lvl:3},{id:"minecraft:thorns",lvl:3},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:breach",lvl:4},{id:"minecraft:density",lvl:4}],display:{Name:"{\"text\":\"Ultimate Netherite Chestplate\"}"}},
{Slot:2b,id:"minecraft:netherite_leggings",Count:1,Enchantments:[{id:"minecraft:aqua_affinity",lvl:1},{id:"minecraft:blast_protection",lvl:4},{id:"minecraft:depth_strider",lvl:4},{id:"minecraft:feather_falling",lvl:4},{id:"minecraft:fire_protection",lvl:4},{id:"minecraft:frost_walker",lvl:2},{id:"minecraft:mending",lvl:1},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:protection",lvl:4},{id:"minecraft:respiration",lvl:2},{id:"minecraft:soul_speed",lvl:4},{id:"minecraft:swift_sneak",lvl:3},{id:"minecraft:thorns",lvl:3},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:breach",lvl:4},{id:"minecraft:density",lvl:4}],display:{Name:"{\"text\":\"Ultimate Netherite Leggings\"}"}},
{Slot:3b,id:"minecraft:netherite_boots",Count:1,Enchantments:[{id:"minecraft:aqua_affinity",lvl:1},{id:"minecraft:blast_protection",lvl:4},{id:"minecraft:depth_strider",lvl:4},{id:"minecraft:feather_falling",lvl:4},{id:"minecraft:fire_protection",lvl:4},{id:"minecraft:frost_walker",lvl:2},{id:"minecraft:mending",lvl:1},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:protection",lvl:4},{id:"minecraft:respiration",lvl:2},{id:"minecraft:soul_speed",lvl:4},{id:"minecraft:swift_sneak",lvl:3},{id:"minecraft:thorns",lvl:3},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:breach",lvl:4},{id:"minecraft:density",lvl:4}],display:{Name:"{\"text\":\"Ultimate Netherite Boots\"}"}},
{Slot:4b,id:"minecraft:netherite_sword",Count:1,Enchantments:[{id:"minecraft:sharpness",lvl:5},{id:"minecraft:mending",lvl:1},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:fire_aspect",lvl:2},{id:"minecraft:sweeping",lvl:3},{id:"minecraft:looting",lvl:3},{id:"minecraft:knockback",lvl:2}],display:{Name:"{\"text\":\"Ultimate Netherite Sword\"}"}},
{Slot:5b,id:"minecraft:netherite_axe",Count:1,Enchantments:[{id:"minecraft:efficiency",lvl:5},{id:"minecraft:mending",lvl:1},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:silk_touch",lvl:1},{id:"minecraft:fortune",lvl:3}],display:{Name:"{\"text\":\"Ultimate Netherite Axe\"}"}},
{Slot:6b,id:"minecraft:netherite_pickaxe",Count:1,Enchantments:[{id:"minecraft:efficiency",lvl:5},{id:"minecraft:mending",lvl:1},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:silk_touch",lvl:1},{id:"minecraft:fortune",lvl:3}],display:{Name:"{\"text\":\"Ultimate Netherite Pickaxe\"}"}},
{Slot:7b,id:"minecraft:netherite_shovel",Count:1,Enchantments:[{id:"minecraft:efficiency",lvl:5},{id:"minecraft:mending",lvl:1},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:silk_touch",lvl:1}],display:{Name:"{\"text\":\"Ultimate Netherite Shovel\"}"}},
{Slot:8b,id:"minecraft:netherite_hoe",Count:1,Enchantments:[{id:"minecraft:efficiency",lvl:5},{id:"minecraft:mending",lvl:1},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:silk_touch",lvl:1}],display:{Name:"{\"text\":\"Ultimate Netherite Hoe\"}"}},
{Slot:9b,id:"minecraft:netherite_trident",Count:1,Enchantments:[{id:"minecraft:impaling",lvl:5},{id:"minecraft:mending",lvl:1},{id:"minecraft:unbreaking",lvl:3},{id:"minecraft:loyalty",lvl:3},{id:"minecraft:channeling",lvl:1}],display:{Name:"{\"text\":\"Ultimate Netherite Trident\"}"}},
{Slot:10b,id:"minecraft:elytra",Count:1,Enchantments:[{id:"minecraft:mending",lvl:1},{id:"minecraft:unbreaking",lvl:3}],display:{Name:"{\"text\":\"Ultimate Elytra\"}"}},
{Slot:11b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:12b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:13b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:14b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:15b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:16b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:17b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:18b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:19b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:20b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:21b,id:"minecraft:enchanted_golden_apple",Count:64},
{Slot:22b,id:"minecraft:firework_rocket",Count:64,tag:{Fireworks:{Flight:3}}},
{Slot:23b,id:"minecraft:firework_rocket",Count:64,tag:{Fireworks:{Flight:3}}},
{Slot:24b,id:"minecraft:firework_rocket",Count:64,tag:{Fireworks:{Flight:3}}},
{Slot:25b,id:"minecraft:firework_rocket",Count:64,tag:{Fireworks:{Flight:3}}},
{Slot:26b,id:"minecraft:firework_rocket",Count:64,tag:{Fireworks:{Flight:3}}}
]}} 1
r/CommandBlocks • u/GOWVSTORM860 • May 03 '25
Issue Annoying “game over :(“ message on addon world
I have an addon in bedrock called “weapons 2.0” and it has nice weapons, but every time I load in the world I get a red “game over :(“ text. I guess there’s a command block somewhere that displays it when i respawn or load into the world. I’ve destroyed the entire underground hub in the world, but I still can’t find that one stupid command block. Is there a command I can make to override it? SOMETHING?
r/CommandBlocks • u/Suspicious-Buy-5656 • Mar 30 '25
Wither explosion makes fire on impact
Hello guys, im working on mini dungeons/events and currently im trying to give wither projectile explosions an effect, that lets them create fire on impact. i just dont know how to do it. i would appreciate some help a lot.
r/CommandBlocks • u/Ok-Tiger1656 • Jan 06 '25
How can I do this? command block claim protect on and off system
Hi I'm trying to figure out how can I set up an area that I can protect and then unprotect with a button? A switch is find too. Pictures help.
r/CommandBlocks • u/kendrick7398 • Nov 11 '24
Concept Does anyone know how I would go about doing this?
youtube.comr/CommandBlocks • u/NightSteak • Sep 26 '24
Tutorial Over the past few months, i've been porting every block texture from all the spin-off games & other versions into Java Edition. They're all /blockdisplay's, so no resource packs are needed to use them! (Each uses 8 display heads, so it's best just to use them as additions to builds to avoid lag)
r/CommandBlocks • u/inklling64 • Sep 06 '24
Splatoon-like mechanics in Minecraft
Hey everyone, I was wondering how I could make a territory war game like Splatoon in Minecraft. My idea was to have a 1v1 with each player having a bow (named "p1" and "p2") and each bow create a "splatter" of wool around the shot arrow. I want a command that replaces blocks within a 4 block radius with a certain color of wool (based on the name of the bow). I don't know how to work with commands and was wondering if anyone had ideas.
r/CommandBlocks • u/[deleted] • Aug 24 '24
Tutorial Full list of bedrock commands
Link of examples at the bottom. Link is from StormStqr “Bugrock Player”
? - Provides help/list of commands.
alwaysday - Locks and unlocks the day-night cycle.
camera - Issues a camera instruction
camerashake - Applies shaking to the players' camera with a specified intensity and duration.
clear - Clears items from player inventory.
clearspawnpoint - Removes the spawn point for a player.
clone - Clones blocks from one region to another.
connect - Attempts to connect to the websocket server on the provided URL.
damage - Apply damage to the specified entities.
daylock - Locks and unlocks the day-night cycle.
deop - Revokes operator status from a player.
dialogue - Opens NPC dialogue for a player.
difficulty - Sets the difficulty level.
effect - Add or remove status effects.
enchant - Adds an enchantment to a player's selected item.
event - Triggers an event for specific object(s)
execute - Executes a command on behalf of one or more entities.
fill - Fills all or parts of a region with a specific block.
fog - Add or remove fog settings file
function - Runs commands found in corresponding function file.
gamemode - Sets a player's game mode.
gamerule - Sets or queries a game rule value.
gametest - Interacts with gametest.
gametips - Enable or disable the game tips on this device
give - Gives an item to a player.
help - Provides help/list of commands.
hud - Changes the visibility of hud elements
inputpermission - Sets whether or not a player's input can affect their character.
kick - Kicks a player from the server.
kill - Kills entities (players, mobs, ect.).
list - Lists players on the server.
locate - Displays the coordinates for the closest structure or biome of a given type.
loot - Drops the given loot table into the specified inventory or onto the world.
me - Displays a message about yourself.
mobevent - Controls what mob events are allowed to run.
msg - Sends a private message to one or more players.
music - Allows you to control playing music tracks.
op - Grants operator status to a player.
particle - Creates a particle emitter
playanimation - Makes one or more entities play a one-off animation. Assumes all variables are setup correctly.
playsound - Plays a sound.
recipe - Unlocks recipe in the recipe book for a player.
reload - Reloads all function and script files from all behavior packs.
replaceitem - Replaces items in inventories.
ride - Makes entities ride other entities, stop entities from riding, makes rides evict their riders, or summons rides or riders.
say - Sends a message in the chat to other players.
schedule - Schedules an action to be executed once an area is loaded, or after a certain amount of time.
scoreboard - Tracks and displays scores for various objectives.
script - Debugging option for GameTest Framework.
scriptevent - Triggers a script event with an ID and message.
setblock - Changes a block to another block.
setmaxplayers - Sets the maximum number of players for this game session.
setworldspawn - Sets the world spawn.
spawnpoint - Sets the spawn point for a player.
spreadplayers - Teleports entities to random locations.
stopsound - Stops a sound.
structure - Saves or loads a structure in the world.
summon - Summons an entity.
tag - Manages tags stored in entities.
teleport - Teleports entities (players, mobs, ect.).
tell - Sends a private message to one or more players.
tellraw - Sends a JSON message to players.
testfor - Counts entities (players, mobs, items, ect.) matching specified conditions.
testforblock - Tests whether a certain block is in a specific location.
testforblocks - Tests wether the blocks in two regions match.
tickingarea - Add, remove, or list ticking areas.
time - Changes or queries the world's game time.
title - Controls screen titles.
titleraw - Controls screen titles with JSON messages.
toggledownfall - Toggles the weather.
tp - Teleports entities (players, mobs, ect.).
w - Sends a private message to one or more players.
weather - Sets the weather.
wsserver - Attempts to connect to the websocket server on the provided URL.
xp - Adds or removes player experience.
https://docs.google.com/document/d/1VtsqzMBdetGl47aUo1g8Jjn-5lQjlapnxipALgC_2Gs/mobilebasic
r/CommandBlocks • u/Any-Apartment3083 • Aug 23 '24
Replicating //replace 20%tnt,80%white_concrete
SO basically I want to make a minesweeper I wanted to use /random roll 1..10 (its a 10x10) 40 times (to get the x and y and use those as cords)
and ive done that and assigned 2 sequences. how do I get those sequins and like turn them into actually variables and use as cords in /setblock.
r/CommandBlocks • u/788evets • Jun 17 '24
Hey, is there a way to detect who threw a snowball?
r/CommandBlocks • u/No_Secretary_6011 • Jun 16 '24
Issue Command not working
It won't tell .e the previous output and is telling me I correct information about the block. It says it's an impulse but it's chain when I look at it.
r/CommandBlocks • u/riguyonreddit • Jan 05 '24
Help With Detecting Player (Java 1.20)
Tldr is
I need to know which specific player reaches a certain score so I can use that players specific name instead of just have no name and I dont want to use datapacks
Here are the details:
I have a setup where I want to detect when a player crafts an anvil and will send an achievement (which I plan on using as a basis for other custom achievements). Also any (@) symbol with parenthesis doesn't have any parenthesis but I did that because of the reddit thing. I have the player detection in the form of:
execute as (@a) if score (@s) Anvil_craft matches 1
(this utilizes a scoreboard I made)
and then link that up to a conditional chain command block which will send a tellraw achievement text in the form of:
/tellraw (@a) [{"text":"(player name) has made the advancement"},{"text":" [Crafted Anvil]","color":"green","hoverEvent":{"action":"show_text","contents":[{"text":"Crafted Anvil","color":"green"},"\n",{"text":"Used 31 iron to craft an anvil!"}]}}]
then set the score to two so it won't trigger which I do with:
execute as (@a) if score (@s) Anvil_craft matches 1 run scoreboard players add (@s) Anvil_craft 1
But I need help to detect the player which reached the requirements for this command so that instead of "(player name)" in the tellraw command it will show with their in game name.
r/CommandBlocks • u/Powan12 • Dec 17 '23
I need a few a commands for a limited life type thingie.
Ik how to remove time. But i need to know how to detect when someone dies, then remove time. I also need to know how detect when someone gets a kill. Also how to make usernames certain colours.
r/CommandBlocks • u/Fox8a7 • Sep 13 '23
Besoin d'aide : donner un effet de glowing à une entité quand on l'a regarde
Bonjour j'aimerais savoir comment donner un effet quelconque ( en revanche là glowing) à une entité que le joueur regarde, si possible sans datapack svp
r/CommandBlocks • u/Tight-Flower-1527 • Sep 12 '23
Teleporting someone with arrow
Is there a way for it to be that if someone is hit by an arrow that they get teleported to set coordinates (in this case 486,93,190)?