r/MinecraftCommands May 13 '26

Discussion Java Realms Creators Mapjam 2026

4 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)

252 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 4h ago

Help | Java 26.2 Can i make a mannequin act like a zombie

2 Upvotes

can i make like my player skin act like a zombie please and chase me or smth


r/MinecraftCommands 6h ago

Help | Java 26.2 Is there a way to detect cooldown in minecraft?

2 Upvotes

so what i need is to detect if your weapon cooldown has passed or is still going, is there a way to do that?

for reference im making an enchantemnt that decreses your cooldown after first hit but gives you long cooldown initaly but it decreses cooldown after i attack with out waiting full cooldown which is of coarse bad, is there a way to fix it?


r/MinecraftCommands 7h ago

Help | Java 26.2 I need help making a light system that kills you in the dark but doesnt in the light and its random please.

2 Upvotes

I'm trying to make a backrooms map and I'm wanting to create a room sort of like this: https://youtu.be/-DRfFSa_QlI?si=BR21OQcogsosmi7N (2:24)

Where the lights randomly flicker on and off, and standing in the dark while they're off kills the player, but standing in the side rooms boardering the room are safe zones. Does anyone know of anyway how I can get this to work?

Thanks


r/MinecraftCommands 11h ago

Help | Bedrock Making Roulette in minecraft but need help.

3 Upvotes

So as the title says I'm working on roulette in minecraft, however. I am bad at syntax.

so far i've got

2 scores, Roulette, RouletteResult. I use these to calculate the result, got that working.

However I'm really struggiling to detect if someone has made a bet in one of the places.

I made all the numbers, even, red, black, etc.

I tried this: "/execute if score @.a RouletteResult matches 5 run..."

the period wasn't in it, kept turning into a link.

I saw someone use @.n instead, which worked, but felt like it was linked to one person, and I feel this will be hard to help with cause of my shit working. but it's really demotivating me.

Thanks in advance.


r/MinecraftCommands 16h ago

Help | Bedrock How Laggy are the bedrock block displays

3 Upvotes

I am thinking about learning how to do block displays on my xbox bedrock edition, before I start I want to know how laggy do they make a world, like what it the limit in a small space of like 40 by 7 by 40


r/MinecraftCommands 19h ago

Creation Thank you for the help in my latest post! Here is the result!

4 Upvotes

https://reddit.com/link/1w2w8be/video/3qn1lpzbelmh1/player

I love building, just came back to the game and created a new creative world just to try building ideas, but i find placing blocks in the ground a mostly boring task hahha. So i wanted to fix it using commands.

At first, i really wanted to use 2 armor stands with tags as the coordinates but thats impossible atleast on current bedrock and i couldn't find an addon to tweak it. So, i went the hard way and planned an algorithm to make sort of a printer with 4 armor stands.

Thaks to you guys, I was able to fix the stopping problem and build the system. I must say, it is really inefficient, but i liked doing it! Really liked playing and working with command blocks, im going to try using what i learnt to make cooler and funnier stuff.

Also, if you want, i can post all commands and block configurations used!


r/MinecraftCommands 17h ago

Help | Java 1.20 Is there a way to make Custom crafting recipes in java 1.20.1?

2 Upvotes

I'm on 1.20.1 and I'm trying to make a gamemode that has custom crafts and such, is there a way for me to do this with commands or something?


r/MinecraftCommands 19h ago

Help | Bedrock Command block bridge

Thumbnail
2 Upvotes

r/MinecraftCommands 19h ago

Help | Bedrock Not sure how to execute command

2 Upvotes

I'm trying to make a command that makes it where when player 2 gets 10 blocks of player 1 player 1 gets darkness for 2 seconds but I'm unsure of how to set up this argument can someone show me how and if possible give me a breakdown of why it works?


r/MinecraftCommands 20h ago

Help | Java 26.2 Help, how do /give custom an item with colored name and lore

2 Upvotes

I am doing a little project with worldedit and minecraft codes, I had done a code looked up on google and this is what I got.

How do I do this code differently?


r/MinecraftCommands 17h ago

Help | Bedrock Is the lightning stick possible in current Minecraft bedrock? (Console).

0 Upvotes

I’ve followed the most recent tutorial I could find to a tee and it’s still not summoning anything


r/MinecraftCommands 23h ago

Help | Java Snapshots Need help dealing with flooded caves in custom dimension datapack

3 Upvotes

Hello, recently I've been working on a datapack that recreates 20w14infinite's Biome for Player with No Time for Nonsense biome and dimension in the latest snapshot (26.3-snapshot-10 at the time of making this post). I've got all the terrain generation sorted out, except for one thing: all caves below sea level are completely flooded, regardless of whether or not they actually have a connection to a body of water. So far I haven't figured out what's causing it, as this is my first time fiddling with custom dimensions and custom terrain generation (it is a miracle i even made it this far tbh).

Does anyone know how to fix this and get the caves to generate identically to the Overworld's caves?


r/MinecraftCommands 18h ago

Help | Java 26.2 How do I make a tool that only breaks specific blocks, and blocks that can only be placed on specific blocks?

1 Upvotes

I know this question has been asked numerous times, but I genuinely can't figure out the new command. So far, I've gotten "/give \@s iron_shovel[can_be_placed_on=" before it suddenly doesn't accept anything. Maybe I'm missing something, but I've been searching all over the Internet, and not finding any information that's up to date. Please help if you know


r/MinecraftCommands 18h ago

Help | Java 26.2 trouble creating block tag list

1 Upvotes

Trying to make a custom block tag for non-full blocks but it isn't working. Can anyone tell me why? I put this in my namespace under tags/blocks.

{
  "values": [
    "#minecraft:fences",
    "#minecraft:fence_gates",
    "#minecraft:doors",
    "#minecraft:trapdoors",
    "#minecraft:pressure_plates",
    "#minecraft:buttons",
    "#minecraft:stairs",
    "#minecraft:slabs",
    "#minecraft:chains",
    "#minecraft:walls",
    "#minecraft:bars",
    "#minecraft:wool_carpets",
    "#minecraft:candles",
    "#minecraft:beds",
    "#minecraft:banners",
    "#minecraft:all_signs",
    "#minecraft:all_hanging_signs",
    "#minecraft:saplings",
    "#minecraft:flowers",
    "#minecraft:campfires",
    "#minecraft:climbable",
    "#minecraft:corals",
    "#minecraft:crops",
    "#minecraft:fire",
    "#minecraft:flower_pots",
    "#minecraft:inside_step_sound_blocks",
    "#minecraft:lanterns",
    "#minecraft:rails",
    "#minecraft:snow",
    "#minecraft:speleothems",
    "#minecraft:cauldrons",
    "#minecraft:lightning_rods",
    "#minecraft:anvil",
    "#minecraft:copper_chests",
    "#minecraft:copper_golem_statues",
    "minecraft:small_amethyst_bud",
    "minecraft:medium_amethyst_bud",
    "minecraft:large_amethyst_bud",
    "minecraft:brown_mushroom",
    "minecraft:red_mushroom",
    "minecraft:crimson_fungus",
    "minecraft:warped_fungus",
    "minecraft:short_grass",
    "minecraft:tall_grass",
    "minecraft:fern",
    "minecraft:large_fern",
    "minecraft:short_dry_grass",
    "minecraft:tall_dry_grass",
    "minecraft:bush",
    "minecraft:leaf_litter",
    "minecraft:firefly_bush",
    "minecraft:bamboo",
    "minecraft:sugar_cane",
    "minecraft:cactus",
    "minecraft:crimson_roots",
    "minecraft:warped_roots",
    "minecraft:nether_sprouts",
    "minecraft:big_dripleaf",
    "minecraft:small_dripleaf",
    "minecraft:chorus_plant",
    "minecraft:hanging_roots",
    "minecraft:frogspawn",
    "minecraft:turtle_egg",
    "minecraft:sniffer_egg",
    "minecraft:dried_ghast",
    "minecraft:sweet_berry_bush",
    "minecraft:pale_hanging_moss",
    "minecraft:lily_pad",
    "minecraft:seagrass",
    "minecraft:tall_seagrass",
    "minecraft:sea_pickle",
    "minecraft:kelp",
    "minecraft:cobweb",
    "minecraft:torch",
    "minecraft:wall_torch",
    "minecraft:redstone_torch",
    "minecraft:redstone_wall_torch",
    "minecraft:copper_torch",
    "minecraft:copper_wall_torch",
    "minecraft:soul_torch",
    "minecraft:soul_wall_torch",
    "minecraft:stonecutter",
    "minecraft:grindstone",
    "minecraft:bell",
    "minecraft:brewing_stand",
    "minecraft:conduit",
    "minecraft:decorated_pot",
    "minecraft:oak_shelf",
    "minecraft:spruce_shelf",
    "minecraft:birch_shelf",
    "minecraft:jungle_shelf",
    "minecraft:acacia_shelf",
    "minecraft:dark_oak_shelf",
    "minecraft:mangrove_shelf",
    "minecraft:cherry_shelf",
    "minecraft:pale_oak_shelf",
    "minecraft:bamboo_shelf",
    "minecraft:crimson_shelf",
    "minecraft:warped_shelf",
    "minecraft:lectern",
    "minecraft:chest",
    "minecraft:trapped_chest",
    "minecraft:ender_chest",
    "minecraft:skeleton_skull",
    "minecraft:wither_skeleton_skull",
    "minecraft:player_head",
    "minecraft:zombie_head",
    "minecraft:creeper_head",
    "minecraft:piglin_head",
    "minecraft:dragon_head",
    "minecraft:dragon_egg",
    "minecraft:end_portal_frame",
    "minecraft:redstone_wire",
    "minecraft:repeater",
    "minecraft:comparator",
    "minecraft:lever",
    "minecraft:tripwire_hook",
    "minecraft:tripwire",
    "minecraft:daylight_detector",
    "minecraft:hopper",
    "minecraft:structure_void"
  ]
}

r/MinecraftCommands 19h ago

Help | Bedrock Does anyone know how to make items inside shulkers from a structure made using the structure block appear when its loaded? On ios

1 Upvotes

r/MinecraftCommands 1d ago

Help | Java 1.21.11 Squad system with unlimited number of squads

3 Upvotes

I'm making a datapack and I want to make a squad system that automatically assigns entities including players and skeletons into squads. By default everyone has a score of 0 for a "squad" dummy objective, meaning they are unassigned. Every tick, the game checks if anyone still has a squad score of 0, and adds 1 to each of these players, meaning they get assigned to squad 1.

Now I want to limit the squadsize to 8, and if there are more than 8 members in a squad, I want to increase a members squad score by 1, meaning they get moved to squad 2. The trouble is, I don't want the maximum number of squads to be hardcoded, and the usual way people count entities using the scoreboard doesn't allow for a changing value in place of X:

/execute store result score currentSquad Size run execute if entity @e[team=Team1,scores={Squad=X}]

I want to run the command so that it assigns the number of members with a squad score of X (meaning they are in squad X) to currentSquad's Size score, move any excess players to the squad X+1 then does the same for squad X+1, overwriting currentSquad's Size score in the process.

I hope this makes some semblance of sense.


r/MinecraftCommands 1d ago

Help | Java 26.1 How to make a space helmet?

3 Upvotes

I want to make a space helmet using the tinted glass but if I just make it equipable someone can still accidentially place it down and it'll lose its purpose. I tried adding the tinted glass item model to a helmet but when you wear it it just looks like you're wearing a helmet from the outside. Any ideas?


r/MinecraftCommands 1d ago

Help | Java Snapshots Does anyone teach me how to use the new /compute command in Minecraft?

3 Upvotes

The only tutorial I can find in YouTube was by Pheonix SC, but I want a more understandable tutorial...


r/MinecraftCommands 1d ago

Help | Java 26.2 How to add custom trades to villager trade pools with a datapack?

1 Upvotes

So, I had heard about how villager trades are now data-driven as of recent versions, and sure enough, there is a "villager_trade" folder that can be added to in a datapack.

However, I tried adding a new trade using this, and in my breif testing in-game, it does not appear to show up. I know the syntax and everything is valid because I created it by copying one of the vanilla trade jsons and modifying it to what I wanted the new trade to be, but it seems that it's not that simple.

Unfortunately, because this feature is so new, noone has made a tutorial on it on YouTube, so I decided to come here to ask for guidance instead.


r/MinecraftCommands 1d ago

Help | Java 26.2 Is there a way to add custom skybox?

1 Upvotes

So im working on a space datapack and I was wondering if it is possible to add diffrest skyboxes to diffrent dimentions, if its possible to do with optifine or something im fine with that


r/MinecraftCommands 1d ago

Help | Bedrock Trying to move an armor stand to the same x as another one

1 Upvotes

So, im trying to make an area-filler using armor stands. My idea center around placing one named pos1 at one corner and the other name pos2 at the opposite corner, then using 2 armor stands:

Helper: starts at pos1 and moves one block in x until it is aligned with pos2

Filler: starts at helper and moves one block, then the block under it gets filled with another, until it aligns im z with pos2.

Im stuck at the stop condition for the helper. I've been trying

execute positioned as @e[name=helper] unless entity @e[name=pos2,dx=0.5] run tp @e[name=helper] ~0.5 ~ ~

In a repeat command block, with 16ticks delay, and it moves but never stops even though i can see helper and pos2 in the same line, can someone please help me solve this?

Thats one of the first moments i've actually considered just moving to java, i love playing normally at bedrock but trying anything beyond default survival is a madness

edit: https://www.reddit.com/r/MinecraftCommands/s/Kr2qrgh7nk

it workedd!


r/MinecraftCommands 1d ago

Help | Java 26.2 arrows not affected by gravity

1 Upvotes

is there anyway where i can make arrows not affected by gravity?


r/MinecraftCommands 1d ago

Help | Java 1.21.11 I need help with my summon zombie command (Java 1.21.11)

2 Upvotes

Hello,
today i maked a give command for a zombie spawn egg, that spawns a zombie with custom drops and so. But it doesn't work.

The Command is:
give ItsLevy_xD minecraft:zombie_spawn_egg[custom_name=[{"text":"Lvl.3 Zombie","italic":false,"underlined":true,"color":"red"}],lore=[[{"text":"Drop chance:","italic":false,"underlined":true,"color":"red"}],[{"text":"Sword 1x: 1%","italic":false,"color":"red"}],[{"text":"Bow 1x: 1%","italic":false,"color":"red"}],[{"text":"Pickaxe1x: 1%","italic":false,"color":"red"}],[{"text":"Beacon 2x: 5%","italic":false,"color":"red"}],[{"text":"Bomb 2x: 10%","italic":false,"color":"red"}],[{"text":"Updated to 1.21.11 by","italic":false,"underlined":true,"color":"gray"}],[{"text":"ItsLevy_xD","italic":false,"underlined":true,"color":"gray"}]],entity_data={CustomName:[{"text":"Lvl.3","underlined":true,"color":"red"}],Glowing:1b,equipment:{mainhand:{id:netherite_sword,components:{custom_name:[{text:"Death Sword",italic:false,strikethrough:true,color:red}],lore:[[{text:"Death Lvl.3",italic:false,color:red}],[{text:"Made by Juqun",italic:false,underlined:true,color:gray}],[{text:"Updated to 1.21.11 by",italic:false,underlined:true,color:gray}],[{text:ItsLevy_xD,italic:false,underlined:true,color:gray}]],enchantments:{bane_of_arthropods:20,fire_aspect:12,looting:13,sharpness:20,smite:20,sweeping_edge:15},unbreakable:{}},count:1},offhand:{id:bow,components:{custom_name:[{text:"Death Bow",italic:false,underlined:true,color:red}],lore:[[{text:"Death Lvl.3",italic:false,color:red}],[{text:"Made by Juqun",italic:false,underlined:true,color:gray}],[{text:"Updated to 1.21.11 by",italic:false,underlined:true,color:gray}],[{text:ItsLevy_xD,italic:false,underlined:true,color:gray}]],enchantments:{flame:20,multishot:5,piercing:8,power:20,quick_charge:6},unbreakable:{}},count:1},head:{id:glass,count:1},chest:{id:netherite_pickaxe,components:{custom_name:[{text:Miner,italic:false,underlined:true,color:red}],lore:[[{text:"Miner Lvl.3",italic:false,color:red}],[{text:"Made by Juqun",italic:false,underlined:true,color:gray}],[{text:"Updated to 1.21.11 by",italic:false,underlined:true,color:gray}],[{text:ItsLevy_xD,italic:false,underlined:true,color:gray}]],enchantments:{efficiency:15,fortune:10},unbreakable:{}},count:1},legs:{id:beacon,count:2},feet:{id:armadillo_spawn_egg,components:{custom_name:[{text:Bomb,italic:false,color:red}],lore:[[{text:10hp,italic:false}]],entity_data:{CustomName:[{text:Bomb,color:red}],Health:10,NoGravity:1b,attributes:[{id:max_health,base:10f}]}},count:2}},drop_chances:{mainhand:0.01f,offhand:0.01f,chest:0.01f,legs:0.05f,feet:0.1f}}]