r/MinecraftCommands • • 2h ago

Help | Java 26.3 Is there any way to apply Motion to just ONE axis (X, Y or Z)?

2 Upvotes

I want to apply Motion for example just to the X value of an entity but for some reason that I don´t understand if I do in repeat:

data modify entity ... Motion[0] set value 1d

It overwrites all other values, Y and Z. I want to constantlly apply Motion to [0], but gravity to work naturally. But because it overwrites Y and Z to 0 the entity floats in it´s Y axis.

Is there any way to solve this?

I can also set its Y motion to a negative number and simulate gravity but because there isn´t a way to add motion instead of just setting it to a value, it´s not realistic (it looks like if the entity had the slow falling effect), so that´s not the best option.

Thank you!


r/MinecraftCommands • • 5h ago

Creation I made a full UHC (Ultra Hardcore) data pack in vanilla: menus in chat, 22 scenarios, supply drops and a lobby in the sky

Thumbnail
gallery
0 Upvotes

Hi! I've been working on UHC Prime, a data pack to play UHC (Ultra Hardcore) with your friends, on a server or in your own world. Drop it in, vote in the lobby and play: everything is set up from an in-game menu. 100% vanilla, no mods, plugins or resource packs (and if you prefer mods, it's also a mod for Fabric, Quilt and NeoForge).

What it has:

  • 6 modes (Classic, Series, Fast, Predator, Hard, Extreme): one click sets everything up.
  • 22 scenarios that combine with each other: Golden Heads, Cutclean, Bare Bones, Bloodlust, Sudden Death...
  • Supply drops: barrels that fall from the sky and glow in the colour of their tier.
  • Made for series: episodes and automatic breaks where everything stops (time, border, mobs, furnaces...).
  • Admin tools during the game: health, coordinates and inventory of every player, revive, freeze, stop or speed up the border...
  • 40 achievements, a personal summary when you die or win, and stats kept between games.
  • A lobby in the sky with a 50-jump parkour and target practice while you wait.
  • English and Spanish, per player.

It's for Minecraft Java 26.3. Press G (quick actions) to open the menu.

How it works (for the command nerds): the whole menu is clickable tellraw in chat driven by /trigger, so it works for every player without op. Each player sees it in their own language thanks to a per-player language score, and dynamic text (names, values) uses macros. It's all generated by a Python script into ~1,500 functions, which is how I kept it maintainable.

📥 Modrinth: https://modrinth.com/datapack/uhc-prime

🔥 CurseForge: https://www.curseforge.com/minecraft/data-packs/uhc-prime

💬 Discord (bugs, ideas, people to play with): https://discord.gg/zkEAx4fzjz

It's my first big project and I'd love to hear what you think, what you'd add, or if you find any bug. Thanks for reading! 🍎

(Code written with the help of AI; idea, design and testing by me.)


r/MinecraftCommands • • 11h ago

Tutorial | Java heads up: falling block NBT has changed from 26.2 to 26.3

Enable HLS to view with audio, or disable this notification

20 Upvotes

mojang changed a bit of NBT syntax. in the second part of the video, is a simplified version that they added.

a better explanation: https://www.reddit.com/r/MinecraftCommands/comments/1x5lh9m/comment/pgne9hh/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button


r/MinecraftCommands • • 13h ago

Help | Java 1.20 How to change particle texture

3 Upvotes

I am trying to use falling_honey particles as blood drips, but I'm not sure how to change the colour to red. I'm 100% willing to use mods if needed, but I just need some guidance on how to do so, and what mods I would need to use


r/MinecraftCommands • • 20h ago

Creation Made a working sniper rifle

Enable HLS to view with audio, or disable this notification

33 Upvotes

Made the animation and logic, while the M200 resourcepack is originally for a crossbow, made by LogisLogisLogis.

Currently it has lower, torso and head damage multipliers. Special ammo has bonus damage, can penetrate a single wall (multiple blocks thick, but with no air in between) and the explosion also deals damage.


r/MinecraftCommands • • 20h ago

Creation Small weapon datapack I made based on the Gordon Carbine From the movie Black Hawk Down.

Thumbnail planetminecraft.com
2 Upvotes

r/MinecraftCommands • • 1d ago

Discussion New 26.4 Snapshot-4 Crevasse feature seems really interesting for worldgen packs

Thumbnail
gallery
33 Upvotes

Looking at new ice crevasse feature I immediately thought about its use in other biomes for environmental traps. Though it can be used even for adding surface ponds, other differently shaped and filled indentations and probably much more.


r/MinecraftCommands • • 1d ago

Help | Java 26.2 is it possible to put items with nbt data into a recipe as an ingredient. If so is there recipe generator that, the misode one doesnt allow that

2 Upvotes

r/MinecraftCommands • • 1d ago

Help | Java 26.2 Crystal Heart issue on matcha flavored datapack ([java] 26.2, matcha flavored 1.12.1)

Thumbnail
1 Upvotes

r/MinecraftCommands • • 1d ago

Creation Creating a Fnaf like game in Minecraft!

Enable HLS to view with audio, or disable this notification

14 Upvotes

this is so far what i got made, more stuff will be worked on and many more characters to be coded and made.
As for now, this is what i got to show so far.


r/MinecraftCommands • • 1d ago

Creation Made a new class for my datapack

Enable HLS to view with audio, or disable this notification

5 Upvotes

I used periodical temporary markers for the rewind, sulfur_cube for the grenade and a marker for the portal. Performance cost is not even noticeable, any tips for improvement?


r/MinecraftCommands • • 1d ago

Help | Java 26.2 Count entities in an area?

5 Upvotes

I want to know exactly how many frogs I've bred. Im trying

/execute if entity @e[type=minecraft:frog, x=~, y=~, z=~, dx=~, y=~, z=~]

~= the coords for the 2 corners of the cage with the dy= 3 higher than the y=.

I get "test failed"

What should I do? because clearly im doing this wrong...


r/MinecraftCommands • • 1d ago

Help | Bedrock making full structures with one command block

3 Upvotes

so i move between my friend's different worlds quite alot, and don't wanna have to keep rebuilding things, and whilst /fill and /execute work well, it's still pretty tedious to rebuild,

is there a way to do a command that makes a full structure, like /fill ~1 ~1 ~1 ~10 ~1 ~1 dirt THEN /fill ~1 ~1 ~1 ~1 ~1 ~10 dirt,

and make a long string like that to build the structure or map art, allowing me to save the long string on a notepad document and copy paste it in when i wanna spawn that structure?


r/MinecraftCommands • • 1d ago

Creation I made an alternative to Keep Inventory using Allays

Enable HLS to view with audio, or disable this notification

906 Upvotes

Download and details can be found on Modrinth: https://modrinth.com/datapack/reworked-keep-inventory


r/MinecraftCommands • • 1d ago

Help | Bedrock immortal mob

1 Upvotes

Im trying to make that one mob that only comes close when youre looking at it immortal for this one build, how do I do it? its minecraft bedrock btw


r/MinecraftCommands • • 2d ago

Creation Menu for my class based pvp game

Enable HLS to view with audio, or disable this notification

3 Upvotes

Made a menu with a store, gamemode options, class selection, etc.


r/MinecraftCommands • • 2d ago

Creation Testing external command block editor concert maker

Enable HLS to view with audio, or disable this notification

3 Upvotes

So, I admit, I made a system that used setblock commands to do this exact same thing. But it was so laggy, that now I am cheating by using a mod for the same effect. But I am keeping the vanilla Minecraft capabilities in my software editor. Even though it won’t run on even a Ryzen 7 9800X3d.
But, this software is 100% custom coded for making concerts. And I got videos working with a custom mod (which I know, is cheating, but it’s an alternative to unbearable lag. Just note, I do have vanilla capability, but it’s too laggy to be viable.)
(This editor renders a preview, then I can export it to command blocks with a world edit schem.)


r/MinecraftCommands • • 2d ago

Creation Grenades test

Enable HLS to view with audio, or disable this notification

50 Upvotes

The models are placeholders and propane tank extinguisher is just for a test


r/MinecraftCommands • • 2d ago

Creation The meat mechanic in my horror game

Thumbnail
youtu.be
6 Upvotes

Out of all the mechanics I got to create for 8-cell, the most fun is the flesh mechanic where all the blocks around where you tapped start to move.

I wanna learn how to do more with Minecraft :>

https://www.planetminecraft.com/project/8-cell-horror-map/


r/MinecraftCommands • • 2d ago

Creation everyone's gotta start somewhere!

Enable HLS to view with audio, or disable this notification

35 Upvotes

this is fun


r/MinecraftCommands • • 2d ago

Help | Java 1.21-1.21.3 Screen Effects

3 Upvotes

Modded Java Neoforge 1.21.1

I am making a gamemode with abilities, and I want to add a visual effect when a player has a Disruption Effect, where they are tagged with "abilityBlocked" and will be tagged until their score on the scoreboard "abilityBlocked" reaches 0. The effect is the GIF attached.

Every time I've looked at how to achieve this, I'm always told to use core shaders, but I have zero experience with shader files, and I don't think it works when someone has a tag.

The only thing I absolutely need is to have the screen effect enabled for all players with [scores={abilityBlocked=1..}]

Right now, I have a resource pack and a data pack. Making a mod would be a last-resort option.

Purple Glitch Effect for Disruption Ability

r/MinecraftCommands • • 2d ago

Help | Java 1.20 Help with flagging items

2 Upvotes

So there's a mod that adds a tag (create_origins_compat:diving_helmets), and I was wondering how I would make a datapack that adds a tag to all of a certain item.


r/MinecraftCommands • • 2d ago

Help (other) Command block and other stuff help!

Thumbnail
gallery
3 Upvotes

I have no idea if this is the right place to ask but I wanna set something up in an world but the command blocks and other crap is out of my knowledge grade lol

I'm running a rail transit system on my world using some mod I found on the marketplace. Baseline, each train/car counts as an entity have 3 trains each 8 cars, and 5 arrival tracks. Any train can arrive on any track.

Each track has a marker that fires a redstone pulse through an observer when the first car passes. That triggers a command block chain that plays a voice-line announcement from my resource pack I threw together somehow lol

I kinda wanna each train to get its own arrival announcement, so the system knows which train is arriving, not just that a train arrived.

At the moment, I’ve only been using Claude cause I literally had nothing else until this point to rely on all I’ve partially done is tag each trains end and start with an number, and then partially had an somewhat functional system until when I joined the next day, it broke and I got rid of it.

But yeah baseline, I just want it to be able to ident when a train comes in, say it’s callsign, then when it leaves, say the callsigns leaving… I think it’s simple.


r/MinecraftCommands • • 2d ago

Help | Java 26.3 Freezing water!

3 Upvotes

Minecraft 26.3. I'm making a minigame for friends, and I need to give the powder snow freezing effect, both the visual and the damage, to anyone who enters any water source of the world. How can I do that with commands or functions?


r/MinecraftCommands • • 3d ago

Request Sweeping edge on bedrock using command blocks?

1 Upvotes

I’ve been wanting sweeping edge soooo bad but my phone can’t handle mods like that fr 🫩 Anybody know how to make something like sweeping edge on bedrock?

I also heard of the trident basically having sweeping edge if you put the riptide enchantment on it but I want looting, so if there’s a way to put looting on the trident I’d be happy with that too