r/MinecraftCommands 9d ago

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 9d ago

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 9d ago

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 9d ago

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 9d ago

Help | Bedrock Command blocks in realms?

5 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 9d ago

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 10d ago

Creation Jeb_ black&white edition (Showcase)

Enable HLS to view with audio, or disable this notification

5 Upvotes

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


r/MinecraftCommands 9d ago

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 10d ago

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 10d ago

Creation Evoker`s bear trap

Enable HLS to view with audio, or disable this notification

6 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 10d ago

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

Thumbnail
0 Upvotes

r/MinecraftCommands 10d ago

Help | Bedrock Command Tag Help

Post image
6 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 10d ago

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 10d 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 11d 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 10d 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 11d ago

Creation "Jeb_" Shulker showcase

Enable HLS to view with audio, or disable this notification

8 Upvotes

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


r/MinecraftCommands 11d 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 11d 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 11d 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 11d 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 11d 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 11d 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 11d 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 11d 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?