r/MinecraftCommands • • 7h ago

Creation Free Seed Map Viewer — check biomes, villages and structures for any seed before you start a world (Java & Bedrock)

1 Upvotes

Hey everyone,

I made a free seed map tool on mctoolbox.net. Paste in a seed and it draws the whole world on a map, so you can check where the biomes, villages, temples and other structures are before you start playing.

It works for Java (1.7 to 26.4) and Bedrock (1.16.0 to 26.63), and you can switch between Overworld, Nether and End. Everything runs in the browser, no download or sign-up.

Link: https://mctoolbox.net/seed-map

Let me know if a structure shows up in the wrong place or a version is missing, and I'll fix it.


r/MinecraftCommands • • 7h 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 • • 9h ago

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

Thumbnail
gallery
145 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 • • 11h ago

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

3 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 • • 16h 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 • • 1d ago

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

21 Upvotes

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


r/MinecraftCommands • • 1d ago

Help (other) LDShadowLady commands/command blocks

Thumbnail reddit.com
0 Upvotes

I really want to know, it all seems so magical


r/MinecraftCommands • • 1d 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

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

Thumbnail
gallery
39 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 | 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 • • 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 | 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

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 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 • • 3d 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 • • 3d ago

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

Thumbnail reddit.com
1 Upvotes

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

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 • • 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 • • 5d ago

Help | Bedrock Structure block within a structure loading the same thing even with integrity and a random seed

1 Upvotes

Hello there! I've been trying to make a sort of randomized obstacle course, and one of the first things I want to put in there is a fire pit where you have to race around randomly placed fire blocks.

For some background information, the obstacle course takes place in houses that are NOT random.
The firepit is a structure of its own that is just a row of fire blocks. The house structure has a structure block within it that loads the firepit with integrity of 25, and I left the seed in the firepit structure as blank so it is randomized.

I wanted to test what would happen if I loaded the parent structure (the house) as it will happen when my obstacle course mini-game is finished, so I put an observer next to the firepit's structure block to activate it when the house is loaded. Every time I load the house, the layout of fire blocks is the exact same thing.

Please help me so that I can make the fire actually random.


r/MinecraftCommands • • 5d 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. :/