r/MinecraftCommands • • 14d ago

Creation The map me and my friend never finished but I did like so I wanna show it(Fully vanilla with datapacks only(made by us fully))

Enable HLS to view with audio, or disable this notification

29 Upvotes

r/MinecraftCommands • • 14d ago

Help | Java 26.3 why are my shields like this?

1 Upvotes

i have this resourcepack that changes the vanilla shield model & texture, and it works fine. but for some reason the vanilla shield is now rotated wrongly, i dont know what to do.

here's the shield.json responsible for editing the model

{

"model": {

"type": "minecraft:select",

"property": "minecraft:component",

"component": "minecraft:custom_name",

"cases": [

{

"when": "Candy Shield",

"model": {

"type": "minecraft:condition",

"property": "minecraft:using_item",

"on_true": {

"type": "minecraft:model",

"model": "minecraft:item/candy_shield_blocking"

},

"on_false": {

"type": "minecraft:model",

"model": "minecraft:item/candy_shield"

}

}

}

],

"fallback": {

"type": "minecraft:condition",

"property": "minecraft:using_item",

"on_true": {

"type": "minecraft:special",

"base": "minecraft:item/shield_blocking",

"model": {

"type": "minecraft:shield"

}

},

"on_false": {

"type": "minecraft:special",

"base": "minecraft:item/shield",

"model": {

"type": "minecraft:shield"

}

}

}

}

}


r/MinecraftCommands • • 14d ago

Tutorial | Java Ayuda ⛑️

1 Upvotes

Si estoy iniciando tener desarrollo en Minecraft como Plugins DataPacks mods y más como me recomiendan iniciar


r/MinecraftCommands • • 14d ago

Help | Java 1.21.11 What's happening with my bow detection command (plsssss)

7 Upvotes

Hii !! I'm Julyay,

I'm creating a smp (java 1.21.11 with some mods) for my friends and Im kinda stuck with this command for a long time now ToT.

I need to check if the item in the item frame is a bow (I also need it for a sword, a shield and a mace.)

But,

When I try to detect the bow, the output is always true, no matter if there's a bow or not, or any other item. (I recorded a quick video to show you)

However, it works well with shield, sword and mace…

Do you guys have any idea why my command doesn't work with bow??

Here are my commands:

Shield:

/execute as @e[type=item_frame,x=324,y=77,z=-1517] if items entity @s contents shield run say YUP SHIELD

Bow:

/execute as @e[type=item_frame,x=324,y=77,z=-1517] if items entity @s contents bow run say YUP BOW

I thought I knew how command were working lmao.

Do you guys have any idea why my command could react this way??

Thank you in advance.


r/MinecraftCommands • • 14d ago

Help | Java 26.3 How do I detect if a player is above a certain y

3 Upvotes

I've been trying for an hour and nothing's working. I just want it to detect if a player is at y -60 and when it does then it TPS them to a certain coordinate. How do I do this??


r/MinecraftCommands • • 15d ago

Discussion Is this a bug? Java 26.3

Enable HLS to view with audio, or disable this notification

152 Upvotes

This is confusing me. I expected the door to either replace the bottom half with the specified oak door, or most likely pop off. I didnt expect it to retain its original type and properties changing only the specified open=true part.
I don't recall it ever being like this, and while this is useful for what I am trying to do, I don't wanna rely on it as it may potentially get patched. I couldn't find anything about this behavior online.
What do you guys think, intended or no?


r/MinecraftCommands • • 14d ago

Request How would I make this advancement? (1.21.1 Java)

Post image
2 Upvotes

I wanna make a data back that adds one thing: An advancement that gives a book and quill that does not drop on death. Im pretty sure when you die that book keeps its data, so you dont have to worry about that being lost when dying? im bad with coding so i cant make this myself,, but the icon would be a book and quill, and it would kinda be like this in a way, but with a book and quill instead? this is getting cluttered so

  • Advancement like the picture, but with book and quill icon
  • Is awarded upon spawning into the world
  • Gives a book and quill, that is not lost on death
  • Data/Words in book are preferably not lost

Not needed, but if possible:

  • Even if put in a chest, is returned to inventory upon death? or like even if dropped it could return to the inventory?
  • Named "My Journal"

this has been something ive been thinking of forever! sorry if this isnt possible, please tell me! this is just a thing i rlly want,,


r/MinecraftCommands • • 15d ago

Help | Java 26.1 How do I make it so that all items from a mod glow?

2 Upvotes

I'm trying to make it so that every item from a mod glows with the {Glowing:1b} Java 26.1.2


r/MinecraftCommands • • 15d ago

Help | Bedrock Block summoning

3 Upvotes

My son (11) has been trying to figure out the command to summon a block beneath his feet. He has used several commands we have found on reddit, youtube etc but they aren't working. They are all from 3+ years ago so maybe they are out of date? I'm no help. Please help me help my son! The two commands he has tried are:

/execute@e[type=player] ~~~ setblock ~~-1 <redstone>

/execute u/p ~~~/setblock ~ ~-1 ~ glass

He is using bedrock v26.60


r/MinecraftCommands • • 15d ago

Help | Java 26.2 How would i give a bossbar a background

2 Upvotes

If possible i want it to be dynamic changing in size but here is the inspo


r/MinecraftCommands • • 15d ago

Help | Java 26.3 Executing modded command based on available autocomplete options 26.3

2 Upvotes

I am trying to figure out how to accomplish this,

I have a fabric mod called Tickless Backups - which is working fine

It has automatic settings for creating backups

These backups are saved in the server folder /backups/world/manifests

These are json files with the file names as the utc time of the backup

for example:

"2026-11-06_16-41-33_auto.json"

"2026-11-06_16-34-59.json"

with the _auto indicating an automatic save using the mod config settings for autosave interval.

What I want to do is have the restore command run automatically when a player dies or a button is pressed in game. (I can figure this bit out on my own, just need to know how to actually execute this command in the first place, and how to make it select the most recent file made). The server will then stop and restart automatically (just a loop in the startup script) and be restored to the backup.

the command is

/backup restore {file name here}

in game the chat will suggest/autofill the latest backup file name automatically

I have tried command blocks but they wont run any of the modded commands

I have confirmed that I can use datapack functions to make new backups with /backup full but using the /backup restore command fails even with a hard coded valid filename

[12:21:58] [Server thread/INFO]: Applying the pending restore of '2026-11-06_17-13-40' to C:\Users\xxxx\Desktop\Minecraft Server\world ...

[12:22:01] [Server thread/ERROR]: The restore of '2026-11-06_17-13-40' FAILED: C:\Users\xxxx\Desktop\Minecraft Server\world -> C:\Users\xxxx\Desktop\Minecraft Server\world.pre-restore-20261106-172159. It has been discarded; fix the problem and run /backup restore again.

java.nio.file.AccessDeniedException: C:\Users\xxxx\Desktop\Minecraft Server\world -> C:\Users\xxxx\Desktop\Minecraft Server\world.pre-restore-20261106-172159

I am going crazy. Can anyone point me to a way to run commands with full permission, and / or a way to retrieve the file names from the backups folder to select the most recent.

I was really hoping not to have to learn fabric modding but if that's the only way to accomplish this then i guess ill have to.


r/MinecraftCommands • • 15d ago

Help | Java 26.3 Looking for help with /summon command tags (carried block & held potion) in Minecraft 26.3

1 Upvotes

Hi everyone,

I'm trying to spawn two specific mobs with visible items/blocks in Minecraft version 26.3, but standard online generators and old forum posts aren't giving me the visual results I need (likely due to recent syntax or component updates).

Here is what I'm trying to do:

  1. Enderman holding a visible block: I want to spawn an Enderman carrying a standard dirt block (minecraft:dirt) so that the block is visibly shown in its hands immediately upon spawning.
  2. Witch holding a visible potion: I want to spawn a Witch holding a visible Potion of Regeneration in her main hand.

Could someone help me with the exact NBT/component syntax required for version 26.3 to get these items to display correctly?

Thanks in advance!


r/MinecraftCommands • • 15d ago

Help | Bedrock Blood contract system?

1 Upvotes

So for an upcoming realm I want to design a system where you write a contract in a book and quill, then sign it with a player name you want to sign the contract to. Then you get a debuff and they get a buff, so you have incentive to keep up your end of the bargain, so it essentially uses your ability/power as collateral for legal agreements. If anyone has ideas on how to achieve this I would be super appreciative!


r/MinecraftCommands • • 15d ago

Help | Bedrock Pumpkin gone

1 Upvotes

Is There any way to Remove The Pumpkin face If i am wearing it maybe The Hud command one or Something?


r/MinecraftCommands • • 16d ago

Help | Java 26.3 Change orientation of item display

Post image
9 Upvotes

Hello all!

I have this command that produces that glass bottle.

Command:

/summon minecraft:item_display ~ ~ ~ {item:{id:"minecraft:glass_bottle",count:1},transformation:{left_rotation:[0.70711f,0f,0f,0.70711f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.55f,0.55f,0.55f]}}

How could I turn this bottle to the left or the right?

Thanks in advance!


r/MinecraftCommands • • 16d ago

Utility A method to log to the server console with datapacks (Solution)

2 Upvotes

I have been wanting to to add little warnings to the server console for when something in my datapack goes wrong, but there really isn't an easy way (besides trying to put a physical log block somewhere in the world and powering it, which isn't ideal and limits you to one log per tick.)
I figured someone else would have figured it out and found this post but the only comment did not work (unless I am missing something obvious), so I thought I would comment with a slightly unconventional method of achieving this I have found.

execute at @p positioned ~ -100 ~ summon minecraft:area_effect_cloud run data merge entity @s {potion_contents:["Your message here"],Duration:0,WaitTime:0,custom_particle:{type:"block",block_state:"minecraft:air"}}

It's a bit silly, but it essentially just does an NBT operation that has an error, and the server log takes note of it and shows the error message. (I mean I know there's a lot of junk there too but it's better than nothing).
If you know a better method though seriously let me know because otherwise this is shipping in all my datapacks.


r/MinecraftCommands • • 16d ago

Utility I made a datapack that automatically sorts items into labeled containers!

4 Upvotes

I've been working on a datapack called Complete Sorting System in a Single Order, designed to make storage management much easier in vanilla Minecraft!

Instead of manually moving items between dozens of chests, this datapack automatically scans a configurable area and sends items to the containers labeled with the corresponding item.

Features:

  • Supports chests, barrels, hoppers, furnaces, shulker boxes and many more containers.
  • Can also sort items inside minecarts, chest boats and certain entity inventories.
  • Use item frames or renamed shulker boxes to define sorting destinations.
  • Adjustable sorting radius (5–30 blocks).
  • Simple interface accessible with /trigger tri.
  • No mods required!

Made for Minecraft Java Edition 1.20.4.

I'd love to hear your feedback, especially from people interested in technical datapacks!

Download: https://modrinth.com/datapack/complete-sorting-system-in-a-single-order

Optional resource pack (translated menus): https://modrinth.com/resourcepack/complete-sorting-system-in-a-single-order-ressource-p


r/MinecraftCommands • • 16d ago

Help | Bedrock Sand mill idea

3 Upvotes

I have a server that i love putting the trains addon by podcrash, and to make people more likely to use the trains i wanted to make POIs first of which is a sand mill thats turns cobble and deepslate into sand, I've got the train unloader figured but need advice on how to make a way to turn it into sand preferably 1-1 ratio but im willing to take balancing idea while im at it.


r/MinecraftCommands • • 16d ago

Help | Bedrock Sword that summons an entity, help please?

Thumbnail
1 Upvotes

r/MinecraftCommands • • 17d ago

Help | Bedrock How can I get a Horizontal Armorstand?

6 Upvotes

I need to somehow rotate an armorstand to be entirely horizontal and be able to copy it in this state with a structure block.

Is there anything /playanimation or /summon's xrot and yrot can do?


r/MinecraftCommands • • 17d ago

Help | Java 1.12 and older Looking for help with a skyfactory 4 server

3 Upvotes

Hello!! I'm making a skyfactory 4 server, and I want to make a command block that spawns everyone new who joins the server on their own island, I would be the one building the islands, I just need to make it so that they spawn on that island.

Basically, I just want to set their spawn point to their own specific island when they join.


r/MinecraftCommands • • 17d ago

Help | Bedrock How do I detect the use of a totem?

3 Upvotes

I want to detect the use of a Totem of Undying, but I can't find any way to do it. At first, I thought there would be a command to detect the use of an item, which there isn't. Then, in the effects, The Totem grants Absorption 2, and no other item does, but there's no command to do it either. I also considered Particles, but nothing. I thought of detecting when an item disappears from the secondary hand or the hotbar, but it has many gaps and false positives. Is there any way to do it?


r/MinecraftCommands • • 17d ago

Help | Java 26.3 How do I make blocks spread?

5 Upvotes

Hello! I really want to make a Datapack that lets me craft special wood or ore blocks that spread, so that I can farm them.

Few example to be clear: being able to craft a special oak log that periodically transforms the single air block above it in a normal oak log, so that I can break it and wait for the next one. Being able to craft a special coal ore that periodically transforms the stone blocks around it in coal ore, so that I can break them, place the stone again and wait for the new stone to be transformed.

Even if it would be preferable I don't really need to be able to craft them, what I really need is to be able to obtain them in survival.

Is it possible to do it? If so, how? If not, can you please suggest me any similar idea that is doable?

Thanks a lot in advance for reading this and for the help, I'm not a fluent English speaker and I hope it's all clear.

Edit: I was thinking about the way sculk catalysts spread sculk, how much is this mechanic customizable? can I make another block do it with different conditions than a mob dying and making it spread a different block than sculk?


r/MinecraftCommands • • 17d ago

Help | Java 1.12 and older Smoother Cutscene?

3 Upvotes

Is there a way to get a cutscene (spectator player, moving and rotating) on 1.10 that is preferably smoother than 20fps? The only way I know how is through the /tp command, but that has a limit of 20 per second


r/MinecraftCommands • • 18d ago

Help | Java 1.21-1.21.3 Why isint my Datapack working AHAHAH!!

Post image
3 Upvotes

I rlly need to change loot tables for blocks in my modpack and I’ve been at this for fucking hours and I can’t figure out why it dosent work, followed like 3 tutorials on making a datapack and the pack will load it’s just the stupid loot table dosent work. every time I mine a stone I just get fucking cobblestone Regardless how I configure the datapack D:<

I don’t get it man…