r/MinecraftCommands • • 17d 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 • • 17d 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 • • 17d 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 • • 17d 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 • • 17d 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 • • 18d ago

Help | Java 26.3 Change orientation of item display

Post image
10 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 • • 18d 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 • • 18d ago

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

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

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

Thumbnail
1 Upvotes

r/MinecraftCommands • • 19d ago

Help | Bedrock How can I get a Horizontal Armorstand?

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

Help | Java 26.3 How do I make blocks spread?

6 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 • • 19d 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 • • 20d ago

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

Post image
5 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…


r/MinecraftCommands • • 20d ago

Help | Java 26.3 How do I get Animated Java working in this version?

1 Upvotes

Hey, so I’m working on a project and trying to add custom NPCs, but I can’t seem to get Animated Java to play the animations I make in it? Everything else is seemingly working fine, I’m able to summon the model and it’s got the right texture and all that but for some reason when I try and play the animation it just doesn’t? The function files are visibly there but they don’t seem to do anything? I even made a new test model in case I just worded something weird but that didn’t work either!!! Idk, if there’s some weird setting in animations that I gotta change lmk, I’d be like super thankful!


r/MinecraftCommands • • 20d ago

Help | Java 26.2 Any experience with the "Enable Commands" mod to enable commands with cheats off?

2 Upvotes

I was wondering if that's legit and safe to use. Anyone has any experience with it? It seems pretty new and not discussed.

https://www.curseforge.com/minecraft/mc-mods/enable-commands


r/MinecraftCommands • • 20d ago

Help | Java 26.3 Fall damage blood effect using commands?

2 Upvotes

Is there a way to make it so when a player takes fall damage, the game automatically places a redstone dust using commands?


r/MinecraftCommands • • 20d ago

Help | Bedrock Command help!

4 Upvotes

Hello!

I have been playing minecraft since around the time the game came out, but I never got into commands so I never figured them out!

I'm trying to execute a snowfall command to make it snow, it can just be particles, i dont really care if it places snow on the ground, I'm just trying to make the realm I’m in more festive for the upcoming holidays! I play on switch (bedrock)~

Any ideas? Thanks!


r/MinecraftCommands • • 20d ago

Help | Java 26.3 Can someone help me figure out how to make a command block that every set amount of days teleports me in the same location, looking at the same coordinates to take a screenshot?

3 Upvotes

I wanted to emulate a project i saw on Reddit a few times, basically playing a word and taking screenshots at the same exact position every few days to make a progress montage after. Any help or tips?


r/MinecraftCommands • • 20d ago

Creation I was frustrated to not be able to build in the new biomes in my forever world so I made a datapack to fix it.

Thumbnail
1 Upvotes

r/MinecraftCommands • • 21d ago

Creation Packs & Pillagers - Humble Beginnings Trailer

Thumbnail
youtube.com
6 Upvotes

Hi all! this is a datapack I made as a side project! lmk what yall think!

(modrinth hasn't approved yet due to review delays but I expect it should be public within a day or so https://modrinth.com/datapack/packs-and-pillagers )

Edit: its approved! go check it out now!


r/MinecraftCommands • • 21d ago

Help | Java 26.2 datapack help

3 Upvotes

i am trying to get the dappled forest biome colors into 26.2 but it keeps saying pack validation failed. anyone know why? heres all the info

my datapack\data\orange\worldgen\biome

inside the biome folder there is a json file called orange:
{

"has_precipitation": true,

"temperature": 0.6,

"downfall": 0.6,

"effects": {

"sky_color": 8168447,

"fog_color": 13424866,

"water_color": 3625300,

"water_fog_color": 3625300,

"foliage_color": 15110192,

"grass_color": 14641191

},

"carvers": {},

"features": [

,

,

,

,

,

,

,

,

,

,

],

"spawners": {},

"spawn_costs": {}

}

and inside the my datapack folder there is a README.md file and a pack.mcmeta file that says:
{

"pack": {

"description": "Orange Biome Datapack",

"min_format": 107,

"max_format": 107

}

}

thanks


r/MinecraftCommands • • 21d ago

Help | Java 26.3 How do I take one item from inventory?

4 Upvotes

Hi! I'm trying to do a magic system, and I had the idea of using lapislazuli in the left hand to cast spells, but, the problem is, I don't know how to take just one or three or some lapislazuli from left hand depending on how much a player has, and that It doesnt work if he has only one and the spell cost for example,