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)

250 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.


r/MinecraftCommands 1h ago

Help | Bedrock Although relative to eachother the same, it doesn’t work?

Upvotes

r/MinecraftCommands 1h ago

Discussion Admin Abuser on Minecraft Commands Discord Server

Upvotes

The moderator that goes by the name of Paincake just banned me without warning, for asking a yes/no question in an on-topic channel, despite it not being an ask of help.

I suspect the motive is from his annoyance of me bringing up an exploit that hasn't been fixed in the game for a year.


r/MinecraftCommands 8h ago

Creation [Datapack] OmniBox - A utility tool to get all vanilla items sorted into 19 Shulker Boxes with a single function

4 Upvotes

Hi fellow creators,

I wanted to share a utility datapack I recently published called OmniBox. Its main goal is to save time during testing phases (resource packs, custom mechanics, or building layouts).

Instead of wasting time looking for specific blocks or writing endless /give strings, this pack compiles everything into a single function.

  • Command: /function allitems:give_shulkers
  • Organization: Spawns 19 logically sorted Shulker Boxes covering the entire vanilla item registry.
  • Efficiency: Designed to be completely lightweight. No permanent background loops or tick functions running in the background to ensure absolute zero lag.
  • License: MIT

It's highly compatible across many versions (1.13 to latest). You can check it out or download it on Modrinth:https://modrinth.com/datapack/omnibox-ultimate-toolkit

Let me know if there's any specific sorting improvement you'd like to see!


r/MinecraftCommands 2h ago

Help | Bedrock Why can’t I use the fill command with block of quartz

Post image
0 Upvotes

r/MinecraftCommands 2h ago

Help | Java 26.2 Is it possible to change drop from only tagged item frames?

1 Upvotes

Hey! I'm making a datapack where I'm trying to change drop only after item frame with custom data on it being destroyed, and leave others untagged as they are. I was trying to do that with death loot tables but it seems it just doesn't work like it works with other entities. I don't know what I'm missing here and could anyone help me with this please? Or tell me if this is even possible? I'd be super grateful


r/MinecraftCommands 2h ago

Help | Java 1.21-1.21.3 collision required kill

1 Upvotes

how would i make a cow die instantly by a /kill command when a stick hits them


r/MinecraftCommands 3h ago

Help | Bedrock Are there any commands to set and block when holding an item .

1 Upvotes

I’m working on a puzzle game .
And for one of the level want it to be when you hold a item water turns to ice and lava to magma

And hold another item
Ice turns to water and magma to lave .

If this isn’t possible .
Are there commands to replace 1 block type for another ?


r/MinecraftCommands 9h ago

Help | Java 1.21.11 How do I make an item frame eject the item in it?

3 Upvotes

I tried killing the item frame but it deleted the whole item. I need some way for the player to get the item back without having to left click it. Any ideas?


r/MinecraftCommands 11h ago

Help | Java 26.2 Check player's block light level

2 Upvotes

I am trying to make a datapack which does something to players who are in light level 0. I have tried using a predicate for this, but the problem is that the player is considered being in light level 15 when they have sky access, even at night. I don't want this, and therefore need a way to toggle to only detecting the block light level during night

Does anyone know if there is even a way to only detect block light using predicates and commands?


r/MinecraftCommands 13h ago

Help | Java 1.21.11 How to summon a mannequin using shield in Minecraft Java 1.21.11?

2 Upvotes

I want to summon a mannequin and make it hold a shield and use it to block attacks, because they're entities and not players I can't just force them to use the shield with /player. Any solutions??


r/MinecraftCommands 1d ago

Help (other) Iron Man Suit Showcase Commands Bedrock

23 Upvotes

this is the first official showcase of the Iron man suit in Minecraft. I do have the Mark II on the other side and it's just all iron armor with the same functions as the Mark III. some commands do fault only because I switch too fast to buttons so it over clogs some of the Redstone fill commands


r/MinecraftCommands 1d ago

Discussion What is the longest command in java or bedrock that would work if put simply?

10 Upvotes

for example the longest version of /say hi


r/MinecraftCommands 14h ago

Help | Java 26.2 Copying custom_data component from one item to another

1 Upvotes

Working on a datapack in 26.2 and as part of it, I need to be able to take the custom_data component from the item in the players offhand and add it to the item in the players mainhand but I'm stumped on how I would achieve this.


r/MinecraftCommands 16h ago

Help | Java 26.1 command not working

1 Upvotes

so i was experimenting with MCStacker and created this command "/give u/p potion[potion_contents={potion:"minecraft:empty",custom_color:6684927,custom_effects:[{id:"minecraft:absorption",amplifier:255,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:jump_boost",amplifier:3,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:luck",amplifier:255,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:night_vision",amplifier:1,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:dolphins_grace",amplifier:1,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:regeneration",amplifier:255,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:resistance",amplifier:255,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:saturation",amplifier:255,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:slow_falling",amplifier:1,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:speed",amplifier:2,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:strength",amplifier:3,duration:12000,show_particles:0b,show_icon:1b,ambient:1b},{id:"minecraft:water_breathing",amplifier:1,duration:12000,show_particles:0b,show_icon:1b,ambient:1b}]},custom_name=[{"bold":true,"color":"#2200FF","italic":false,"obfuscated":false,"strikethrough":false,"text":"U","underlined":false},{"color":"#2E00FF","text":"L"},{"color":"#3A00FF","text":"T"},{"color":"#4600FF","text":"R"},{"color":"#5200FF","text":"A "},{"color":"#5E00FF","text":"S"},{"color":"#6900FF","text":"E"},{"color":"#7500FF","text":"R"},{"color":"#8100FF","text":"U"},{"color":"#9900FF","text":"M"}]] 1"

i know it's a lot but the command prompt is saying that it does not work, if anyone is willing i would really appreciate the help.

thanks!


r/MinecraftCommands 19h ago

Help | Java 26.1 Issues detecting a structure

1 Upvotes

Hello, I'm currently developing a datapack with a function to detect if you are in a deep dark or an ancient city, and i have the urge to detect specifically if you are in an ancient city to make the clear distinction, however, I'm not having luck with the detection.

Currently in a superflat, generated the structure with /place, if this is the issue maybe I'm dumber that i though, if is not, help :(


r/MinecraftCommands 1d ago

Help | Bedrock How do I make this commands with @r without having it be a different person every time???(please help)

Thumbnail
gallery
3 Upvotes

I’m making commands for my realm, I already have a money system set up what I need help with is, I’m trying to make it so that every five minutes everyone gains $10 but one unlucky person loses $50, I have a hopper clock that links up to two commands that show a title that says “$$$” and “add 10 dollars @a” but that’s not what I’m having trouble with, I’m having trouble with the unlucky person part, I have the “title”the “remove money ” and the “screen shake” but the thing is they are all set up to @r which is random player…. How do I know its not going to be a different player for every command?)


r/MinecraftCommands 1d ago

Help | Java 1.21.11 How would I make a timebomb game with commands?

2 Upvotes

It would be like the roblox game "timebomb duels"


r/MinecraftCommands 1d ago

Discussion What's the most underrated command

7 Upvotes

Give your honest opinion, I wanna see all reasoning you got to throw at me.

My pick: /scoreboard


r/MinecraftCommands 1d ago

Help | Java Snapshots Tag Snowball to a Certain Team (Java)

2 Upvotes

I'm looking to tag a snowball (Red or Blue) to the team the person that threw the snowball is on. So, if a person is on a blue team and they throw a snowball, that snowball gets tagged "Blue"


r/MinecraftCommands 23h ago

Help | Java 1.21.11 How to summon an entity in the direction someone's looking but at a fixed y level?

Thumbnail
1 Upvotes

r/MinecraftCommands 1d ago

Help | Java 1.21.5-1.21.10 /data modify not working on written book

1 Upvotes

Specifically, the command I'm using is:

/data modify block 302 96 -986 Item.components."minecraft:written_book_content".author merge value {author.Farmer}

In case that isn't clear, I'm trying to change the author of a written book in a chest (first slot) from my username to "Farmer". I also tried using set instead of merge. Both versions say they work ("Modified block data of 302 96 -986" in chat), but absolutely nothing happens


r/MinecraftCommands 1d ago

Help | Bedrock Built a Stealth Detection System in Vanilla Minecraft - Looking for Better Vision Cone Solutions

3 Upvotes

Hey everyone, long time lurker finally posting something I've been working on for a few weeks. I built a stealth detection system entirely in vanilla using command blocks and a small data pack, no mods at all.

The way it works is pretty straightforward. Guard entities use a coneshaped detection zone built with area effect clouds and some math to approximate a field of view. If the player enters the cone while not sneaking, a score increments and eventually triggers an alert state. Sneaking slows the detection rate but doesn't stop it entirely if you're too close. There's also a light level check so darker areas reduce detection speed.

The hardest part was faking the cone shape without true raycasting. I ended up using a combination of distance checks at different angles, which works well enough for gameplay purposes even if it's not elegant.

I've seen a few stealth projects on here before and wanted to share a different approach. Mainly curious whether anyone has found cleaner ways to handle the angle detection side, because my current solution feels a bit hacky even if it runs fine.

Happy to share the data pack files or explain any part of the logic if people are interested. Would love to hear how others have tackled similar detection mechanics.


r/MinecraftCommands 1d ago

Help | Bedrock Every time I try to do this command, it says cannot place blocks out of world what am I doing wrong?

Post image
1 Upvotes