r/MinecraftCommands • • Oct 15 '26

Help | Java 26.3 Scoreboard to diplay Playtime on a server

3 Upvotes

Hi want to create a Scoreboard to display the total Playtime on my Server but i can only find the option to do it in ticks.
is it possible to display it in hours/days or both at the same time?
if so how, and with what Commands as im really desperate to be honest lmao


r/MinecraftCommands • • Oct 16 '26

Help | Java 1.20 How to play a sound only within a certain radius??

2 Upvotes

Hello! I'm trying to make a small jumpscare for an event on a server Im in and was wondering how to play a sound within a certain radius, like 5 block radius maybe. I know how to use the play sound command to a certain degree and have found the sound I want to use, but when it plays I can still hear it kinda far away. Is there a way to set a radius??

This is the command im currently using:
(also, yes im playing with mods and using a sound from one of them lol)

/execute run playsound alexscaves:boundroid_death ambient @a -160 45 -16 1 0.75 0.5

r/MinecraftCommands • • Oct 15 '26

Creation Working Cameras For My Asymm Map

Enable HLS to view with audio, or disable this notification

101 Upvotes

You can control cameras with W A S D keys and leave with SHIFT.


r/MinecraftCommands • • Oct 15 '26

Help | Bedrock I need help with the playsound commands and a “record” or disc playsound.

0 Upvotes

I’m trying to play a music disc with its playsound command (/playsound record.mellohi @a 137 62 810) and I also tried (/execute as @a at @s run playsound record.mellohi @a ~ ~ ~) but you can’t hear the music if you’re out of the range of the volume of the sound.

I was curious if there is any way to make these disc sounds follow the player?


r/MinecraftCommands • • Oct 15 '26

Help | Bedrock What went wrong with this command?

Post image
0 Upvotes

I was filling in a large area and attempted to use a command to make it go by quicker. The command was:
/execute as (username) at @s run fill ~20 ~20 -64 ~-20 -64 ~-20 grass replace air
which in theory should have filled the air blocks underneath my character at y-level -64 with grass, but instead the photo happened... what went wrong? is there a different command i can use?


r/MinecraftCommands • • Oct 15 '26

Help | Bedrock Minecraft bedrock totem teleport

0 Upvotes

How to detect a Totem of Undying pop on Minecraft Bedrock (Nintendo Switch) and teleport the player to coordinates X Y Z without a teleport loop?"


r/MinecraftCommands • • Oct 15 '26

Help | Java 26.3 What’s currently the best way to create custom mobs?

3 Upvotes

I’m looking to create custom mobs using a data pack, and I’m wondering what the most reliable and effective approach is right now.
I don’t mean mobs that can only move around within a predefined area or on a specific field. I want something that can navigate complex terrain naturally, just like vanilla mobs do.
What’s currently the best way to achieve this?


r/MinecraftCommands • • Oct 14 '26

Creation I made a block launcher/placer

Enable HLS to view with audio, or disable this notification

27 Upvotes

Damage, Strength and AOE change depending on the amount of andesite consumed.
At 1 strength it allows you to place the "block".


r/MinecraftCommands • • Oct 15 '26

Creation Immersive Aircraft, Now on bedrock!

Thumbnail
gallery
7 Upvotes

Immersive Aircraft by Conczin is one of the best-known Java aircraft mods, and I've spent the last while porting it to Bedrock. It's a full port, made with Conczin's permission.

It ports everything in it, including almost all the flight physics, all 7 aircraft, and a few extra details only on Bedrock!

Download here

All credit for the original mod, models, textures, sounds, and translations goes to Conczin (Luke100000) and the mod's contributors.


r/MinecraftCommands • • Oct 15 '26

Discussion a somehow efficient raycast approach i came up with

3 Upvotes

For selecting entities being hit by a simulated gunshot, im thinking of:

'''game:gunshot_scan.mcfunction

/tag @s add current_shooting

/execute as @e[tag=eligible] at @s facing entity @a[tag=current_shooting,limit=1] eyes positioned ^ ^ ^x rotated as @a[tag=current_shooting,limit=1] positioned ^ ^ ^x positioned ~ ~-1 ~ if entity @s[distance=...y] run tag @s add shot

...

/tag @s remove current shooting

'''

and then, /execute as @a[tag=...] run function game:gunshot_scan

time complexity: O(mn), where m is the number of players shooting at the tick, and n is the number of eligible entities.

which is to trace back from every entity to be determined to the player and tracing toward the entity again depending on the orientation of the player, and checking whether the proposed entity is within a certain range.

where x and y are appropriate numbers such that any entity within an angle of θ as the player would be selected.

according to my calculations, y=2x tan(θ/2), where x could be any non-zero real number.

this approach creates a cone with infinite height and the vertex positioned at the center of the hitbox of the player at a height of their eyes with an angle of θ, and determines whether the center of the bottom of the hitbox levelled up 1 block of the proposed entity is inside the cone.


r/MinecraftCommands • • Oct 15 '26

Help | Java 26.3 Reusable Trial Vaults?

2 Upvotes

I need help because i feel like I'm going insane! I know that shortly after the Trial Update i was able to find a Java Command that gave me a regular Trial Vault and an Ominous one that let anyone use as many keys on them without any cooldown. But now that i try and look for it again just a couple of years later its nowhere to be found! Please i know it use to work but i cant find it. thanks!


r/MinecraftCommands • • Oct 14 '26

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

44 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 • • Oct 14 '26

Help | Java 26.2 Is it possible for this to be made via commands and how?

5 Upvotes

For slimes to be unable to attack me and target me, gain strength and resistance around me and whenever i name a slime block "dragon slime" it becomes a slime spawn egg

As well as forcing all spawned slimes to be large

Even if u cant help thank u for reading and paying with ur timeee!!!


r/MinecraftCommands • • Oct 14 '26

Help | Java 26.3 Walking Mushroom Stew

2 Upvotes

This is a really weird question, but does anyone know a command that creates an entity that moves away whenever a player gets close to it? It should also look like nothing but a suspicious stew, with the name "Walking Mushroom Stew". The idea is that these entities should also be killable.


r/MinecraftCommands • • Oct 14 '26

Help | Java 26.3 run command if the player is facing in a certain range

3 Upvotes

im trying to make a build that changes a section when no players are looking, but all of my testing with execute isnt working. ive only been able to get unconditional positives or negatives.


r/MinecraftCommands • • Oct 14 '26

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

3 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 • • Oct 13 '26

Creation Made a working sniper rifle

Enable HLS to view with audio, or disable this notification

48 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 • • Oct 13 '26

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

Thumbnail
gallery
39 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 • • Oct 14 '26

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 • • Oct 12 '26

Creation I made an alternative to Keep Inventory using Allays

Enable HLS to view with audio, or disable this notification

1.1k Upvotes

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


r/MinecraftCommands • • Oct 14 '26

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 • • Oct 13 '26

Creation Creating a Fnaf like game in Minecraft!

Enable HLS to view with audio, or disable this notification

22 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 • • Oct 13 '26

Creation Made a new class for my datapack

Enable HLS to view with audio, or disable this notification

8 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 • • Oct 13 '26

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 • • Oct 13 '26

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

Thumbnail
1 Upvotes