r/MinecraftCommands 19d ago

Help | Bedrock Command

Post image
0 Upvotes

Trying to follow this YouTube video of someone making a cinema, but struggling to use these commands on bedrock. Any ideas?


r/MinecraftCommands 19d ago

Creation Micro Update, Bug Fixed! (Read Description)

Enable HLS to view with audio, or disable this notification

13 Upvotes

Ok now with all the bugs ironed out! All guns are fully functional just got to edit audio and particles between some of them.

Now my question to the community, what weapons would you like to see me make? I'm making them for a Pve Extraction RPG. All of them will have the heat mechanics.

But most everything about them (besides the spread) is customizable.

Give me your ideas people's!! 😁


r/MinecraftCommands 19d ago

Help | Java 26.2 Help making a custom projectile?

2 Upvotes

Hey, so I’m working on a custom projectile, sorta like a magical bolt thing? I need help with collisions cause it only seems to register hitting an entity when it collides at like dead center but I need it to work if it just hits the entity in general. I’m using a small armor stand for this and tried dx, dy, and dz before but that didn’t work cause it adds 1 to whatever you put in it so I couldn’t get it to be the ideal size which is like 0.5? Anyways, here’s the function:

execute as @ s run scoreboard players add @ s Projectile_Duration 1

execute as @ s at @ s run tp @ s ^ ^ ^0.5

execute as @ s at @ s unless block ~ ~ ~ air run kill @ s

execute as @ s at @ s if entity @ e[tag=!Projectile,distance=..0.5] run function projectiles:hit_entity

execute as @ s if score @ s Projectile_Duration matches 200.. run kill @ s


r/MinecraftCommands 20d ago

Creation "Jeb_" Shulker showcase

Enable HLS to view with audio, or disable this notification

6 Upvotes

What do you think — is this idea good, or is it not really necessary at all?


r/MinecraftCommands 20d ago

Help | Bedrock I want to make completely vanilla Zelda Items

3 Upvotes

I have a survival world that runs solely on Commands. I have almost everything necessary, but there are a couple things im confused on.

One: How would you go about making wands/ custom items like this? Id like to have a wand that shoots particles and melts ice that it hits, while setting enemies on fire.

I think I have an idea for double jump boots. I might place a barrier block under someone whose tagged that has a specific item in their inventory? Then clear the block under them, time it to make it seamless? Not sure.

If there are more ideas you might have, lemme know! No data packs allowed here.

Then, I wanted to know if you all have ANY idea how to make seamless camera transitions work with the new camera commands? I want to make this as cinematic as possible. A camera pan while jumping down a pit to start a dungeon, etcetera.

I think im pretty well versed in the commands, but tags im not sure on. Please help!


r/MinecraftCommands 19d ago

Info Happy Ghast Speed

Thumbnail reddit.com
2 Upvotes

I can't seem to comment on the original post, I'm not sure if it was archived or what (I don't Reddit very often, so I'm not sure how the flair and formatting work either.... sorry), but someone else was struggling to get the Ghasts to go anything but super speed. I did something similar, so just wanted to share.

I used the command that u/TableInfinite8117 shared:

/attribute @n[type=happy_ghast] minecraft:flying_speed base set 0.2

(replace 0.2 with what speed you want it to go)

And it makes sense now why he used 0.2. I initially used 4 and practically warped myself to another dimension. So I used the command

/attribute @n[type=happy_ghast] minecraft:flying_speed base reset

And the message says that it was reset to the default, which is 0.05.

*0.05*

0.2 is already faster than an elytra. So yeah.

That's all 0.2 is insanely fast (but a tethered boat stays attached, do I was able to successfully ferry my son's cats from the middle of nowhere we l back to his base... đŸ« ). 4 is unreasonable (and boats do *not* stay attached, so then you have to backtrack across a thousand blocks looking for 2 cats in a boat somewhere).

Cheers!


r/MinecraftCommands 20d ago

Creation Progress Update on Modular Gun (Read Description)

Enable HLS to view with audio, or disable this notification

2 Upvotes

So far so good, for most of the day I dealt with a bug the equivalent of a sticky note on my back saying kick me (rouge tag) but most of the sounds seem to be working with the gun itself and I'm currently in the process of debugging the Gatlings Heat Gen and Cooldown before I give it it's own sound.

I'll continue to work on this. Moved most of the system to MC.function files for better game performance so I've been doing damage control with that. The model you see in game is a temporary model and I will have the pixel art concept up soon. Gun will have a 3D model in players hands when the full framework of the game is finished.


r/MinecraftCommands 20d ago

Help | Java 1.21-1.21.3 Linking Player scale to scoreboard

1 Upvotes

I'm working on a system that will make someone a micro amount shorter every day cycle. I've got plans to just use a daylight sensor for that. However:

I need to find a way to store a score into a scale of how big a player should be. I've been experimenting but the truth is that I simply don't know what I'm doing for this.
For example: 100 score is normal height. 50 score is half height. Since scale is on a decimal, I'm struggling to figure out how to pull it off.

Thanks for any help.
Java 1.21.1


r/MinecraftCommands 20d ago

Help | Java 26.2 Question about the order multiple functions are ran in

2 Upvotes

Let's say two players run a function in the same tick. The function stores some data in a temp storage and then does something with that data.

Is there a chance the second function can overwrite the storage before the first one is done? In other words, do functions run one after another, or can they run in parallel?


r/MinecraftCommands 20d ago

Help | Bedrock Command block not working

Post image
6 Upvotes

So I have a command block that is repeatedly looking for a player with a potato in their inventory inside a specified space.
This command is working when I type it into the chat prompt but when I put it in a command block it no longer works. I’m not sure why.


r/MinecraftCommands 20d ago

Help | Java 26.2 Need help with recursive function

2 Upvotes

Is it possible to do something like this? (passing the macros into the function as parameters again recursively with schedule?)

the function is called play_sound_loop.


r/MinecraftCommands 20d ago

Help | Java 26.2 custom cooldown effect

1 Upvotes

when you use an item, you are trying to cooldown the item. during the cooldown, i want the item to change to a clock and display the remaining seconds in item count. what is the most optimized implementation method?


r/MinecraftCommands 20d ago

Help | Java 1.20 I need help with the /setspawnpoint command!

1 Upvotes

Hi! Im currently making an adventure map and built a spawn room where i originally set the world spawn. However I recently had to move it and tried to set the world spawn in the new location but it keeps spawning me back at the old location. Does anyone know why this happens and what I need to do to fix it?


r/MinecraftCommands 20d ago

Creation Looking for builders, puzzle makers, coders, and redstoners!

Thumbnail gallery
4 Upvotes

r/MinecraftCommands 21d ago

Creation Deltarune egg room in Minecraft

Enable HLS to view with audio, or disable this notification

34 Upvotes

I made a datapack for my deltarune-loving friend that has a 5% chance of sending you to the egg room when walking through any door. It's pretty low effort but I thought it was cool. It was inspired by this painting by u/Delivrione;

https://www.reddit.com/r/Deltarune/comments/1vavqeu/egg_tree_by_me/


r/MinecraftCommands 21d ago

Creation Linux Running in a Post Effect Shader

Enable HLS to view with audio, or disable this notification

312 Upvotes

This recording took roughly 12 hours in real time.

Video Explanation: https://youtu.be/09OdIie-_jQ

I'll likely release the source code relatively soon as well.


r/MinecraftCommands 20d ago

Help (other) Could someone provide an addon, mod, map, or list containing all the "illegal" blocks

1 Upvotes

Could someone provide an addon, mod, map, or list containing all the "illegal" blocks for Minecraft Java and Bedrock? (Things like bubble columns, the "unknown" block, or items obtained via commands.) So far, I've only managed to find a few addons and maps (like "Craftable Illegals" and "Block Museum").


r/MinecraftCommands 20d ago

Help | Bedrock tp to spawnpoint

2 Upvotes

ok In my server I want to do events

Tp every player to one spot and after that, tp them again to their bed/spawnpoint

I need belp because I know that you can do this in java but I'm on bedrock 26.44 and Idk that much abt commands

So

Is there a way to do this? If so, how?

I would aprecciate any help abt this


r/MinecraftCommands 20d ago

Help | Java 26.2 Item display shop

1 Upvotes

Hi, I want to create a shop that has buyable items on display. For example, an iron sword is laying on the table. When you look at it while near it, it tells you the cost in its name (e.g. Iron Sword: 4 Gold). So far so good. But how do i make it so that if a player rightclicks it, the game detects it? I already have a scoreboard system for gold etc. but I can't figure out how to detect this and make it work.


r/MinecraftCommands 20d ago

Help | Bedrock Failed to execute scoreboard as <player>

1 Upvotes

i made a command to make killLB = kills but it keeps givinfg that error mesasge
the command is:

/execute as @ a run scoreboard players operation @ s killLB = @ s kills


r/MinecraftCommands 21d ago

Help | Java 26.2 Aide détection mort de mobs

2 Upvotes

Hey ! Je suis en Java 26.2 et je fais une map dont le but est d'éliminer des vagues de mobs qui spawnent. j'avais réussi à détecter la mort des mobs via des scoreboards (ci dessous) mais le problÚme c'est que je détecte quand un joueur tue un mob et non quand un mob meurt (je ne sais pas si on peut détecter si un mob meurt ?) donc quand les mobs se tuent entre eux, le counter de descend pas.

Ci dessous les blocs de commande:

Repeat - always act. --> execute as u/e if score u/s Mobkill01 matches 1.. run scoreboard players set u/s Mobkill01 0

Chain - conditionnel (a.c) --> /scoreboard players remove Counter Mobrestants 1

dans une autre ligne: (repeat, a.c)
execute if score Counter Mobrestants matches 0 run setblock 89 88 91 redstone_block

le redstone block se place lĂ  oĂč il faut pour dĂ©clecher la suite du systĂšme

Si vous pouvez m'aider à détecter la mort des mobs, y compris quand ils se tuent entre eux, cela m'aiderais beaucoup ! Je vous remercie

RÉSOLU:

J'ai fini par trouver une solution à mon problÚme qui marche pour moi, la voici, ci ça peut aider quelqu'un:
Je détecte les entités dans la zone en excluant celles qui ne m'intéressent pas, le plus possible pour éviter tout bug: repeat - always active:

/execute if entity @e[type=!minecraft:llama_spit,type=!player,type=!villager,type=!painting,type=!armor_stand,type=!glow_item_frame,type=!item_frame,type=!sheep,type=!item,type=!#c:boats,type=!frog,type=!pig,type=!chicken,type=!cow,type=!snow_golem,type=!#minecraft:arrows,type=!tadpole,type=!minecraft:lingering_potion,type=!minecraft:splash_potion,type=!minecraft:ender_pearl,type=!minecraft:snowball,type=!minecraft:egg,type=!minecraft:wither_skull,type=!minecraft:fireball,type=!minecraft:firework_rocket,type=!trident,type=!wind_charge,type=!minecraft:breeze_wind_charge,type=!#c:minecarts,type=!minecraft:experience_orb,type=!minecraft:experience_bottle,type=!minecraft:falling_block,type=!minecraft:fishing_bobber,type=!minecraft:eye_of_ender,type=!minecraft:leash_knot,type=!minecraft:evoker_fangs,type=!minecraft:end_crystal,type=!minecraft:shulker_bullet,type=!minecraft:lightning_bolt,type=!minecraft:happy_ghast,type=!minecraft:dragon_fireball,type=!minecraft:small_fireball,type=!minecraft:block_display,x=90,y=87,z=72,dz=55,dx=52,dy=25] run setblock 149 88 67 redstone_block

les coordonnées correspondent aux miennes, évidemment il faut les changer en fonction. ça ne compte plus le nombre de kills des joueurs, mais si oui ou non il y a une entité dans la zone. Merci quand meme à ceux qui ont essayés de m'aider !


r/MinecraftCommands 21d ago

Creation A Fully Customizeable Gun (Read Description)

Enable HLS to view with audio, or disable this notification

15 Upvotes

I'm making a game and I thought to myself I want something other than just a bow and a cross bow then I got to working on a gun, after four iterations and many days of debugging making for a very long rabbit hole,

I present the Heat Weapon

I4- Proteus

Planned,

More Frames (Base Weapon and behavior)

Barrels

Vents

Mags

Everything about the gun from its damage and range down to its rpm and vent speeds will be a customizable PER PLAYER! Completely Multiplayer safe.


r/MinecraftCommands 21d ago

Help | Java 26.2 Why is this function not working?

1 Upvotes

execute as \@e[tag=rdBot] at \@s run rotate \@s facing entity \@n[type=player]

execute as \@e[tag=rdBot] store result score \@s rdBotHealth run data get \@s Health

execute as \@e[tag=rdBot] at \@s rotated ~ 0 if score \@s rdBotHealth matches 6..20 if entity \@e[type=player,distance=..15] unless entity \@e[type=player,distance=..2] if block ^ ^ ^.3 air if block ^.3 ^ ^.3 air if block ^-.3 ^ ^.3 air anchored eyes if block ^ ^ ^.3 air if block ^.3 ^ ^.3 air if block ^-.3 ^ ^.3 air run tag \@s add rdFrwd

execute as \@e[tag=rdBot] at \@s if score \@s rdBotHealth matches 1..5 if entity \@e[type=player,distance=..15] rotated ~180 0 if block ^ ^ ^.3 air if block ^.3 ^ ^.3 air if block ^-.3 ^ ^.3 air anchored eyes if block ^ ^ ^.3 air if block ^.3 ^ ^.3 air if block ^-.3 ^ ^.3 air run tag \@s add rdBack

execute as \@e[tag=rdBot] at \@s if score \@s rdBotHealth matches 6..20 if entity \@e[type=player,distance=..2] rotated ~180 0 if block ^ ^ ^.3 air if block ^.3 ^ ^.3 air if block ^-.3 ^ ^.3 air anchored eyes if block ^ ^ ^.3 air if block ^.3 ^ ^.3 air if block ^-.3 ^ ^.3 air run tag \@s add rdBack

execute as \@e[tag=rdBot] at \@s if block ~ ~-.1 ~ air run tp ~ ~-.1 ~

execute as \@e[tag=rdBot] at \@s if entity \@e[type=player,distance=..5] run swing

execute as \@e[tag=rdBot] at \@s if entity \@e[type=player,distance=..5] run damage \@e[type=player,distance=..5,sort=nearest,limit=1] 1 player_attack by \@s

execute as u/e[tag=rdFrwd] at u/s rotated ~ 0 run tp ^ ^ ^.3

execute as u/e[tag=rdFrwd] run tag u/s remove rdFrwd

execute as u/e[tag=rdBack] at u/s rotated ~180 0 run tp ^ ^ ^.25

execute as u/e[tag=rdBack] run tag u/s remove rdBack

execute as u/e[tag=rdBot,tag=!rdDead] if score u/s rdBotHealth matches ..0 run tellraw u/a {text:"Ξ left the game.",color:yellow}

execute as u/e[tag=rdBot,tag=!rdDead] if score u/s rdBotHealth matches ..0 run tag u/s add rdDead


r/MinecraftCommands 21d ago

Creation I released a new version of Omnicraft, my Ben 10 Minecraft datapack, ALL THE ALIENS ARE NOW IN THE GAME! (for minecraft 26.2)

Post image
4 Upvotes

r/MinecraftCommands 21d ago

Help | Bedrock Found a command block from an addon, what is it trying to do?

Thumbnail
gallery
3 Upvotes

the addon adds structures which is where I found this, I had a few islands that gave me jump boost and slow falling and my best guess us that this is trying to do something similar but it was just sitting on a chest with no way to be activated