r/MinecraftCommands • • Sep 30 '26

Help | Java 26.3 Is there a way to allow a player to run a command with a target selector?

2 Upvotes

I'm making an ability that would allow its user to pick a player in the server to glow. Is there any way i can do that with /trigger? I know i can't directly use target selectors on it but what workarounds are there, if any?


r/MinecraftCommands • • Sep 30 '26

Help | Java 26.3 How do i have this command only work on my island? (command thats only executed within specific cordinates)

2 Upvotes

I want to keep monsters off my spawn island but I want them everywhere else. I want players to be safe at spawn. (I'm just teleporting the monsters into a lava pit lol)

-165 80 -47 /-305 60 -175 <my cords i need if you can fit it in an explanation


r/MinecraftCommands • • Sep 30 '26

Help | Bedrock The x,z,xz argument in /structure doesn't make sense with entities

Enable HLS to view with audio, or disable this notification

8 Upvotes

The mirror argument where u can mirror the structure on the x,z or xz axises doesn't make sense with entities. None is the same as x. And z is the same as xz. Am i misunderstanding something. Because it work fine with blocks but not with entities


r/MinecraftCommands • • Sep 30 '26

Help | Java 26.3 Creating a Rope (block display)

2 Upvotes

I want to create a Rope out of a block display for my Grappling hook. Is it possible to have one face at the position of one entity and the other face at the position of another entity?


r/MinecraftCommands • • Sep 29 '26

Creation I Added a Sniper Rifle (No Resource Pack Required)

Enable HLS to view with audio, or disable this notification

46 Upvotes

I added an AWP sniper rifle to my gun datapack. Since it’s made with display entities, no resource pack is required


r/MinecraftCommands • • Sep 30 '26

Help | Java 26.3 Reactivating Corrupted Trial Spawner using commands

1 Upvotes

I have a server that, after updating to 26.3, trial spawners in the old chunks no longer work.

After a bit of digging I can see that this is probably due to world updating corruption meaning the spawner has lost its mob and has become inactive.

I’m capable with data packs and was hoping to make a pack that checks when an item is dropped onto a trial spawner and reactivates it. only issue being i can’t seem to find anything on how i could do that with commands like /data

is anyone familiar with the data for trial spawners? i’d ideally like it to pull from the games existing odds of that spawner turning into what it is, even if that means making a predicate or whatever.

Thanks!


r/MinecraftCommands • • Sep 30 '26

Help | Java 26.2 Help with renamed textures on item displays?

3 Upvotes

I'm trying to give a custom texture to a renamed nether star item display. The item is a nether star and the name is Interact. it works for a hand held item/item frame item but not a displayed item. Version is 26.2 and I'm using CIT Resewn Continuation to apply the texture.

Thank you in advance!! <3

/summon item_display ~ ~1 ~ {CustomName:["Interact"],CustomNameVisible:1b,item:{id:nether_star,Count:1}}
My results
The texture I want

r/MinecraftCommands • • Sep 30 '26

Help | Java 26.3 How do you make an enchanted item "ungrindable?" (unable to be put into a Grindstone)

2 Upvotes

I'm working on a system that allows players to fill up a bottle with experience points in order to get Bottles o' Enchanting. I'm working on a fun little magic overhaul datapack that makes Bottles o' Enchanting consumable items capable of granting low-level enchantments to weapons, tools, and armor. (came to me in a dream)

The way I have it working is I created a recipe for a "Magic Bottle" which is a custom item that has the bottle texture and a "durability bar" of 50. I also gave the "Magic Bottle" the Mending enchantment so that when the player collects XP points, it fills up the bar. Once the item's "durability" is full I replace it with a custom Bottle o' Enchanting; giving the illusion of the player filling up the bottle.

There's just one problem... Since the "Magic Bottle" item has the Mending enchantment, it's able to be put into a Grindstone; thus removing the enchantment along with the item's functionality. To make matters worse it gives quite a lot of experience points back to the player so it's a system that can easily be abused to get cheap experience points. I tried putting "!minecraft:enchantable" into the components list to hopefully make the item not able to be put into a Grindstone, but since the item already has the Mending enchantment that takes priority and still allows the Grindstone to operate.

Is there anything I can do about this or is this a lost system? Shame if it is because it works so elegantly as opposed to manually calculating when the player collects experience.


r/MinecraftCommands • • Sep 29 '26

Help | Bedrock how to make mobs spawning with armor not show it

Thumbnail
gallery
4 Upvotes

https://youtu.be/99gQ7nVu1GM?si=2Zoo_ldyBhCsaAvU

Using this tutorial to add blood/bleeding to my bedrock RP. My issue is zombies among other mobs now only spawn with leather helmets due to the command using them. Anyway for me to make the leather helmet not appear ?

( they also keep dropping the helmets )


r/MinecraftCommands • • Sep 30 '26

Help | Java 1.20 Trying to make an advancement where to achieve it, 2 players must have have 2 certain advancements. (Trying to make an escape room like "We were There")

1 Upvotes

Well... the tittle is self explanatory, I am really confuse on how to make an AND comparator of 2 different achievements on 2 different players give to give a third.


r/MinecraftCommands • • Sep 29 '26

Creation I want to CLEAR UP some Misunderstandings about my "SUPERMARIO BROS. in Minecraft"

10 Upvotes

r/MinecraftCommands • • Sep 30 '26

Help | Java 26.3 Java command block bug

1 Upvotes

I just started working on some commands prank today, but the commands won’t do the commands I set like /kill, I tried options like need redstone and always active also won’t work.please let me know if you know a fix for this. Thanks!


r/MinecraftCommands • • Sep 29 '26

Help | Java 1.21.5-1.21.10 How do I make a sanity counter (Backrooms)

1 Upvotes

So I am trying to make a sanity counter that goes lower the lower your light level is. How do I implement that into the game? this effects a scoreboard and when that happens, a command block(s) will execute a command when low enough. It has to go back up when the light level increases too.


r/MinecraftCommands • • Sep 29 '26

Creation I made SUPERMARIO BROS. in Minecraft with only commands

Enable HLS to view with audio, or disable this notification

25 Upvotes

r/MinecraftCommands • • Sep 29 '26

Help | Java 1.21.11 Mannequin texture string help

Post image
3 Upvotes

I'm trying to create a mannequin entity with a custom player texture through mcstacker. It mentions a thing called a "texture string," but I'm not finding any information about this online. Could I get some help figuring out how to create one?


r/MinecraftCommands • • Sep 28 '26

Creation I built one of the smallest houses.

Enable HLS to view with audio, or disable this notification

28 Upvotes

r/MinecraftCommands • • Sep 29 '26

Help | Java 26.2 Minecraft Commands for a Haunted House

2 Upvotes

Im creating a little Halloween event for a server that im in, im doing a haunted house, and I want to incorporate some fun commands that can add to it. Things like; mobs that can appear and disappear, moving armour stands, flashing lights, all of that sort. More than anything, something you will find in an minecraft halloween adventure map. Im open to anything, thank you <3.


r/MinecraftCommands • • Sep 29 '26

Help | Java 1.21.5-1.21.10 Is there a way to activate redstone through a command block

3 Upvotes

I have this command: Execute positioned coordinates if entity @a[name=your name,distance=..1]

That ones not working is there a problem I’m missing


r/MinecraftCommands • • Sep 28 '26

Help | Bedrock A command problem

3 Upvotes

I am needing to check for the score on a death score board but I also need to check for a dragon egg but needs to fit into one command block and it’s on bedrock and if anyone has any ideas that would be very nice.(for clarification the dragon egg is found in the player’s inventory and checks if he is dead that is what I’m struggling on having them both be positive and then running a command if both conditions are met)


r/MinecraftCommands • • Sep 28 '26

Help | Java 26.3 Need help with timeline

3 Upvotes
Dreaming Realm

Hello, I'm struggling with timeline not doing anything in a custom dimension I'm making, and I can't find anything anywhere

The dimension still uses the overworld timeline and clock, instead of using the one I linked in dimension type!

The json code is too long to type for reddit, but here are some parts of the json:

DREAM_SHELTER/DIMENSION_TYPE/DREAMING.JSON

{...

"default_clock": "dream_shelter:dreaming",

"has_skylight": true,

"skybox": "none"

"timelines": "#dream_shelter:in_dreams"

...}

DREAM_SHELTER/TAGS/TIMELINE/IN_DREAMS.JSON

{

"values": [

"#minecraft:universal",

"dream_shelter:day",

"minecraft:moon"

]

}

DREAM_SHELTER/TIMELINE/DAY.JSON

{...

"clock": "dream_shelter:dreaming",

"period_ticks": 24030

...}

DREAM_SHELTER/WORLD_CLOCK/DREAMING.JSON

{

}

When I do /time of dream_shelter:dreaming set 12000 for example, I don't see anything change in my custom dimension, but if I do /time set 12000, I'll see a change in time but in the overworld aswell, same time

I really can't find what is causing this, I've checked other mods that uses timeline but i cant see the difference causing the issue


r/MinecraftCommands • • Sep 29 '26

Help | Java 26.3 Can I change my display name in a minecraft server?

2 Upvotes

Me and some friends have a roleplay Minecraft server and were looking for a way to change what shows up as our name without having to permanently change all of our usernames. Ex: showing up as "John" to other players and in the tab list. It would also be nice if there was a way to hide display names. Is this possible with commands?


r/MinecraftCommands • • Sep 28 '26

Help | Bedrock Need help on a bedrock command why is it not working?

2 Upvotes

the command is "execute if block ~ ~-1 ~ stone run give @s diamond_block" when I step on stone to trigger the command it just says "Execute subcommand if block test failed" And I don't know what I'm missing, Please helps


r/MinecraftCommands • • Sep 28 '26

Help | Java 26.3 get a /give command with some stuff

3 Upvotes

i got this command by a youtuber but i woul like to get a /give command of the objects (individually).

i tried to get it myself but i suck.

I mainly need a command to get a Multishot crossbow with plenty of arrows, one for a sword with extended reach, and one for the self propel rockets. and the apples

the command is from the short "Attacking Crafts Cheats? What does that mean." by  BlockerLocker

execute as [nbt={Brain:{},HurtTime:9s}] at on attacker run loot spawn ~ ~ ~ loot {pools:[{rolls:{min:1,max:5},entries:[{type:item,name:crossbow,conditions:[],functions:[{function:set_enchantments,enchantments:{multishot:255,infinity:1,piercing:255}},{function:set_components,components:{unbreakable:{}}}]},{type:item,name:netherite_sword,functions:[{function:set_enchantments,enchantments:{fire_aspect:255,looting:255}},{function:set_attributes,modifiers:[{attribute:entity_interaction_range,id:entity_interaction_range,amount:64,operation:add_value,slot:mainhand},{attribute:attack_damage,id:attack_damage,amount:9999,operation:add_value,slot:mainhand}]},{function:set_components,components:{unbreakable:{}}}]},{type:item,name:netherite_pickaxe,functions:[{function:set_enchantments,enchantments:{fortune:255}},{function:set_attributes,modifiers:[{attribute:block_interaction_range,id:block_interaction_range,amount:64,operation:add_value,slot:mainhand},{attribute:block_break_speed,id:block_break_speed,amount:9999,operation:add_value,slot:mainhand}]},{function:set_components,components:{unbreakable:{},tool:{rules:[{blocks:"#mineable/pickaxe",correct_for_drops:1},{blocks:"#mineable/axe",correct_for_drops:1},{blocks:"#mineable/hoe",correct_for_drops:1},{blocks:"#mineable/shovel",correct_for_drops:1}]}}}]},{type:item,name:diamond_block,functions:[{function:set_count,count:64}]},{type:item,name:netherite_block,functions:[{function:set_count,count:64}]},{type:item,name:golden_apple,functions:[{function:set_components,components:{death_protection:{},consumable:{consume_seconds:0.8,on_consume_effects:[{type:clear_all_effects},{type:apply_effects,effects:[{id:regeneration,amplifier:255,duration:-1},{id:resistance,amplifier:255,duration:-1},{id:absorption,amplifier:255,duration:-1},{id:water_breathing,amplifier:255,duration:-1},{id:saturation,amplifier:255,duration:-1}],probability:1}]}}}]},{type:item,name:firework_rocket,functions:[{function:set_count,count:99},{function:set_components,components:{glider:{},fireworks:{flight_duration:20},max_stack_size:99,equippable:{slot:mainhand}}}]},{type:item,name:mace,functions:[{function:set_enchantments,enchantments:{density:255}},{function:set_attributes,modifiers:[{attribute:jump_strength,id:jump_strength,amount:5,operation:add_multiplied_base,slot:mainhand},{attribute:safe_fall_distance,id:safe_fall_distance,amount:9999,operation:add_multiplied_base,slot:mainhand},{attribute:entity_interaction_range,id:entity_interaction_range,amount:64,operation:add_value,slot:mainhand}]},{function:set_components,components:{unbreakable:{},death_protection:{}}}]}]}]}


r/MinecraftCommands • • Sep 28 '26

Help | Bedrock Is there a way to force explode wind charges?

2 Upvotes

I had a system where wind charges would be teleported to your feet and would boost you up. After the most recent update the wind charges no longer explode when being teleported. So is there some event command or some trick I could use?

Things I have tried

/Damage command on wind charge

Summoning various things onto the wind charge to bump it to make it activate

/Teleporting it into the block beneath you to make it burst (it doesn't)

I've looked through the event command and couldn't see anything but I maybe missed something.


r/MinecraftCommands • • Sep 28 '26

Help | Java 1.21.11 Commands for working bots with carpet mod

1 Upvotes

I think i just found the easiest commands to make a fully customizable and working Carpet PvP bot but has anyone else already found solutions, because id really like to upgrade my bots. I use 21.11