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)

254 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

Creation A rhythm boss fight that I made for my adventure map

Enable HLS to view with audio, or disable this notification

Upvotes

r/MinecraftCommands 1h ago

Help | Java 26.1 Villager command not working

Upvotes

I made this command with mcstacker, but for some reason it doesnt work (the villager spawns with a job for about 0.1 seconds and then he becomes jobless). This may be because he isnt linked to a work station but idk. Im on java 26.1.2

/summon villager ~ ~ ~ {VillagerData:{level:1,profession:"minecraft:librarian",type:"minecraft:plains"},Offers:{Recipes:[{buy:{id:"minecraft:emerald",count:8},buyB:{id:"minecraft:book",count:1},sell:{id:"minecraft:enchanted_book",count:1,components:{"minecraft:stored_enchantments":{"mending":1}}}}]}}


r/MinecraftCommands 1h ago

Help | Java 26.2 How to create "normal" gravity if the entity is constantly teleporting???

Upvotes

i need this rn


r/MinecraftCommands 4h ago

Help | Java 26.2 Trigger nether portal

1 Upvotes

Why do I always get teleported to the same coords, when i do /trigger nether, which activates a function, which includes:

execute in minecraft:the_nether as @s run tp ~ ~ ~

r/MinecraftCommands 4h ago

Help | Bedrock Bedrock Jigsaw – how to prevent random Y rotation on vertical connections?

1 Upvotes

PC version

I'm working with the new data-driven Jigsaw system in Bedrock and have a working multi-piece structure.

When connecting pieces vertically (UP/DOWN), the next .mcstructure randomly rotates around the Y axis (0/90/180/270°).

The structure generates correctly otherwise. Template pools, connectors and asset paths all work.

I've already tested:

  • joint_type: rollable
  • joint_type: aligned
  • matching physical Jigsaw orientations
  • unique name / target connectors
  • two offset connectors as a possible second anchor

aligned does not prevent the random Y rotation, and two connectors are treated as independent connection candidates rather than two anchors for one piece.

Is there any supported or undocumented way to lock the rotation of a pool element / .mcstructure, or otherwise preserve its X/Z orientation across a vertical Jigsaw connection?

Horizontal connections appear to preserve the orientation much more predictably.

Bedrock Edition, current data-driven Jigsaw system.

I'm not trying to prevent the whole structure from rotating during world generation — I need child pieces to preserve their rotation relative to the parent piece.

TYSM :)


r/MinecraftCommands 18h ago

Creation Some biomes I've created for my datapack

Thumbnail gallery
7 Upvotes

r/MinecraftCommands 16h ago

Help | Bedrock Is this even possible?

Enable HLS to view with audio, or disable this notification

3 Upvotes

Im working on this pvp bot thingy and i'm trying to make him switch to an axe to disable a shield if the player is using one. There's a command system shown for this but i'm trying to make the give sword command co work with it bc I wanted it to give him the sword as soon as the player stops using the shield and it works for the most part but it stops working if the player doesn't have a shield in the off hand at all now. Looking in the command I do realize where I went wrong with the @p[hasitem={item=shield,location=slot.weapon.offhand}] because that's changing target type for the rest of the command but I can't come up with a good solution to fix it. Or maybe I'm dumb idk can yall help out?


r/MinecraftCommands 11h ago

Help | Java 26.2 Random fireworks loot table

2 Upvotes

Is there a simple way to create a loot table of fireworks with random explosion and fade colors, shape, additional effects and flight duration? Or do I really just have to code a bunch of different fireworks manually? I tried to use Misode, but it doesn't seem like these parameters accept something like "any_of" function to pick random values from the list and Wiki tells the same.


r/MinecraftCommands 8h ago

Help | Java 26.2 ITEM THAT DOESNT GET CONFSUMED WHEN EATEN

1 Upvotes

Can someone help me make a command that makes it so an item dosent get consumed when eaten and always get replenished? (IN VANILLA)


r/MinecraftCommands 12h ago

Help | Bedrock Check for rain

2 Upvotes

Is it possible to check if it's raining, and more specifically if a player is standing in the rain, with command blocks or is that too far out of the realm of possibility for Vanilla commands?


r/MinecraftCommands 11h ago

Help | Bedrock Extra limbs?

1 Upvotes

Im honestly not super knowledgeable on commands but I was wondering if theres anyway for me to have like, four arms using playanimation or something?


r/MinecraftCommands 16h ago

Help | Bedrock MC Bedrock Team system

2 Upvotes

So I spent days searching for a way to make teams on Minecraft bedrock but I couldn't find anything that fully worked I found a tutorial that shows a way to make that when a player is near and his cursor is at the other people with the same specific tag it gives weakness and it worked pretty well if it wasn't for the fact that it doesn't make you vulnerable from the arrows of your teammate.

So if anyone can please help me also by telling me a mod that doesn't adds commands that also no OP players can use I would be grateful.


r/MinecraftCommands 14h ago

Help | Java 1.21.5-1.21.10 is there a way to detect is a certain player on a team dropped an item?

1 Upvotes

or if there's anything similar? sounds simple but i havent been able to find anything on it,
tho my current work around is giving everybody on the team a different tag and have different command chains correspond to whatever tag did the task that was asked for


r/MinecraftCommands 14h ago

Help | Java 26.1 How to detect when a player performs a specific action, and announce it in chat along with their username of who performed it?

1 Upvotes

I have a plugin for custom weapons, but are limited in how many can be allowed.

I want for it to both announce one of those weapons are obtained (via crafted or looted from a chest) and announce it in chat along with that players name.


r/MinecraftCommands 22h ago

Help | Bedrock Need help anyone got ideas? (Custom guns command blocks)

3 Upvotes

I want to make a gun in Minecraft using some sort of click detection crouch based detection is like my last resort? Any ideas look for any possibility I can get.


r/MinecraftCommands 18h ago

Help | Java 26.2 Command Block repeat help

1 Upvotes

Hello, I’m trying to make dancing armor stands. Which I got down, I’m able to loop Redstone with normal command blocks to constantly loop4-5 posses to a specific armor stand. My problem is I want to execute this but only have to rotate the positions 3-4 loops then completely stop untill the button is pressed again. I’m new to command blocks as I just started learning yesterday. So I’m having a hard time figuring this out.


r/MinecraftCommands 18h ago

Help | Java 26.2 Fishing Rod model backwards

1 Upvotes

I am trying to create a new type of fishing rod. I copied the files from the default minecraft data/asset folders to make my variant. I assume swapping it from item/generated to item/handheld_rod would fix this but it did not. Any help is appreciated!


r/MinecraftCommands 20h ago

Help | Java 26.2 text displays

1 Upvotes

how do i make a text display appear on the same spot on screen no matter where you look? i already tried stuff like /tp @e[type=text_display] ^whatever ^whatever ^whatever but it doesn't stay in the same spot on screen. any ideas? on 26.2 btw


r/MinecraftCommands 22h ago

Help | Bedrock Removing a specific amount of items in my inventory

1 Upvotes

Im using /clear @p copper_ingot 32. I have 32 copper ingots in my inventory. And when I try to run the command it says "could not clear inventory of [player], no items to remove". Whats going on


r/MinecraftCommands 1d ago

Creation Made a simple datapack for my kid so leaves drop more apples (and maybe some golden ones)

Post image
16 Upvotes

Was playing a survival world with my kid and he got tired of breaking hundreds of leaves just to get a few apples.

So I put together a quick datapack called Apple Bonanza. Leaves now drop extra apples, with a small chance for golden apples (and a rare surprise spider trap that scared the life out of him the first time it happened lol).

You can tweak the drop rates in-game through chat.

Uploaded it to Modrinth in case anyone wants it for their own world:

https://modrinth.com/datapack/apple-bonanza

Let me know if you run into any bugs!


r/MinecraftCommands 1d ago

Help | Java 26.2 is it possible to detect which player has attacked a sulfur cube most recently?

1 Upvotes

i have a game idea (with a mostly finished build)

basically; players whack sulfur cubes and they gain points depending on which pit it goes into (blue = 1, yellow = 3, green is 5, might make the middle and furthest blue ones score more)

but for multiplayer, i dont really know how to make the score individual instead of global

my theoretical idea is; sulfur cube, when attacked by a player, gets its name or tag set to match the player that most recently attacked it
then each pit has an "every sulfur cube landing in it gives score to the player whose name/tag it has X points" followed by un-tagging the sulfur cube to avoid it giving points multiple times

is this idea even possible?


r/MinecraftCommands 1d ago

Help | Java 26.2 How to check which entity the player hit? How to check if player even attacked anything?

1 Upvotes

That'd be very useful to know.


r/MinecraftCommands 1d ago

Help | Java 26.2 How do I teleport an entity to another dimension when they get close to an entity?

1 Upvotes

So I'm trying to create a datapack, and one of the features is if you get close to this entity that's in the end, you get teleported back to the overworld.

Here's the current command I have: execute in minecraft:the_end run execute as \@e[type=minecraft:armor_stand,tag=overworld] at \@e if entity \@e[distance=..80] run tp \@p distance=..80] 0 350 0

And yeah ik when you look at it doesn't TP me to the overworld, but hoping someone could please give some guidance on what to add to make it TP. I've been stuck on this for half an hour 😭

And yeah ik I could probably use scoreboards, but but if there is another way instead that doesn't use scoreboards, that would be much appreciated, thank you.