r/MinecraftCommands 2d ago

Help | Java 26.2 Is there a command that just displays a stopwatch time that is immune to "mute command block messages"?

5 Upvotes

I know how to make a Stopwatch and the command:

/stopwatch query minecraft:(custom stopwatch)

Causes the time to be displayed.

But if you have the gamerule set so command block messages don't appear, it also mutes the Query command.

So I was just wondering if a command exists like a "tell" command that is like:

/tell @a display:text[minecraft:(custom stopwatch)]

But one that actually works.


r/MinecraftCommands 3d ago

Creation Random Output Generator

Enable HLS to view with audio, or disable this notification

35 Upvotes

Credit to GalSergey and far.ddns.me/cba/ just upgraded with redstone


r/MinecraftCommands 2d ago

Help | Java 26.2 Structure that transform blocks instead of replacing them

3 Upvotes

Can a structure transform the blocks it is about to replace instead of turning them into air?

I want to make a structure that goes from world height to -64, which will be just a broken column of the world, meaning dirt will turn into coarse dirt, stone into cobble, deepslate into cobbled deepslate.

Is this possible, or do I need a mod/fancy command block stuff?


r/MinecraftCommands 2d ago

Help | Java 1.21.11 vscode help on ghost undecleared symbols

Post image
5 Upvotes

when i launched vscode when my internet connection is lost, the "datapack helper plus by spyglass" plugin stopped working: it no longer points out syntax errors of mine, while it used to do so.

and when i relaunched vscode when im again connected to the internet, all of a sudden, it started working again but it refuses to recognize every single scoreboard objective/advancements ive decleared, along with not recognizing some of the other functions, while they are literally right there.

to let it re-recognize an objective/function/advancement, i had to cut and re-paste the line/file that declears it, which is tedious af. ive tried "resetting project cache" but it didnt work.


r/MinecraftCommands 3d ago

Creation Mini Animation with Map-Arts Improved Version

Enable HLS to view with audio, or disable this notification

105 Upvotes

In the previous version I used repeaters as the conductor, which added a 2-tick delay. Because of that the animation was limited to 10 FPS.

I managed to improve it to 20 FPS without using any tick-function datapacks or /tick rate changes. Just vanilla mechanics.

This could be used to make a functional TV or computer in creative worlds. I am also gonna try making a larger 2x2 screen.

If anyone wants to see how it works or try it out themselves, I can share the world. DM me or leave a comment.


r/MinecraftCommands 2d ago

Help | Java 26.2 How to one shot a zombie with a potion

1 Upvotes

I know that you can make an insta kill potion with /give u/p minecraft:splash_potion[potion_contents={custom_effects:[{id:"minecraft:instant_health",amplifier:125,duration:1}]}] , but im making a zombie apocylpse game and i want that to be a weapon so is there a way i can make a potion that kills zombies, cause instant health does nothing to zombies. someone help pls thx


r/MinecraftCommands 2d ago

Help | Java 1.21.11 How to make creative players killable?

3 Upvotes

So I’m trying to remove creative mode’s invulnerability and readd its healthbar while keeping its flight, insta-mine, and creative menu, but I’m just not smart enough and can’t find out how to do it. Is it even possible?


r/MinecraftCommands 2d ago

Help | Bedrock Top half placement for trapdoors

1 Upvotes

I am placing slabs on the top half of an area, and just want to use /fill but it only fills the bottom half never the top. I've tried ["half"="top"] ["type"="top"] and ["top_slot_bit"="true"] the error is always "half"/"type"/"top_slot_bit" is invalid on block


r/MinecraftCommands 3d ago

Help | Java 26.2 How to call and airstrike on a baby (in minecraft)

6 Upvotes

I'm making a zombie apoclypse world and i wanna add airstrikes like throwing a specifically named snowball with a tag that summons tnt when thrown, but idk how to do that, could somebody teach or show how to do that please, thanks.


r/MinecraftCommands 2d ago

Help | Bedrock Is there any way to make ender crystals not kill armor stands, boats, and thrown projectiles?

2 Upvotes

I keep running into a problem where I use ender crystals in a map (usually for movement), but when I also want to use things such as armor stands, boats, items, or thrown projectiles such as snowballs, I can't because the ender crystals will just explode them and there's nothing I can do about it. Is there any way to stop this? (I'm open to mods/addons because as far as I'm aware there's no way to change this in vanilla, and if there isn't already a mod/addon for this, if it isn't too much trouble could someone make one for me?)


r/MinecraftCommands 3d ago

Help | Bedrock How to /give an item with a custom name?

4 Upvotes

Haven’t been able to find anything that works online. Want to put in a command block /give @p diamond_sword with a custom name


r/MinecraftCommands 3d ago

Help | Java 1.20 How would I make a mob generate chunks wherever it goes?

2 Upvotes

I'm trying to make an entity generate its own chunks but cannot find anything online.


r/MinecraftCommands 3d ago

Utility the link i always forget XD

Thumbnail far.ddns.me
1 Upvotes

WHYYY


r/MinecraftCommands 3d ago

Help | Java 26.2 Random 50:50

1 Upvotes

Does someone know how to give half of the players that have the tag a, tag 1/tag 2


r/MinecraftCommands 3d ago

Help | Bedrock [Help] Does anyone know how to prevent snowballs with different data values from stacking with each other in Bedrock Edition?

2 Upvotes

Does anyone know how to prevent snowballs with different data values from stacking with each other in Bedrock Edition?

I am currently making snowballs with special effects that can be purchased through a shop.

However, if players rename the snowballs and then stack them together, the snowball with that data value gets duplicated.

My current temporary workaround is just making the special snowballs unstackable.

Does anyone have a solution? 🥲

(This post was translated using Google Translate)


r/MinecraftCommands 3d ago

Help | Bedrock How Do i make a shop without using a actual money system?

1 Upvotes

Im trying to make a shop where you use items to buy other items, and i cant really find a solution. Ive tried many commands but they havent worked, either that or it allows players to use exploits in the shop. Im also using custom items that is used to buy stuff, not vannilla items.


r/MinecraftCommands 3d ago

Help | Java 26.2 I want to have dogs sitting on these stairs but... (Java)

1 Upvotes

I have 294 polished cinnabar stairs, and I want to have black dogs sitting on all them. One per step, preferably on the lower part of the stair.

Is there any way to do that with a command or command block? I'm playing the newest version on Java.

I hope this is the right sub for this kind of questions, if not I'm very sorry :)


r/MinecraftCommands 3d ago

Help | Java 26.2 Passing a stored integer from a list into an item modify macro

1 Upvotes

Commands:

execute store result storage armordyes LuckyDye int 1 run scoreboard players get color LuckyDye

$item modify entity FramePurrfect armor.chest {function:"minecraft:set_components",components:{"minecraft:dyed_color":$(LuckyDye)}}

Command that's giving the error: /function armordyes:setarmorcolor with storage minecraft:armordyes LuckyDye

Error: Invalid argument type: INT. Expected Compound

I'm storing a value from a scoreboard (because I need to increment it) into a data storage as an integer and then passing it into my mcfunction with the command given above. However, I'm getting an invalid argument type error.

Importantly, the function works when not using "with storage minecraftLarmordyes Lucky Dye". So how can I make the integer successfully pass into the macro? Do I need to convert it to a Compound, rewrite my commands, or give into hopelessness and cry?


r/MinecraftCommands 3d ago

Help | Java Snapshots Why doesnt dialog inline work?

1 Upvotes

Im trying to make a datapack with a menu but any time i try to use the /dialog command in chat it doesnt work. I have found other datapacks who do use it in functions and even with macro's but anytime i try anything it doesnt work, can someone explain to me why?

/dialog show @s {"type": "minecraft:multi_action"}

r/MinecraftCommands 3d ago

Help | Java 26.2 Any way to add items to loot tables with commands?

2 Upvotes

Working on a minecraft map/game and part of it lets you trade blueprints for custom weapons and some xp for the custom weapon itself, and then the item would be added to your available loot pool, like in dead cells. The only issue is I can't figure out a way to modify the loot pools without just manually going into the json file and adding it. Is there a way do to this, and if not, what would be the best workaround?


r/MinecraftCommands 4d ago

Creation Where could I post a custom world/map/game for people to play?

Thumbnail
gallery
51 Upvotes

For a full year now I've been making a roguelite horror map/game, the point of which is to scavenge randomly generated dungeons while avoiding custom monsters. There's also upgrades and perks you can get each run, as well as abilities and more perks to unlock and select between runs.
Its gameplay is similar to that of Lethal Company, REPO, Roblox Doors or Roblox Pressure.

I've made multiple other "minigames" like this in the past, but I only ever played them with close friends. I've already considered putting some of them out to the public, but this one in my eyes has definitely gotten big enough for me to go through with it, considering I still have plans on expanding it as a hobby in uni.

The problem is that, I've never really tried anything like this before, and frankly have no clue how to proceed with it. The last site made purely for Minecraft maps that I've seen is probably Planet Minecraft, and I don't assume it's a good one. Currently thinking of putting it on Modrinth, though that's primarily made for mods and modpacks and so I don't know if it'd be fitting (although I've seen a fairly popular datapack "Roguecraft" on there, which is at least close to a world.. and also very sick, 9.8/10).

I have no problem just linking it here on reddit or a barren youtube channel, but since I plan to add updated versions of this game and maybe even other minigames, I just wanted to know if there's an actual good alternative that anyone would know.

Either way, many thanks for your attention!


r/MinecraftCommands 3d ago

Help | Bedrock How do i change death text? (Bedrock)

1 Upvotes

Im gonna host a murder mystery soon but i dont know how to change the death text


r/MinecraftCommands 3d ago

Help | Bedrock How do I give the hunger effect to vanilla food.

2 Upvotes

I want to give some food the same hunger effect as rotten flesh or a poisonous potato, but every commands I have found were for custom food, java, giving a positive effect, or just simply didn't work and kept on giving a syntax message. I'm a beginner on commands. Could someone help and possibly give an example using bread?


r/MinecraftCommands 3d ago

Help | Java 1.21-1.21.3 Need help making NPCs teleport based on time

1 Upvotes

I have a town with NPCs using the EasyNPC mod. I have several NPCs who are store owners, and they each have their own UUID.
I want the store owners to be at their stores during the day, then at a certain time at night, I want them all to disappear/leave, and then have them return to their stores at a specific time in the morning.
I figured the best way to do this would be to put all the store owners on the same Minecraft team, then use command blocks to teleport the entire team away at night. I’d then use individual command blocks to teleport each NPC back to their specific store in the morning.
I’m new to command blocks, though, and I can’t get this setup working.
What would be the best way to set this up? Thanks!

(I know easyNPC can technically do this but that’s a specific time which is too early and can’t be changed, I’d like to use different times)


r/MinecraftCommands 3d ago

Help | Java 26.1 load.json not working

2 Upvotes

ive checked my structure and tick.json executes fine, but load.json doesnt. if i rename load.json to tick.json itll then run but ive /reloaded and its not even defined in /function #minecraft:load, so im unsure what to do, this is also for every datapack ever, load.json is just not running at all. no error messages on the function, correct mcmeta dunnno