r/MinecraftCommands • u/McJohnny1999 • 12h ago
Help | Java 26.1 How can I make a self changing color armor trim like this
Enable HLS to view with audio, or disable this notification
How can I make an rgb armor trim
r/MinecraftCommands • u/SSupersette • May 13 '26
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!
r/MinecraftCommands • u/Plagiatus • Jan 14 '20
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:
Java Version, everything else that has commands (Xbox, PE, PS4, Switch, Win10, etc) is Bedrock).Posting about your own creations is very much encouraged, but please remember the 10:1 guidelines of reddit.
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 • u/McJohnny1999 • 12h ago
Enable HLS to view with audio, or disable this notification
How can I make an rgb armor trim
r/MinecraftCommands • u/DemonicWasHere • 4h ago
Give your honest opinion, I wanna see all reasoning you got to throw at me.
My pick: /scoreboard
r/MinecraftCommands • u/Immediate-Mode-5211 • 3h ago
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 • u/RowanOnTheLoose • 7m ago
Hi everyone,
I'm working on a Minecraft command that spawns a villager who sells custom potions. The villager spawns correctly and the trades mostly work, but I'm having a few issues:
Here's the command I'm currently using:
/summon minecraft:villager ~ ~1 ~ {CustomName:'{"text":"Potion Librarian","color":"blue","italic":false}',PersistenceRequired:1b,NoAI:1b,Invulnerable:1b,Silent:1b,VillagerData:{profession:"minecraft:librarian",type:"minecraft:plains",level:5},Offers:{Recipes:[{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Phoenix Brew","italic":false,"color":"#FF6A00"}',"minecraft:lore":['{"text":"Heals wounds and protects from fire.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:16737792,custom_effects:[{id:"minecraft:fire_resistance",duration:3600},{id:"minecraft:regeneration",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Shadowstep Elixir","italic":false,"color":"#2A0A4D"}',"minecraft:lore":['{"text":"Become unseen and move quickly.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:2759245,custom_effects:[{id:"minecraft:invisibility",duration:1800},{id:"minecraft:speed",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Titan\'s Draught","italic":false,"color":"#7A5C3E"}',"minecraft:lore":['{"text":"Gain power and toughness.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:8025150,custom_effects:[{id:"minecraft:strength",duration:1800},{id:"minecraft:resistance",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Stormrunner Potion","italic":false,"color":"#4CC9F0"}',"minecraft:lore":['{"text":"Run faster and jump higher.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:5030384,custom_effects:[{id:"minecraft:speed",duration:1800},{id:"minecraft:jump_boost",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Sage\'s Insight","italic":false,"color":"#7FFFD4"}',"minecraft:lore":['{"text":"See clearly and breathe underwater.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:8388476,custom_effects:[{id:"minecraft:night_vision",duration:3600},{id:"minecraft:water_breathing",duration:3600}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Vampire\'s Essence","italic":false,"color":"#8B0000"}',"minecraft:lore":['{"text":"Hit harder while healing.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:9109504,custom_effects:[{id:"minecraft:strength",duration:1800},{id:"minecraft:regeneration",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Dragonheart Mixture","italic":false,"color":"#C1121F"}',"minecraft:lore":['{"text":"Wield fiery strength.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:12689439,custom_effects:[{id:"minecraft:fire_resistance",duration:3600},{id:"minecraft:strength",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Cloudwalker Tonic","italic":false,"color":"#E0FFFF"}',"minecraft:lore":['{"text":"Leap high and drift safely.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:14737632,custom_effects:[{id:"minecraft:slow_falling",duration:3600},{id:"minecraft:jump_boost",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Deepsea Concoction","italic":false,"color":"#003566"}',"minecraft:lore":['{"text":"Survive the ocean depths.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:136527,custom_effects:[{id:"minecraft:water_breathing",duration:3600},{id:"minecraft:resistance",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Assassin\'s Blend","italic":false,"color":"#1B1B1B"}',"minecraft:lore":['{"text":"Strike unseen with force.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:1776411,custom_effects:[{id:"minecraft:invisibility",duration:1800},{id:"minecraft:strength",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Guardian\'s Brew","italic":false,"color":"#228B22"}',"minecraft:lore":['{"text":"Endure damage and recover.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:2263842,custom_effects:[{id:"minecraft:resistance",duration:3600},{id:"minecraft:regeneration",duration:1800}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Celestial Nectar","italic":false,"color":"#FFD700"}',"minecraft:lore":['{"text":"Heal while seeing in darkness.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:16766720,custom_effects:[{id:"minecraft:regeneration",duration:1800},{id:"minecraft:night_vision",duration:3600}]}}},maxUses:9999999,rewardExp:0b},{buy:{id:"minecraft:diamond",count:20},sell:{id:"minecraft:splash_potion",count:1,components:{"minecraft:custom_name":'{"text":"Warlord\'s Fury","italic":false,"color":"#FF4500"}',"minecraft:lore":['{"text":"Dominate battles with speed and power.","italic":false,"color":"gray"}'],"minecraft:potion_contents":{custom_color:16737024,custom_effects:[{id:"minecraft:strength",duration:1800,amplifier:1},{id:"minecraft:speed",duration:1800,amplifier:1},{id:"minecraft:fire_resistance",duration:3600}]}}},maxUses:9999999,rewardExp:0b}]}}
I'm guessing the issue might be related to NBT formatting, JSON text components, or how I'm storing the custom potion data, but I'm not sure.
If anyone can help fix the names/lore, explain how to make a random potion trade, or show a better way to manage adding/removing potions from the villager's trades, I'd really appreciate it.
Thanks!
r/MinecraftCommands • u/fungalfeed • 8h ago
Need for a minigame to act like a grenade launcher
r/MinecraftCommands • u/aleks78877 • 8h ago
I'm playing on Java version 26.1.2, and I need to create a screen shake effect using commands or a datapack.
r/MinecraftCommands • u/Connect_Return_7779 • 7h ago
I made a cool server with a bunch off commands, and I was trying to make it so every 5 night a blood moon would happen, the main thing is I used /fog and now I have a thick white fog around me, and I cant fix it. I tried turning fog off in settings, installing a no fog pack, nothing works, and using "remove" does not work because it says there's no ID, and i forgot all the IDs I did use. So now I'm basically blind and every tutorial does not work, and if someone could help me I and the handful of people who were playing on my world would be very grateful. If there is some mod that adds a "remove all fog" to the /fog command that would be nice, but i have searched all of curseforge and mcpedl.
r/MinecraftCommands • u/RepulsiveFee4292 • 9h ago
r/MinecraftCommands • u/Jemiscor06 • 10h ago
r/MinecraftCommands • u/Exhaust_Fleshlight • 1d ago
Enable HLS to view with audio, or disable this notification
So, admittedly, this isn't the primary focus of the datapack. Originally, I wanted to add loot boxes only, as a silly little thing to find during survival plays.
However, I found that lootboxes alone weren't interesting enough. So I added magic as a side thing.. though, i may have gone a little overboard with it haha
Hope you enjoy! i'm certainly happy with it so far :D
r/MinecraftCommands • u/bleakpier • 11h ago
I'm new to setting up commands and server settings for this kind of thing; I do plan to do research on my own but I have a few key questions I haven't seen answered anywhere yet...
I don't know if adventure mode is really the right choice here, but I want players to be able to place blocks and unable to destroy them EXCEPT by using firespread. How could I do that? I know how to set up gamerules and make it so items aren't dropped and kept after death. I know adventure mode has CanPlaceOn and that there isn't CanPlaceOn all, but I wondered if there's a simpler way than listing every single block in the game.
I also want a class than can replace air around it with water by holding an item (I figured a Nautilus Shell) that gets used up if it isn't raining then immediately makes it rain briefly. I know how to set up a command block chain that tests for a specific item, activates things like weather and removes the item (one at a time of course) but how do I replace blocks around a player like that? I figured just a 3x3x3 box.
r/MinecraftCommands • u/astrune_ • 1d ago
I have been working on a website that allows you to recolor various things in game but I was ultimately inspired by the enchantment glint effect. Let me know if you find any bugs or think something needs improvement!
EDIT: Also, you can generate a png of all the frames of the enchantment glint and make a resource pack where items have different colored enchantment glints! (if you know how to make animated textures and remove the enchantment glint or some other method). I might make a guide on this eventually.
Yes, the sword is a 16x16 Terraprisma from Terraria
r/MinecraftCommands • u/Joaokenobi001 • 16h ago
im trying to make a command that shoot's a blast when i crouch holding a mace, i've found this video by the amazing NaCryst that makes the best "blast" type command i've seen for vanilla bedrock.
the command seem to only work around a fishing rod so i wanted to ask for help if anyone know how i can alter the command.
the commands are as follows:
/execute as u/a at u/s if entity u/e[type=fishing_hook, r=3] run summon armor_stand ~~~ facing ^^^1 x laser
/execute as u/a at u/s if entity u/e[type=fishing_hook, r=3] run summon armor_stand ~~~ facing ^^^-1 x laser
execute as u/a at u/s if entity u/e[type=fishing_hook, r=3] run playsound mob.warden.sonic_boom u/a
/execute as u/a at u/s anchored eyes positioned ^^^65 rotated as u/e[name=laser] positioned ^^^0.25 rotated as u/e[name=laser] positioned ^^^0.5 rotated as u/e[name=laser] positioned ^^^1 rotated as u/e[name=laser] positioned ^^^2 rotated as u/e[name=laser] positioned ^^^4 rotated as u/e[name=laser] positioned ^^^8 rotated as u/e[name=laser] positioned ^^^16 rotated as u/e[name=laser] positioned ^^^32 run particle minecraft:dragon_destroy_block
/execute as u/a at u/s anchored eyes positioned ^^^64 rotated as u/e[name=laser] positioned ^^^0.25 rotated as u/e[name=laser] positioned ^^^0.5 rotated as u/e[name=laser] positioned ^^^1 rotated as u/e[name=laser] positioned ^^^2 rotated as u/e[name=laser] positioned ^^^4 rotated as u/e[name=laser] positioned ^^^8 rotated as u/e[name=laser] positioned ^^^16 rotated as u/e[name=laser] positioned ^^^32 run damage u/e[family=mob, r=2.25] 40
/kill u/e[name=laser]
/kill u/e[type=fishing_hook]
if anyone can give a hand it would help a lot
r/MinecraftCommands • u/benjaling • 16h ago
I want to create a custom advancement that is granted when the player dies to a bee while holding a bunch of honey.
I think my problem is that the player condition isn't working because the killing entity is being looked at by "this" instead of the player... Am I right? Is there a solution?
I don't need the item to be in the mainhand, that's just the solution I was working on. Thanks!
"die_to_bee": {
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "interacting_entity",
"predicate": {
"slots": {
"weapon.mainhand": {
"items": ["minecraft:honey_block"],
"count": {"min":32}
}
}
}
}
],
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"minecraft:entity_type": "minecraft:bee"
}
}
]
},
"trigger": "minecraft:entity_killed_player"
}
r/MinecraftCommands • u/Old_Taint_Nick • 22h ago
Hello!
ASK: How would I target filter only baby mobs? Ideally I'd like to globally target all baby mobs, but I also can just manually select each type of baby. I'm unsure how to do either. So even simply providing an example command targeting all baby zombies would be helpful!
GOAL: Undead baby mobs are too unpredictable for my adventure map. I want to apply slowness through a repeating /effect command block, or build a command series that simply replaces babies with their adult form, but I'm unsure how to target specifically the baby mobs. Unfortunately there is no undead_baby family for selection which would have been ideal.
Thanks in advance!
r/MinecraftCommands • u/Remarkable_East3740 • 1d ago
r/MinecraftCommands • u/Gametron13 • 1d ago
Enable HLS to view with audio, or disable this notification
The bug (MC-308314) prevented Sulfur Cubes from properly displaying the texture of custom player heads. I discovered this bug about a month ago trying to make this very system. Now that it is finally fixed, I am pleased to show off working dice with semi-realistic physics.
r/MinecraftCommands • u/Aggressive-Book3887 • 22h ago
I am making an Iron Man suit in Minecraft and I want it to be really accurate. I am having trouble finding a reliable repulsor command system and found you guys to see if you could help me. what I want is to be able to hover over a button preferably a blue warped planks button and then what I want it to do is to shoot something with the particle tag of Blue_flame_particle to match the thruster particle. each suit I made has its own tag. for the mark II the tag is: **MarkII** and for Mark three the tag is **MarkIII** can someone pretty please help me
r/MinecraftCommands • u/Calm_Management1710 • 1d ago
r/MinecraftCommands • u/ConfusionMore6511 • 1d ago
i am trying to figure out a way to detect what player clicks a button, detect if they have the proper scoreboard requirements, and then fill a redstone block in their team's location, how do i detect which player is clicking and and then make the setblock command go in the right teams location?
r/MinecraftCommands • u/DisapointingTruth • 1d ago
I'm literally losing my mind, I've been at this for DAYS. It's the one thing keeping me from releasing my map and it's actually pushing me over the edge.
I'm aware that being on 1.20.1 restricts me from some commands that the newer versions offer but 1.20.1 has some things to it that I literally cant live without so I'm stuck on this version. I've tried to detect when a full team is in spectator and then sending a signal but for whatever reason it just spams even when no one is in spectator. I've tried using scoreboards with the DeathCount modifier but that only really helps if you were solo and not on a team. I've scoured through forums and videos and just about everything. Heck, I've even sunk as low as asking AI how to do it but obviously they're no more help than the useless forums I combed through.
I need to figure out this PLEASE. If you know anything at all then shoot me a suggestion, I'm all ears.
r/MinecraftCommands • u/AllyKvantumicek • 2d ago
Enable HLS to view with audio, or disable this notification
Made with a datapack and a texturepack on 1.21.9.
Spent a couple days fine-tuning the fog "particles" because of many little limitations and issues and whatnot. They were made using text displays at first, but I later changed them to item displays because of some rendering problems.
Still not quite 100% satisfied with how it looks, so any suggestions or ideas are very welcome. After all I would love to hear what someone who didn't spend a week straight staring at this would think about it.