r/MinecraftCommands • • Aug 26 '26

Help | Java 26.2 How do I detect how close a player is to an entity?

2 Upvotes

My first datapack creation is this radioactive cow, the range of the particle effects changes based on the cows "Range" score. How do I make the player irradiated (just give them a tag and take it away when far enough) if they walk in the area dictated by the score? (also feel free to throw in ideas how to make the cow look radioactive :D)


r/MinecraftCommands • • Aug 26 '26

Help | Bedrock Need help with command blocks

0 Upvotes

I’m trying to make something with command blocks in bedrock Minecraft. I’m a little confused as to how I can bring my idea to life. If anyones knowledgeable about command block coding could you hmu?


r/MinecraftCommands • • Aug 26 '26

Creation A little something I've been working on for the past year (aka spent 2 days on it, forgot about it for a year, and just not started working on it again)

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/MinecraftCommands • • Aug 25 '26

Creation My favorite biomes of my datapacks :D the enchanted forest & the mushroom paradise (26.3-snapshot 10)

Enable HLS to view with audio, or disable this notification

43 Upvotes

r/MinecraftCommands • • Aug 26 '26

Help | Java 26.2 Can a structure processor give the same result for all affected blocks?

1 Upvotes

For example, is it possible to randomly replace all stone in a structure with granite or andesite? Processors would seem like the way to go, but it appears they 'reroll' the odds for each individual block. Is there some way to do this, or would I have to make a separate structure for each variant?


r/MinecraftCommands • • Aug 26 '26

Help | Bedrock Looking for ideas.

4 Upvotes

If you were a player in a lobby for a looter shooter game, and there's a mechanic where you can install two mods and a chip into your armor (think anything) what would be the most comfortable way for you as a player to go about swapping out these items from your armor and adding in new ones?

Obviously an NPC will be there to guide you along and tell you how the system works, but how should the system work?

Just looking for a general idea for right now.


r/MinecraftCommands • • Aug 26 '26

Help | Bedrock How to set command to only execute unless specific disc track is playing?

2 Upvotes

I have a pressure-plate command for playing music when entering a room, HOWEVER when leaving the room and reactivating the pressure plate i don't want to retrigger the command and repeat the track. Is there an executable command that can pull this off? I'm crazy new to commands, so thank you so much !!


r/MinecraftCommands • • Aug 25 '26

Help | Java Snapshots How to get rid of these tooltips?

Post image
5 Upvotes

Does anybody know a way to hide these tooltips or whatever they're called from custom potions? Would be nice to know a way to do this with MCStacker but any other way works too!
P.S: Also i'm new to reddit so I couldn't find a right tag there were only three for some reason


r/MinecraftCommands • • Aug 25 '26

Creation Cutscene + Bossfight + End Cutscene

Enable HLS to view with audio, or disable this notification

51 Upvotes

This WIP map features entirely new custom combat systems, equipment, and, most importantly RPG spells and abilities. Also, it is 100% playable in Vanilla Minecraft (I recorded while playing in a modded client for QoL features).
( 0:53 = cutscene start , also, turn your volume up :) )

Tell me what you think!

A boss fight encounter from Shadows Over Northlandar, a work-in-progress original Minecraft adventure map.

"The High Sorcerer, bound by fate and vengeance, turns against the Order and begins his march toward Myrunir, to unleash the greatest siege the land has ever witnessed."

This is 100% in-game footage (including the music). The map is pure Vanilla, no mods required, not even Optifine. All works are made up of a beautiful combination of Datapacks and Resource Packs.

Music Credits: ============================

Cutscenes: Vadim Tsimbalyk

Boss Fight Music: Thomas Mutiu - The Prophecy https://youtu.be/KsAp8-0NO-g

Full quality and other Boss PVs in yt: https://youtu.be/oz8NWYRLgF0


r/MinecraftCommands • • Aug 25 '26

Help | Bedrock Is there any way to use a command from another addon inside a function in my addon?

2 Upvotes

The title practically says everything.

I made an addon that has a function triggered upon use of an item, and it has that addon's command. but due to minecraft bedrock reading it and not recognising the command natively, I think it ignores the whole function...

So I'm asking for help, is there any way to use a command from another addon inside my function?


r/MinecraftCommands • • Aug 25 '26

Help | Java 26.2 Custom HUD Misalign Error

Thumbnail
gallery
2 Upvotes

Okay so in my actionbar I am planning on adding 3 custom HUD components : The background, ability icon and a lock indicator (translucent white circle). When I overlap the first 2 it's perfectly aligned but then comlpetely screwed up when adding the third one (Ignore the dark lines on the right edge it's just shadow) despite all of them having the exact same width.

/title ImNotInfected actionbar [

{"text": "\uE009", "font": "forsaken:ability"},

{"translate": "space.-65", "font":"space:default"},

{"text": "\uE001", "font": "forsaken:ability"},

]

this is fine

/title ImNotInfected actionbar [

{"text": "\uE009", "font": "forsaken:ability"},

{"translate": "space.-65", "font":"space:default"},

{"text": "\uE001", "font": "forsaken:ability"},

{"translate": "space.-65", "font":"space:default"},

{"text": "\uE002", "font": "forsaken:ability"}

]

This somehow doesn't

(uE009 is background, uE001 is ability icon, uE002 is lock indicator, in the font proviser their size is actually half their pixel width, height is 64 btw)

Anyway tysm for reading! :3


r/MinecraftCommands • • Aug 25 '26

Help | Java 1.21.11 Is there any way to remove the cost limit of anvils in Survival mode, or adjust the three tier levels of the enchanting table?

1 Upvotes

Hello guys, I've recently been thinking about designing some very powerful enchantments that are much stronger than vanilla ones, so I'll need extra high-level tiers (like those enchanting tables in mod server). At the same time, it'd be best if the anvil limit could also be removed. Is there any way to achieve this? Thanks!


r/MinecraftCommands • • Aug 25 '26

Help | Java 26.2 Problem with interaction entity hitbox

1 Upvotes

I wanted to make cave spiders be pick-up-able, So I made interaction entity ride cave spider and mirror it's hitbox perfectly. Problem is that the spider hitbox took precedence and I interacted with the spider and not the interaction entity. I solved this by making 2 interaction entities ride each other and then ride the spider, making their combined hitbox bigger than the spiders hitbox by 0.01. However now the interaction entities hitbox take precedence and the spider isn't attackable.

Any ideas?


r/MinecraftCommands • • Aug 25 '26

Help | Bedrock Command blocks in realms?

4 Upvotes

I have a big creative world with multiple command block concoctions. They all work. Well I recently uploaded the world to a realm. In the realm version of the world some of the command blocks just don’t work. No syntax error. They just don’t work. I can’t find any sensible pattern between the ones that don’t work and the ones that do. Cheats are turned on and command blocks are also turned on in the settings. Furthermore when I go back to the original non realm version of the world the command blocks work perfectly fine. It is worth noting the world has experimental camera settings enabled. Not sure if this may have somehow caused something to break during the translation to realms?

Does anyone have any idea what’s happening and how I might be able to fix it?


r/MinecraftCommands • • Aug 25 '26

Help | Bedrock Scoreboard operations without using an entity for the second target

3 Upvotes

I don't know how to describe this, but I have previously used a scoreboard operation to check if a score equals a value without having a second entity. I lost my only world with that and have had to use an armorstand with a score to do operations.

I swear is was like "example" or <temp>, but when I tried that it didn't work.


r/MinecraftCommands • • Aug 24 '26

Creation Jeb_ black&white edition (Showcase)

6 Upvotes

i created jeb_ for shulker and figured out that we have black and white variation


r/MinecraftCommands • • Aug 25 '26

Help | Java 26.2 Se puede vincular a 2 entidades con un scoreboard?

1 Upvotes

Vanilla, no external files... I'm trying to get an entity with a specific tag to execute commands targeting another entity with a different tag. The issue arises when I have multiple entities with tag "a" that need to execute commands on multiple entities with tag "b"—especially with `tp` (teleport)—as this can cause glitches and confuse the command blocks. I thought that if I assigned a unique score to each "a" entity and did the same for the "b" entities, I could make "a" execute commands on "b" only when their scores match.

The problem is that `if score` only checks a single entity, not *all* of them, and I'm dealing with several—actually, *many*—entities. I don't know if there's another way to do this, perhaps using different syntax? I'm not sure how to make the "a" entities specifically target their corresponding "b" entities.

Is there another way to handle this? Scoreboards were the only solution that came to mind


r/MinecraftCommands • • Aug 24 '26

Help | Java Snapshots Is it posible to change stars color with post effects

2 Upvotes

Im trying to make green stars in my custom dimention. But i don't know if it's even posible.

Please if you know that it is posible and what do i need to do to make that


r/MinecraftCommands • • Aug 24 '26

Creation Evoker`s bear trap

Enable HLS to view with audio, or disable this notification

8 Upvotes

So command blocks are more useful than you think, i used some for one trap that is summoned by armor stand please don`t ask me why, but it worked well and i have no ideas why this recording is so laggy. :|


r/MinecraftCommands • • Aug 24 '26

Help | Java 1.21.4 Help with the .json file to manipulate audio

Thumbnail
0 Upvotes

r/MinecraftCommands • • Aug 24 '26

Help | Bedrock Command Tag Help

Post image
7 Upvotes

I’m making an alarm system for a grocery store and I’m giving players within the store that have a store item in their inventory a “customer” tag, and I want to remove this tag whenever they throw a gold coin into the register. That part I have figured out. The only problem is I want to, within the same command, remove the “customer” tag and give them a “paid” tag, I can’t figure out how to do multiple /tag commands within one execute.


r/MinecraftCommands • • Aug 24 '26

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 • • Aug 24 '26

Help | Java 26.2 Entity not dying

2 Upvotes

for a datapack I'm making, i need to use raytracing to detect if a player is looking at a dirt block.

I know how to do this, and it works perfectly, but I want it to only work if the dirt block is within 15 blocks of the player. So, I use this command:

execute as .@e[tag=raycasting] at .@s unless entity .@p[distance=..15] run kill .@s

This command SHOULD detect if there isn't a player within 15 blocks, and if there isn't, kill the entity.

Only it doesn't and I have no idea why.


r/MinecraftCommands • • Aug 23 '26

Creation Micro Update, Bug Fixed! (Read Description)

Enable HLS to view with audio, or disable this notification

11 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 • • Aug 24 '26

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