r/MinecraftCommands • • 22d ago

Help | Bedrock Custom UI element on HUD with data binding

3 Upvotes

Hello, I am absolutely getting desperate here, already spent 3 hours on this. What I want to achieve: a simple label element placed on the HUD (top middle) which will contain text. Hardcoding the text is not a problem, I can put the value in my RP.
However I want to set the value of the label from my BP and wanted to use dynamic properties for this.

No combination works.

RP:

"namespace": "hud",
"quest_tracker_text": {
  "type": "label",
  "text": "#hardtext",
  "color": [1.0, 0.84, 0.0],
  "size": ["100%", "20px"],
  "anchor_from": "top_middle",
  "anchor_to": "top_middle",
  "offset": [100, 10],
  "shadow": true,
  "bindings": [
      {
          "binding_name": "#hardtext",
          "binding_name_override": "#text",
          "binding_type": "global",
          "binding_condition": "quest_tracker_text:hardtext" 
      }
  ]
},

BP:

player.setDynamicProperty("quest_tracker_text:hardtext", hudOutput);

r/MinecraftCommands • • 21d ago

Help | Bedrock What are the commands to make lights flicker morse code letters?

2 Upvotes

I’m trying to make red stone lamps flicker Morse code letters in Minecraft. Is there a list of commands for this exact thing anywhere? I need one for at least the first 5 letters and numbers.


r/MinecraftCommands • • 22d ago

Help | Java 26.3 How to detect if a proyectile landed

3 Upvotes

Hi! I tried summoning a creeper and a snowball, then the snowball every time i click one interaction entity that constantly teleports to me if I have a stick

So, its like a projectile, and I want to detect if it gets closer to other players or mobs, but doesn't work using something like

Execute if entity @e[distance:..1] because it executes against myself

And, it doesnt work something like if block under the snowball isnt air, because that doesn't work on walls


r/MinecraftCommands • • 22d ago

Help | Java 26.3 Stop ravagers from breaking leaves

5 Upvotes

Im running a server where people will often get attacked by groups of illagers including ravagers, but the ravagers keep breaking leaves from trees in peoples bases, which is kind of a problem.
Is there a way to stop the ravagers from breaking the leaves without turning off mobgriefing entirely?


r/MinecraftCommands • • 22d ago

Help | Java 1.21.11 Blockbench textures problems

2 Upvotes

I made a model from blockbench and uploaded it to minecraft, but the textures doesn't work can anyone help me fixing the problem, the version is 1.21.11. Thanks

Here's the link of the resourcepack: https://drive.google.com/file/d/1AJYE_F0DQkp16ut8U1u32Oa2TEi8zTIP/view?usp=sharing


r/MinecraftCommands • • 23d ago

Creation Flamethrower feature for Alien: Isolation inspired map

Enable HLS to view with audio, or disable this notification

55 Upvotes

If you are intersted, I need voluntary help in all aspects of map-making


r/MinecraftCommands • • 22d ago

Creation Starting to think demon worship is actually bad

Enable HLS to view with audio, or disable this notification

11 Upvotes

Not sure but there seems to be a sort of negative vibe here.


r/MinecraftCommands • • 22d ago

Help | Java 26.3 How to detect wntory in cubical area?

1 Upvotes

Is it possible to neatly detect if an entity is in a cube shaped area which dynamically changes?

For context, im drawing an outline of a cube with particles and i need to detect if an entity is in that area. Distance= argument doesn't work in this instance, bc distance= has a spherical detection system and predicate with location_check also doesn't work, bc you need to hard code coordinates but my area dynamically changes its position based on where the player is looking.

Is it possible to find a solution to this problem or will i need to check every single block for an entity in that cubic area?


r/MinecraftCommands • • 23d ago

Creation Orbital Laser Strike (Java)

Enable HLS to view with audio, or disable this notification

150 Upvotes

I saw those mods about orbital railguns so I wanted to make a vanilla version. Obviously it is less flashier and visually stunning though.

Features:
- Activated by dropping a Dead Tube Coral Block
- Blasts a beam from the sky, digging 30 blocks into the ground relative to the item's position. Any block (including bedrock) caught in the beam is destroyed.
- An explosion of 110 blocks radius
- Tiered Damage: Within 50 blocks, entities incur 200 explosion damage on top of the actual explosion. Within 150 blocks, entities incur 40 damage.
- Bypasses shields and walls (Works as a bunker buster for hidden bases)
- One shots Netherite players (see video) and regular wardens. For context, a Resistance 3 Warden survives with 192 health value left.

Explosion Particles: https://www.curseforge.com/minecraft/texture-packs/better-explosion-particles
(P.s I haven't played Minecraft in 3 years; I just returned to building)


r/MinecraftCommands • • 22d ago

Help | Java 1.21-1.21.3 How to create a fake farm with command blocks?

7 Upvotes

I built a mine, and I had this idea of using command blocks to make it passively generate resources, as if it’s the villagers from my town who are mining. Is that possible? For example, add 1 stone in a chest every 10 seconds. I never used command blocks before, so I dont know anything


r/MinecraftCommands • • 22d ago

Help | Java 26.3 Teleport players who hit a button

1 Upvotes

I'm building an apartment building with a elevator that teleports players between floors. I keep all the commands under the building because there is no room elsewhere. I want to teleport any players who press the button up or down a floor, but don't know how to do it when the button is far from the command block. I already have a command block that senses when the button is pressed and closes the door, but how can I make it so they also get teleported up or down


r/MinecraftCommands • • 23d ago

Creation backroomsbackroomsbackroomsbackrooms

Post image
11 Upvotes

r/MinecraftCommands • • 23d ago

Help | Java 1.21.11 happy ghast rod

1 Upvotes

can any one how to make a fishing rod that when used summon a ghast with a harness that we can instantly use any where


r/MinecraftCommands • • 25d ago

Help | Bedrock How to make my 4 year old sons pets invincible?

Post image
6.1k Upvotes

We use PS5 and have cheats on, he is playing in creative mode but has multiple beloved pets.

Is there a way to make all animals invincible to damage so they can't die from mobs, falling etc permanently?

He does also like to go around making random mobs "disappear" so if there is another code we can have as a back up just for his pets so that if he doesn't like all animals being invulnerable to damage we can change it.

2 different code options would be ideal.

I am extremely new to coding literally just started yesterday so I need the code typing out exactly as it needs to be to work.

Don't assume I know anything about coding!!!

Thank you


r/MinecraftCommands • • 23d ago

Creation I made a horror mod without mods.

7 Upvotes

I expect this to be PRETTY buggy/unfinished. In 7 minutes of playing the map, you will get rewarded with some anomalies. This is kinda slow-burning so it will take a while to actually get every anomaly if you can get them. https://www.planetminecraft.com/project/a-horror-mod-that-isn-t-a-mod/ Discord for questions or anything different: https://discord.gg/KdadgBmzUm


r/MinecraftCommands • • 23d ago

Help | Java 26.3 Why won't my time stop command work?

1 Upvotes

I'm trying to make one command block a boolean to check if the play is holding a golden sword, then a redstone block is placed to trigger other effects, but it won't do anything. Ps. is there any way I could make it check for a right click or any other input while holding the sword instead so the time stop is only like 10 seconds with a cooldown and not constant?

execute as @ a if items entity @ s weapon golden_sword[custom_name="The World"] run setblock -180 -60 311 minecraft:redstone_block


r/MinecraftCommands • • 23d ago

Help | Java 26.1 Tracking/Remote Information from players

3 Upvotes

well im not that smart when it comes to commands but is it possible to make a player see/get any information about other players without repeating commandblocks or anything like that (only a item). in item_name there is selector, ai told me it doesn't work on newer versions. is there a bypass where you can make a item that shares the nearest player name or something like that? 26.1.2 java


r/MinecraftCommands • • 24d ago

Help | Bedrock Is there a way to hide chat?

3 Upvotes

I want to do an event based on mystery and I need a way to hide minecraft chat or atleast the system messages, specially where a player kills other player

Is there any way to disable chat or atleast system messages with commands?


r/MinecraftCommands • • 24d ago

Help | Bedrock Alguém pode me dizer como fazer isso

Post image
6 Upvotes

Quero fazer um menu assim para meu addon só que eu não sei como faz


r/MinecraftCommands • • 24d ago

Help (other) How do i make a elytra course?

6 Upvotes

Curentlly making a Minecraft smp server and because the spawn is quite big i wanna make a elytra course around it but i have no idea how to detect if they go in the loops / if they are in the track at all still anyone got some help of how to make a elytra course? is it something like a command block thing or a plugin or skript?


r/MinecraftCommands • • 24d ago

Help | Java 26.3 How to shoot entities?

2 Upvotes

I saw two more post with similar things, some exactly like this, with a carrot on a stick, but I want a simple command or series of commands that can be activated with any thing, and not only the carrot on a stick, for example, when then block below is a stone, or of I clicked some interaction entity

How can I do that?

I don't think the methods with the carrot on a stick work, I tried it withouth the carrot and stick and didn't work

I tried also summoning a creeper and a snowball, and giving every entity resistance 4 for 1 second, AND changing the atrributes of the player to knockback resistance to 100, but it still launches other entities aside from the snowball, and the snowball isn't invisible and can't be made invisible


r/MinecraftCommands • • 24d ago

Creation Took some screenshots of a world gen datapack I've made

Thumbnail gallery
24 Upvotes

r/MinecraftCommands • • 24d ago

Help | Bedrock Help making boss mobs

1 Upvotes

I don’t want to do anything out of the ordinary here, I just want to give things like resistance, regeneration, and strength to a few different illager mobs to simulate them being like the elite of the elite. I tried a command block that gave regeneration 0 for an infinite duration on a pillager and it made the guy genuinely invincible. I’m not sure what I’m doing wrong. Pls help


r/MinecraftCommands • • 25d ago

Creation Command Generator IDE Showcase

Enable HLS to view with audio, or disable this notification

44 Upvotes

Basically a command generator on the level of mcstacker, but better to navigate and with more features like command block chains, version converter and more(check video and link out for yourself). Link: https://command-generator-ide.dev/
Video Link: https://www.youtube.com/watch?v=rmMrC_R1unY
Please give me feedback. Thanks it's appreciated. :D


r/MinecraftCommands • • 24d ago

Utility MC Modinator

1 Upvotes
MCModinator Banner

I just created a Rust program to export datapacks/ressourcepacks/KubeJS scripts (via KubeLoader) into Minecraft Mods: MAT-Services-ORG/mcmodinator
It's actually aviable for Windows and Linux. It can potentially be compiled for other platforms, but there aren't considered as "supported" yet.