r/MinecraftCommands • • May 13 '26

Discussion Java Realms Creators Mapjam 2026

5 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 • • 14h ago

Creation I Created a Datapack That Slowly Floods the Entire World In 1 Level Intervals!

Thumbnail
gallery
214 Upvotes

I Created a Datapack That Slowly Floods Your Entire Minecraft World

After two Months of testing on my multiplayer server, I've officially released my first datapack, Rising Oceans!

Features include:

- Gradually rising global water levels

- Five unique survival phases

- Floating supply drops

- Rising spawn rafts

- Customizable flood mechanics

- Admin and player commands

- Multiplayer support

- No mods required

It's completely free and available for Minecraft 26.3.

I'd love to hear any feedback or suggestions for future features!

Download: https://modrinth.com/datapack/rising-oceans

Discord: https://discord.gg/great-flood


r/MinecraftCommands • • 17h ago

Help | Bedrock I have a particle/command block question.. and I kinda feel dumb for asking.

4 Upvotes

If I need to elaborate more I will. I’m building and need to know if it’s possible for me to set multiple different particles (two particles max) to spin around a single armor stand, of if should quit whining and overlap two armor stands on the same block. I am aware the particles must be from separate command blocks. But would both being set to the same armor stand work?


r/MinecraftCommands • • 13h ago

Help | Java 26.3 Need help fixing a 3D Langton's Ant/Conways Game of Life style project using a datapack in Minecraft [java] 26.3

Thumbnail drive.google.com
1 Upvotes

Video that completely inspired the project: https://www.youtube.com/watch?v=Wj47IQfvU20

All heavily made by AI as I have zero coding experience but love predictable randomness so I apolagise about that.

I'm trying to recreate or copy this video in a way where I can go to the datapack, edit something from saying up to down, or left to right super easily in order to get a new pattern, this will be to represent chaos theory and cause its really cool

The entity is preferably an enderman with NoAI:1b. All movement happens through commands and teleportation (/tp), rather than normal entity movement or gravity as i've learnt NoAI:1b kinda removes gravity.

The entity follows these five rules:

One-block-high wall directly ahead: Destroy the block underneath the itself and teleport itself down one block. (Or even better implement gravity in some way to a NoAI:1b entity. This makes the wall effectively two blocks high relative to the ant. Keep facing the same direction. See image below

Wall two or more blocks high: Climb upwards until the entity can get over it with a single jump and forward once. Excluding that last example every upward teleport must place a support block underneath the ant. Then teleport forward onto the top and reassess the terrain. See image below

Level ground: Remove the block underneath the ant and teleport down one block. Turn left exactly 90 degrees. See image below

One-block drop ahead: Teleport up one block, place a support block underneath, and turn left 90 degrees. See image below

Drop of two or more blocks ahead: Teleport up one block, place a block underneath, and continue straight without turning. See image below

  • The entity must should relative to its current facing direction, not fixed world coordinates if possible.
  • It must check that both the space for its feet and the space for its head are clear before moving forward.
  • It must correctly distinguish between a one-block wall, a two-block wall, level ground, a one-block drop and a deeper drop.
  • Only one rule should execute at a time.
  • After each action, it must reassess the terrain before deciding what to do next.
  • It must not take fall damage unless through teleportation fall damage is not really gonna happen as I cant see it happening anyway due to No Ai being immune to gravity.
  • All movement must be controlled through teleportation.

I've tried making this with multiple .mcfunction files, but I've run into problems with terrain detection, relative coordinates, and functions triggering multiple rules in the same tick. For example, the ant sometimes gets stuck repeatedly placing and destroying blocks beneath itself.

I'm open to rebuilding the datapack from scratch if necessary.

Could someone help me build a reliable system for this?

Video that inspired the project: https://www.youtube.com/watch?v=Wj47IQfvU20

Any help whatsoever would be extremely appreciated


r/MinecraftCommands • • 1d ago

Creation I recreated the collector's flying star from The Owl House.

23 Upvotes

I used datapacks to do it, the command blocks there were sound tests xd


r/MinecraftCommands • • 21h ago

Tutorial | Java Created a Tutorial for making Looping Custom Soundtracks! ^^

Thumbnail
docs.google.com
2 Upvotes

I have been mindlessly putting things together and researching how to do looping music command blocks for customized soundtracks, but it seemed like nothing online worked for multiplayer servers. For the last three days, (because I am unemployed right now and bored out of my mind), I have been testing and playing around with different systems until I found one that I believe works quite well. I hope this helps other people like me (mapmakers and builders), as I have been ripping my hair out trying to find something that actually works when you have more than 1 player hanging out in a spot at once. <3


r/MinecraftCommands • • 1d ago

Help | Java 26.3 How to fake player's attack?

1 Upvotes

Hey, i'm making the sickle which has dual wield but i'm wondering how can i fake the player's attack (when they crit, weak attack, strong attack, sprint hit (knockback attack), sweep attack)

fake the entire functionality, since the /damage alone doesn't cover the crit, weak, strong, or sprint hit or sweep attack. we got /damage and /swing which do help in this but I have still yet to discover a way to fake the functionality. the /particle also is apart of this, but what i'm looking for is how to fake and perform the critical, weak, strong, sprint hit and sweep attacks.


r/MinecraftCommands • • 2d ago

Creation Running RV32 Linux (+busybox) in vanilla Minecraft using only a datapack.

Thumbnail
gallery
40 Upvotes

An RV32IMA emulator implemented in Minecraft functions, capable of booting a real Linux kernel and BusyBox in about 30 minutes.

The CPU emulation runs entirely inside local vanilla Minecraft 26.3 server, with an external RCON client for terminal I/O. (optional)

The project was developed with the assistance of OpenAI Codex.

Source code: https://github.com/chibibaku/mc-rv32-linux


r/MinecraftCommands • • 2d ago

Help | Java 26.3 Silk touch spawners + loot tables

3 Upvotes

Can anyone explain to me in small words why using match_tool in a loot table doesn't seem to work on spawners?

I'm trying to make a (theoretically, though probably not actually) simple java datapack for 26.3 that lets you break spawners to get mob loot. But I am also extremely beginner level with datapacks, so when my first try didn't work I just tried copying over the loot table for stone to spawners to edit that, and that worked fine - except that it always dropped stone whether I used a silk touch tool or not.

I tried swapping in the melon loot table instead of stone, and it did the same thing - whole melons every time I broke a spawner. The enchants work fine on stone and melon blocks with the exact same loot tables! And if I took out the match_tool conditions, everything worked as expected with the spawner, too, it's just once it tried to check for silk touch on a spawner it acted like every pick was silk touch.

I assumed this was just me not knowing what the heck I was doing but I did some poking around on Reddit and Modrinth, and it looks like everybody else's "use silk touch on spawners" datapacks are broken this way too, unless they do something fancy with functions instead of just using the loot table. But I didn't see anyone explaining why.

So - is there something special about how some blocks' loot tables use conditions? Or is it just a bug with spawners? Is it something I will need to worry about if I want to use other conditions/predicates on spawner loot that work on other blocks? Am I just useless? pls help.


r/MinecraftCommands • • 2d ago

Help | Java 1.21-1.21.3 I need some help

3 Upvotes

If you are a datapack maker you should use Visual studio code, and usually using the extension Spyglass MC, the thing is that I lost the a file that I can't recover, it is in "C:\Users\<YourName>\AppData\Local\spyglassmc-nodejs\Cache" folder

You know any way to download it again? I haven't code completion since that file disappeared

Btw I can't use the command to reload the cache of the extension, I don't know why, thanks in advance


r/MinecraftCommands • • 2d ago

Help | Bedrock Please help me with spawn protection zones. (Need multiple that put you from adventure to survival)

1 Upvotes

I ran this command that was working for the time being until further tests. I did a radius command that would put you in adventure mode until you left the area putting you into survival for a PvP realm I’m doing. I placed multiple of these commands around and it wasn’t until I played with friends I encountered problems. When they go to another area with another command block that makes a designated protected area with adventure mode it would affect players that should be in survival and vice versa. I really need to make this work I’m on limited time and I’ve tried so many different commands. Ai is completely useless and I don’t know where to turn to. I just need commands that actually work and someone experienced who can help me make multiple adventure mode areas that have a surrounding area that puts you into survival and when you return to that zone you go back to adventure mode. all of these commands must work and cannot affect other players based on if you’re in a certain area. Any help whatsoever would be amazing I’m doing a realm


r/MinecraftCommands • • 3d ago

Tutorial | Bedrock Armor points without armor

7 Upvotes

Not sure if anyone knew this but I know personally that I've been looking for a way to have armor points without any armor unfortunately bedrock has no /attribute BUT I'VE FOUND A WAY USING/replaceitem

Basically its

/replaceitem entity @s slot.armor.body [armor]

the armor can be any horse armor or Nautilus armor which are invisible

Also works with dog armor but its visible so 🤷‍♂️


r/MinecraftCommands • • 3d ago

Help | Java 1.21.5-1.21.10 I NEED HELP!!!

1 Upvotes

im trying to find someone (with essentials mod) who can join my world and help me with some commands! version java, 1.21.1


r/MinecraftCommands • • 3d ago

Help | Java 26.3 Cooldown

6 Upvotes

Heyo! Anyone know how to put a cooldown on a spear when you left click with it? I tried the command below while in survival but it didnt give a cooldown :T

/give @.a iron_spear[enchantments={lunge:2},use_cooldown={seconds:10}]


r/MinecraftCommands • • 4d ago

Help | Java 26.3 Can you summon an icon from a menu using a text display?

4 Upvotes

I remember seeing that you could spawn an entity that is an icon from a menu (for example the bugs icon or accessibility icon) using a text display but the more I look for it the more I feel that I've made it up as I can't find anything.


r/MinecraftCommands • • 4d ago

Help | Java 1.20 is there a way to clear only 1 item from someone

7 Upvotes

so me and my buddy are playin modded 1.20.1 minecraft and at the start we were confused on how to get a mandetory item so i gave it to him and now we know how to get it and he wont throw it away and get it legit i would i remove only that item from him


r/MinecraftCommands • • 4d ago

Help | Bedrock How to make flying more accessible in creative?

Thumbnail reddit.com
1 Upvotes

r/MinecraftCommands • • 5d ago

Creation Minecart hampter wheel

103 Upvotes

I saw this somewhere online and thought it was funny so I made it (I was really bored).


r/MinecraftCommands • • 4d ago

Help | Bedrock Preview Mogon Wars

2 Upvotes

Looking for some testers for our Minecraft RTS map!

Hey everyone! I've been working on a Minecraft map called Mogon Wars with my kids, and we've had a lot of fun making it!

It's basically a mix of Minecraft, classic RTS games like, and a bit of RPG. Two armies fight between castles, and you can upgrade your troops, explore dungeons, fight bosses, or just jump into the battle yourself. It works in both PvP and co-op.

We're still tweaking things, and we'd love to have some people jump in, try it out, and tell us what they think!

Server: proxywars.eu:55555
Tablets / Bedrock: proxywars.eu (Port: 19132)

Thanks, and hope you have fun with it!


r/MinecraftCommands • • 4d ago

Help | Java 1.21.11 Loot Table not working

2 Upvotes
{
  "type": "vault",
  "pools": [
    {
      "rolls": 2,
      "entries": [
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:crossbow",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:enchantments": {
                  "multishot": 1,
                  "piercing": 4
                }
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:tipped_arrow",
          "functions": [
            {
              "function": "set_count",
              "count": 8
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:potion_contents": {
                  "potion": "minecraft:infested"
                }
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:tipped_arrow",
          "functions": [
            {
              "function": "set_count",
              "count": 8
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:potion_contents": {
                  "potion": "minecraft:weakness"
                }
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:spectral_arrow",
          "functions": [
            {
              "function": "set_count",
              "count": 32
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:enchanted_golden_apple",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:golden_spear",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:enchantments": {
                  "lunge": 3
                }
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:golden_carrot",
          "functions": [
            {
              "function": "set_count",
              "count": 8
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:trident",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:enchantments": {
                  "loyalty": 3
                }
              }
            },
            {
              "function": "set_damage",
              "damage": 150
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:totem_of_undying",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:cobweb",
          "functions": [
            {
              "function": "set_count",
              "count": 8
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:wind_charge",
          "functions": [
            {
              "function": "set_count",
              "count": 16
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:water_bucket",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:ender_pearl",
          "functions": [
            {
              "function": "set_count",
              "count": 2
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:goat_horn",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:instrument": "minecraft:dream_goat_horn"
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:blaze_rod",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_components",
              "components": {
                "minecraft:enchantments": {
                  "fire_aspect": 2
                }
              }
            }
          ]
        }
      ]
    }
  ]
}

r/MinecraftCommands • • 5d ago

Discussion Feedback to replace USE_ITEM in the scoreboard

3 Upvotes

Hello! I really like using commands to add new features in, but unfortunately, the USE_ITEM statistic type just isn't useful in a lot of applications.

Due to it being used for placing, attacking with, mining with, consuming, and using (as in tilling farmland, reading a book, throwing, etc.), items that can trigger multiple of these events (like tools, glow berries, or custom items) are harder to detect reliably.

If you agree that it would be super useful to split these up, please consider upvoting the feedback I left on minecraft.net! If you have any questions, I would also be happy to speak on it more.

Here's the link to my suggestion on feedback.minecraft.net


r/MinecraftCommands • • 6d ago

Help | Java 26.2 Temporary Display On Player Based On Tag

3 Upvotes

I want to make a system such that any player with a tag called webbed will have a item display of a cobweb obscure their head, and it goes way when the player no longer has the webbed tag. How can I do this with datapacks?

Sorry if this question seems dumb, I am new to commands as a whole. :/


r/MinecraftCommands • • 6d ago

Help | Java 26.3 How do I break an item frame using a command block?

2 Upvotes

Hi there! I'm currently using Java 26.3 and trying to create a detection system where if the player steps on the item frame it dissapears. I've tried /kill @e[type=minecraft:item_frame,dx=13, dy=-60, dz=-1,distance=..0.5,limit=1] but I have no clue why is it not working... It should be simple right?? 🥲