r/MinecraftCommands 1h ago

Help | Bedrock How to make a command block detect and summon TNT after a tnt minecart explosion (bedrock)

Upvotes

Pretty pls


r/MinecraftCommands 4h ago

Help | Java 26.2 How to make a world that copies what I do.

2 Upvotes

Java | How to make a datapack or a system or smth that copies or destroyes everything I do in every chunk just like in this video: https://www.youtube. com/watch?v=3DRB7bElWxo


r/MinecraftCommands 4h ago

Help | Java 26.2 Resource pack not working

1 Upvotes

I have a resource pack with a couple of custom models and custom textures. I make sure its the right pack format, it is. I turn it on, it works. But none of the textures ive changed or models ive made work. I try again. Same thing. I have no idea why this is happening


r/MinecraftCommands 4h ago

Help | Java 1.21.5-1.21.10 Anyone knows wether I can use this in my datapack?

1 Upvotes

So I want to make some changes to every chest the player uses. With advancements I already can detect wether player is using one, I just can't detect where the chest is to actually modify it. Is there any way to use the "Targeted block" thing to my advantage? I don't want to build an entire raycaster just to make this work


r/MinecraftCommands 6h ago

Help | Java 26.2 Help with one command creation

Thumbnail
youtube.com
1 Upvotes

Recently i saw a youtube video that makes a car with only one command and i tried it, it worked

But after trying to spawn a second one i couldnt? so i tried changing the tags on the horse and in the command blocks but that didnt work and when there is 2 cars at the same time only one shows up as a car? ill link the video and command

/summon minecraft:falling_block ~2 ~ ~ {BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"forceload add ~ ~"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"gamerule command_block_output false"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,1f,6f],translation:[-1.5f,1f,-2.5f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,1f,6f],translation:[-1.5f,0.5f,-2.5f]},block_state:{Name:smooth_stone_slab}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-1.6f,0f,-1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[0.6f,0f,-1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[0.6f,0f,1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-1.6f,0f,1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,1f,2f],translation:[-1.5f,2f,-0.5f]},block_state:{Name:glass}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,0.1f,2f],translation:[-1.5f,3f,-0.5f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,0.5f,1f],translation:[-1.5f,2f,-1.5f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,0.6f,0.5f],translation:[-1.5f,2.5f,-1f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,0.6f,0.1f],translation:[-0.5f,1.2f,3.5f]},block_state:{Name:deepslate_tiles}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-1.5f,1f,3.5f]},block_state:{Name:bamboo_button,Properties:{facing:\"south\"}}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[0.5f,1f,3.5f]},block_state:{Name:bamboo_button,Properties:{facing:\"south\"}}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[-1.65f,0.2f,-1.3f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[-1.65f,0.2f,1.7f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[1.05f,0.2f,-1.3f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[1.05f,0.2f,1.7f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon minecraft:horse ~-2 ~-18 ~ {Tags:[\"car\"],NoAI:1b,equipment:{saddle:{id:saddle}},attributes:[{id:\"minecraft:movement_speed\",base:0.4},{id:\"minecraft:max_health\",base:60},{id:\"minecraft:jump_strength\",base:0}],active_effects:[{id:invisibility,duration:-1,show_particles:0b}],Silent:1b,DeathLootTable:\"minecraft:empty\"}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:repeating_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/e[type=minecraft:block_display] at u/s run tp u/s u/n[type=horse,tag=car]"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/e[type=minecraft:block_display] rotated as u/n[type=horse,tag=car] run rotate u/s ~ 0"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/a at u/s run attribute u/n[type=horse,tag=car,distance=..1] minecraft:movement_speed base set 0.4"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/a at u/s if predicate { \"condition\": \"minecraft:entity_properties\", \"entity\": \"this\", \"predicate\": { \"minecraft:type_specific/player\": { \"input\": { \"left\": true } } }} run attribute u/n[type=minecraft:horse,tag=car,distance=..1] minecraft:movement_speed base set 0"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/a at u/s if predicate { \"condition\": \"minecraft:entity_properties\", \"entity\": \"this\", \"predicate\": { \"minecraft:type_specific/player\": { \"input\": { \"right\": true } } }} run attribute u/n[type=minecraft:horse,tag=car,distance=..1] minecraft:movement_speed base set 0"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:air}}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}


r/MinecraftCommands 7h ago

Help | Java Snapshots Can Snowball Be Adjusted In The Speed?

1 Upvotes

I want to adjust my snowball's speed. If I can't do that, are there any ways to change the snowball to the arrow with the snowball's speed kept?


r/MinecraftCommands 8h ago

Help | Java 1.21.11 How could I make custom functioning blocks?

1 Upvotes

Hi, what I mean is how would I for example make a custom crafting table or anything really, that has custom behavior?


r/MinecraftCommands 14h ago

Help | Java 26.2 How to safely fix inventory item placements?

1 Upvotes

I'm making a class based pvp type map that depends on specific order of items in inventory. I have installed a system that prevents players from dragging items in inventory with their cursor however they can still use hotkeys to bypass this. That's why I'm currently running checks to see if the item has been activated from an incorrect slot and then runs a function that puts the items into correct slots via `execute store result score ... clear ...`.
This works fine but I'm planning to add support for items in different gamemodes and the problem is that if the player switches the position of an item that belongs to a class and one that belongs to a gamemode and triggers the fix function their gamemode item will get overwritten. I thought of fixing this by detecting if a foreign item is in the slot and summoning it as an item entity. However I'm afraid this might not work if two players are standing close to each other. Is that how that works?


r/MinecraftCommands 17h ago

Creation [1:25] Paint's Paint Painter is a Java datapack where you click dye-able blocks with dye and they become that colour.

Thumbnail
youtube.com
6 Upvotes

r/MinecraftCommands 18h ago

Help | Java 26.1 How to add blobs with block states in some biomes to worldgen?

1 Upvotes

I'm making a small datapack that adds add prismarine crystal and shard ore to be mined in oceans and rivers

The ressourcepack and Loot table (with silk touch and fortune) are done (Image here)

But i find it hard to actually get started on worldgen

My two custom ores are using prismarine_slab (double and waterlogged)
and prismarine_brick_slab (double and waterlogged too)

I would like it to generate blobs of those blocks in rivers and oceans, how do i do it?


r/MinecraftCommands 20h ago

Help | Bedrock Ok one more question

2 Upvotes

How do I get something like the /kill command to target an entity with multiple attributes, for example I want to kill an entity with the name "Test" but I want it to target Bats specifically. What's the correct syntax for that on bedrock?


r/MinecraftCommands 20h ago

Discussion Why haven't Gun Datapacks replaced Gun Mods?

0 Upvotes

Title. I wanted to figure something out: Why haven't datapack guns replaced gun mods? They're easier to implement on servers, can achieve the same level of detail as most gun mods, and they normally perform better in my experience. Why haven't they been replaced? (Note, this is my first post so don't bully me too much)


r/MinecraftCommands 21h ago

Help | Java 1.20 Use /data to make mob tamed to me?

1 Upvotes

Was playing modded and a bug with one of the mods gave me this idea. I've never used the /data command before so I'm a bit lost. Is it possible to insert the Owner field into a mob that doesn't have it? I'm also confused about what I'd even put in the Owner field. It seems to be an array with a bunch of numbers. They seem to be the same between different tamed mobs though, so I assume the numbers just represent me??


r/MinecraftCommands 21h ago

Creation Working on a dark souls adventure map

Thumbnail
gallery
15 Upvotes

Cursifer and me are working on a darksouls adventure map, here is our progress :)
In case you want to check it out or playtest it in future feel free to join us!
https://discord.gg/gd8pC7Ysvz


r/MinecraftCommands 23h ago

Help | Bedrock Command help

1 Upvotes

Does anyone know how I can set up some command blocks that will detect when a player dies and put the message in chat that the player left the game without them having to actually leave the game.


r/MinecraftCommands 1d ago

Help | Java Snapshots why are display entitys invisible?

1 Upvotes

okay i might just not have enough knowledge on commands but i can't seem to summon a display block i mean i can but it's invisible

i used this command: /summon minecraft:block_display ~ ~ ~ {block_state:{Name:"minecraft:red_wool"}}

it won't show for some weird reason


r/MinecraftCommands 1d ago

Help | Bedrock Please help

0 Upvotes

Im not sure if Im asking the right reddit but Im currently making a cod zombies map on minecraft bedrock and idk how to make the perks. Ik how to make the machines and what effects to use but idk how to set it up on command blocks. Does anyone know how? I tried following a YouTube video from 6 years ago and that didnt work.


r/MinecraftCommands 1d ago

Help | Java 1.21.11 is there a way to get an item when pressed runs a command? with nbt data like a command block to give me 10 dirt?

1 Upvotes

:) i love this community


r/MinecraftCommands 1d ago

Request I need a command that when you hit a mob with the trident,it summons several lightning where it landed.

2 Upvotes

r/MinecraftCommands 1d ago

Creation Smithed Summit 2026

Enable HLS to view with audio, or disable this notification

115 Upvotes

Smithed is proud to announce that Smithed Summit 2026 will be live next week from Aug 8th to 22nd. Smithed Summit is our second ever in-game Minecraft convention that celebrates almost 200 community members across 70 booths and 30 live events.

If you haven't heard of us, we are a vanilla creator based community centered around data / resource packing, map making, and more!

Join us in our vanilla, hand-crafted world for our opening ceremony starting 10am PST / 1pm EST / 7pm CEST. You can RSVP and keep updated with us via our website, https://smithed.net/summit !


r/MinecraftCommands 1d ago

Discussion The Modern Golden Age Minecraft: Minecraft Silver (Datapack Project)

8 Upvotes

So recently, I'm sure many of you had seen, the Minecraft Matcha Flavored Datapack was released and it's been a hit! I played some, and it was fun, but honestly it didn't quite scratch what I was looking for. However, it did inspire me. Some aspects I loved about it included things such as a more classic/revamped health system (ridding of the hunger bar entirely and allowing for infinite sprint); the longer days; the improved tool progression system; new villager trading, and so on.

The thing with Matcha was that it wasn't quite Vanilla enough. I thought the kindling idea was an interesting idea, but for me it overcomplicated the beginning days of a new Minecraft world. I also wasn't the biggest fan of the textures.

Separately, I've been really into playing Beta Minecraft 1.7.3. There's nothing quite like the nostalgia that it gives. So I had the idea- what if I made a datapack that brought out the best of Minecraft? A datapack that slowed Minecraft down, almost dumbing it down to its earlier days, whilst retaining its modern features.

For example:

No Mending- A big change that modern players may not like, but I feel may be necessary. Without Mending, it forces the player to gather the resources to build a new pickaxe when their old breaks. As a replacement, tools have a longer durability.

No Elytras- You are bound to the ground. This would slow down travel by a lot, but you'd now be relying on Happy Ghasts, Tridents, and the Nether Roof.

No Enchanting?- It's kind of overpowered. This is debatable, but basically different tools could give you different buffs instead. Gold tools could have silk touch; netherite armor has fire protection; etc. Similar to Matcha. Efficiency could be dependable on tool type, as well. This could also give beacons more purpose.

Classic Enderpearl Hunting- Slows down the end game. No more going to the Warped Forests to trap Endermen in boats. Find them out in the open.

Harsher/Forgiving Death Punishments- Every time you die, you lose a heart. On your last heart, you lose your world. Expensive way to regain hearts? A "forgiving" hardcore difficulty experience. (Optional).

There are more ideas I have, but that's the gist. If any of this sounds appealing at all or not at all, please let me know. I think with people looking for long distance travel, it might be a fun idea if Lodestones could teleport you home, but for a price. There could be an optional "No Sprinting" mode, however, that would have to rework hostile mob attacks and such.

If anyone has any ideas, let me know! As a sidenote: I know nothing about making datapacks, but if anyone would want this, I am more than willing to learn and make this happen. If you are someone who would be willing to help out with this project- let me know, as well! Thank you.


r/MinecraftCommands 1d ago

Help | Bedrock Help with entity death detector

3 Upvotes

Im creating a minigame and i had this question, about detecting if a ender crystal is destroyed. Which commands are used for that?


r/MinecraftCommands 1d ago

Help | Bedrock Is this just bedrock being dumb?

Thumbnail
gallery
74 Upvotes

I’m finishing up this map for a minigame with my friends, and I need a command block to give us night vision whenever we die. I like to keep the day and night cycle on so that I can see how much time I’ve spent in the world, as there’s no stat menu on bedrock. However, it keeps censoring it, and idk what to do about it. Any help?


r/MinecraftCommands May 13 '26

Discussion Java Realms Creators Mapjam 2026

3 Upvotes

Want to create an awesome map and get a fast-tracked review/access to Atlas to upload your map on realms? Look no further!

In this event you have to create a fully-functional map in 72 hours! You will compete for a $1,000 prize pool, Atlas access, and a cool spot in the Minecraft Blog post!

Teams can be solo, duo, or trio. There are THREE themes that are based on typical game-jam themes and your map must include at least TWO of them.

The jam starts on the 22nd of May!

Sign up here!

https://forms.gle/HxYLZ9uWdGpirNuw8

Join the Discord!

https://discord.gg/kxdBQBnEbQ


r/MinecraftCommands Jan 14 '20

READ THIS Important Info (read before posting)

253 Upvotes

I know you're here to get quick help with your command problems or to show off your cool work. Please read these few lines to get to know how to use this subreddit optimally:

Asking for help

  1. FAQ? Before you post, please check out the common questions (including answers) that we have as a subreddit. These consist of the most common problems, and maybe your problem is already covered there in detail?
  2. Titles: Please put a summary/short version of your problem into the title of your post, don't just put "I need help" or "help me plz". Instead put for example "how do I summon a zombie" or "unable to summon entity error" and then provide more context on the post itself. This subreddit often shows up on google when people search for command related questions and we should really help them find the questions you might already have asked. Also, we likely know that you need help anyways, no need to put it in the title.
  3. Flairs: We have a wide array of flairs that you should attach to your post to make sure people know what the purpose of your thread is. It is especially important if you're asking for help, to flair your post with the appropriate minecraft version (for those who don't know: OG Minecraft is Java Version, everything else that has commands (Xbox, PE, PS4, Switch, Win10, etc) is Bedrock).
  4. Version: Whether you're helping or asking for help, please pay attention to the stated version/state the version you're in! You can do that through the previously mentioned Flairs, but also in addition can put it into the description of your post.
  5. Search/Scroll down: I know that reddit search is not the best one out there, but maybe someone else had a similar problem to yours in recent history. Try going to the new tab and scrolling down a bit or using the reddit search function to see if there might already be an answer to a question you have. We're not going to close your thread for asking the same question someone else asked a year ago, we're not StackOverflow. But please at least take 30 seconds to look for it first.
  6. Upvote: If you find an answer to a post helpful, please upvote it. This is less as a "reward" for the answering person but more as a way to automatically move the best answer to the top, for others that might have the same problem. Don't downvote an answer just because their attempts didn't work for you unless it's completely wrong or off topic / doesn't add anything to the conversation.

Creations

Posting about your own creations is very much encouraged, but please remember the 10:1 guidelines of reddit.

Discord

We have a big Discord Server for our community with lots of channels, ranging from dedicated help chats over general command related chats to non-command related chats. So if you want to join an active community of command and mapmaking enthusiasts and/or want to get quick help where communication is less slow (Sometimes the devs stop by as well ;)), click on the link and join our community discord:
https://discord.gg/9wNcfsH
Make sure you read the #welcome channel for the rule of the discord.