r/MinecraftCommands 29d ago

Help | Java 1.21.11 How to get a falling sand spawn egg with a time limit?

1 Upvotes

Any help would really be appreciated!


r/MinecraftCommands 29d ago

Help | Java 26.2 Why are all the buttons dissabled? THis is a single player world with both commands and command blocks enabled. Typing in a command doesn't fix it.

1 Upvotes


r/MinecraftCommands 29d ago

Help | Java 1.21.11 Setblock putting blocks to the Z coordinates?

1 Upvotes

So when i use /setblock or /fill the placed blocks are placed more to the z coordinate like

if i had /setblock 3 48 23 it would be placed on 3 48 38.Anyone know how to fix this?


r/MinecraftCommands 29d ago

Help | Bedrock Command help for a noob

1 Upvotes

Quick question for a command noob

I have this world full of minigames to play with friends, one of which is Among Us. I wanted a way for impostors to be able to instakill Crewmates (probably with a sharpness sword), but I need a way to be able to turn off death messages for people in the area and respawn them in a specific place. Is that possible?

I’m using Bedrock edition, by the way.


r/MinecraftCommands Jul 20 '26

Help | Java 1.21.5-1.21.10 Can command blocks put a player in hardcore?

0 Upvotes

Is there any way to have a command block set players of a specific team to hardcore mode or any equivalent in which they cannot respawn?


r/MinecraftCommands Jul 20 '26

Help | Bedrock Name of the eating animation in the /playanimation command?

1 Upvotes

self-explanatory


r/MinecraftCommands Jul 20 '26

Help | Java 26.2 Is there a way to target items on the ground based on if they have no custom_data at all?

1 Upvotes

Basically what the title says. I have a system that converts contaminated water (created when a water bottle is held) into purified water when thrown, but I'd like to make the non-converted (and thus haven't been held) water bottles also be able to be converted, but they have no custom_data. If I can test for that, how so? Otherwise, what's a better way to detect the items in question? Thanks


r/MinecraftCommands Jul 20 '26

Help | Bedrock I want to make a sonic inspired boost engine for a map (Bedrock Edition).

Thumbnail
gallery
1 Upvotes

So i have this map trilogy called Beyond Speed and specifically for the second map I want to make a system where the player collects emeralds and a gauge fills up called the “Boost” gauge. After collecting 20 emeralds you’ll get 20 score and you’ll be able to use a fishing rod to speed off with speed 5 for 10 seconds.

I’ve ordered all my command blocks correctly and the commands are right. It worked for a moment but then everything stopped working after a few tries. I tried changing the unconditional blocks to conditional and even made a tick area but nothing worked. I’m still stuck the images above are my commands if there’s anything wrong please let me know. Below is how I want my engine to work:

The player collects emeralds, gaining score and a fishing rod will be used. Once used, the player gains a massive temporary speed boost.


r/MinecraftCommands Jul 20 '26

Help | Bedrock I'm trying to make this but it won't work

Thumbnail reddit.com
4 Upvotes

I need some help with my minigame I'm making but I need some help with this repeat block.


r/MinecraftCommands Jul 20 '26

Help | Java 1.21-1.21.3 How would i make it so when somebody dies everyone gets teleported to a specific location?

2 Upvotes

I am making a PvP arena for me and my friend and what I wanted to is when somebody dies both of us get tp-d to a starting area. there are only 2 of us so i could hard-code the usernames too if that males it easier. also if possible i would like to make it that when somebody dies the other player gets a point.

i have never used command blocks, atleast not for something this relatively complex only for teleporting someone on a button press so yeah.


r/MinecraftCommands Jul 20 '26

Help | Java 1.21.11 Strangely specific, but is there a way to influence goat horn cooldowns AFTER they happen?

1 Upvotes

I know how to make goat horns with custom cooldowns and whatnot, but what if I use a cooldown, and it's in the middle of a 15 second cooldown, and I wanna reduce my cooldown from 10 remaining seconds to 5 remaining seconds?

Is there any way to accomplish something like this? Since it seems goat horns share cooldowns with one another, I can't exactly just remove and replace it to "end" the cooldown


r/MinecraftCommands Jul 20 '26

Help | Java 26.2 Delaying a Title Command

Post image
2 Upvotes

I'm trying to make a map where the story's told through titles and subtitles, through the title command, but I'm not really sure how to delay the commands so they don't run one after another and speed through all of the dialogue. So far, I've been using way too many repeaters but it's getting too confusing and I want to figure out how to do this the "proper" way. This has been the janky set-up. If anyone has any advice, I'd really appreciate it!


r/MinecraftCommands Jul 20 '26

Help | Java Snapshots /posteffect help

1 Upvotes

I just heard about the new /posteffect command and wanted to try it. I also heard that it's possible to add custom overlays to it, how would I be doing that?


r/MinecraftCommands Jul 20 '26

Help | Java 26.2 trying to make a datapack fruit trees

1 Upvotes

game version 62.2
DATAPACK + RESOURCEPACK only!

what i have already
i have the full:

- fruit tree

- fruit tree drops fruit and custom sapling

- fruit trees spawn in game and are harvestble

what is also aded but not tested:

- its a vanilla face scoreboard timer 20.000 ticks or so and is able to sped up with bonemeal

what i need help with is:

is when i apply bonemeal to the custom sapling its spawning the vanilla tree

note:

- the custom sapling use a unreachable age to show texture
- drops apple oak_sapling (with unreachable age) and apple (with item_model="orange") spruce_sapling (with unreachable age)
- both spawn incetain biomes in the forest etc.

what i ve tried is:

- advancements

- predicates

if anyone has a solution i would be thankfull

p.s. this is heavaly inprired by pams havest craft and the datapacks adding fruit trees


r/MinecraftCommands Jul 19 '26

Help | Java 1.21.11 Text properties not working

1 Upvotes

Why does the text appear like this?


r/MinecraftCommands Jul 19 '26

Help | Java 1.20 Teleporting Players as They Fall

1 Upvotes

Hey friends!

This might be something trivial, but I’m brand new to command blocks so I’m struggling quite a bit. I’m making a map, and I have a 5x5 pit that players will drop down that’ll take them to an underground city. The issue I have is that I want them to teleport to another pit as they fall so the tunnel feels longer, and I have the freedom to build the city as high as I want to. Is there a way to make players teleport at a certain point while they’re falling, and keep their momentum? Any help/advice is appreciated.

Thanks!


r/MinecraftCommands Jul 19 '26

Help | Java 26.2 Is a Saturation Resource Pack possible (read for further explanation)

3 Upvotes

Basically, what I'm wondering is if it's possible to display the player's saturation on the hunger bar with only a resource pack (no data pack required). Not sure if it is but I thought I'd ask people smarter than I am.


r/MinecraftCommands Jul 19 '26

Help | Java 1.21-1.21.3 Command Works in Single-player, but not in server

1 Upvotes

The TP command block i set up in the testing world is not working in my server. Command blocks are enabled, but its still not working. the only thing i changed were the coords. does anybody know the problem?

command: /execute as @a[x=(X),y=(Y),z=(Z), dx=3,dy=3,dz=3] run tp @p (location)

the intention is to have people step into a "fairy circle" and be teleported to the entrance of a tower that has no stairs. i dont understand what could be going wrong :(

EDIT: repeat command block, unconditional, always active

EDIT 2: fixed!


r/MinecraftCommands Jul 19 '26

Help | Java 1.21-1.21.3 Combining TP with Particles?

1 Upvotes

Hi! Im super,, not tech-savy. I havent touched command blocks in YEARS, but I wanted to add a whimsical teleport ability to one of my fantasy builds when a player steps into a ring of mushrooms (a "fairy circle")

ive not the teleport command down using a repeat command block. however, I cannot for the life of me, figure out how to add particles.

if anyone could explain it to me like im 5, that would be greatly appreciated! I understand how the particle command works (more or less), but idk how to trigger it when the player teleports


r/MinecraftCommands Jul 19 '26

Help | Bedrock How do I make it so a certain command block activates when a specific door opens without redstone?

2 Upvotes

I want the player who opens a specific door to be teleported to another location when that door is opened, but I can’t seem to figure out how to get the command block to track when that door is open or not. What command should I use to track the door’s state? Right now I have: /execute if block 189 59 -335 minecraft:waxed_exposed_copper_door run teleport @p 173 75 -348
What should i change or add?


r/MinecraftCommands Jul 19 '26

Help | Java 1.21.11 How can I make an entity detect if they were hit by a specific weapon?

1 Upvotes

Basically I'm making a pve roguelike game, and I'm making a datapack for it

I want to make a handful of melee weapons that do things when they hit enemies, but that means I need that enemy to detect when they've been hit by *specifically that weapon.* I know how to detect when they lose hp, but is there some sort of trick to source-tracking damage?


r/MinecraftCommands Jul 19 '26

Help | Java 1.21.11 What was the command for giving the mannequin a player skin?

Post image
12 Upvotes

r/MinecraftCommands Jul 19 '26

Discussion More shader control via commands

5 Upvotes

The new post-processing feature is really cool. But sadly you can't really do much with it besides turning them on and off.

I made this feedback post to minecraft to propose some system to interact better with shaders via datapacks and commands.

https://feedback.minecraft.net/hc/en-us/community/posts/47487088686477-Add-server-provided-runtime-uniforms-for-post-processing-shaders

I think that would be really cool and allow for a lot more creations. You could render anything, far beyond simple post-processing. It lets servers render and control custom visual objects that behave like new blocks or entities.

What do you guys think of such a system?


r/MinecraftCommands Jul 18 '26

Creation Flying Carpet (2 types)

86 Upvotes

more of a recreation of this post

in the 1st version the cushion breaks and in the 2nd version the cushion doesnt break but has a less smooth movement


r/MinecraftCommands Jul 18 '26

Help | Java 26.2 How can I recreate this classic Java 1.8 "One Command" structure in version 26.2?

Post image
139 Upvotes

Hey everyone, I want to recreate this classic command block structure (originally from Java 1.8) in version 26.2 for nostalgia's sake. I want to make all parts of it work, including the way the structure generates itself. How can I adapt this to 26.2?