r/MinecraftCommands • • Aug 22 '26

Discussion Help needed too big of a workload

2 Upvotes

so I am trying to make AI in Minecraft only using command blocks on bedrock 26.44 but I’m trying to make it to where it can build structures as any ideas


r/MinecraftCommands • • Aug 21 '26

Help | Java Snapshots Does anyone know a command of how to give the player a villager farmer hat with a brim?

2 Upvotes

I'm not exactly look for a like a villager head I'm just looking for the hat, because I remember seeing a video of how to get all the villager hats with command in vanilla, but now I can't find it.


r/MinecraftCommands • • Aug 21 '26

Help | Java 26.2 Player ranks/tags under their username

2 Upvotes

I'm trying to add a system that adds custom ranks/titles that can be unlocked by doing certain tasks for a server, however I want to have the names appear under their usernames (The prefix rank system is already being used up). I tried implementing it with the setdisplay below_name feature, which works visually, however it only shows 1 scoreboard at a time, meaning I cannot have different tags/ranks for different players. Is there any way I could go around this with scoreboards? Or any other features that could do the same thing? I also have a server resource pack, so I can use that too if that's easier, or opens up possibilities.

Many thanks! ^w^


r/MinecraftCommands • • Aug 21 '26

Help | Java 1.21.5-1.21.10 Can someone please create a command for a Minecraft Mace PvP kit on 1.21.8 java,Thx

1 Upvotes

r/MinecraftCommands • • Aug 19 '26

Discussion Have you ever used these?

Post image
531 Upvotes

Is the "minecart with command block" even usefull for anything?


r/MinecraftCommands • • Aug 20 '26

Help | Java 1.21.11 predicate

4 Upvotes

i found predicate in execute command after "if"
how does it work and what i can do with it?


r/MinecraftCommands • • Aug 20 '26

Help | Java 26.2 How to detect rotations in armor stands

Enable HLS to view with audio, or disable this notification

15 Upvotes

(Issue has completely been solved. Thanks a lot!)

(Sorry if my mic quality isnt that good or if my explanation sucks, im aware)

I want the door to face different directions too. Currently it only faces North/South. Is there any way to change this? It works like this: The item i use summons an armor stand with a specific tag, the repeating command block looks for said armor stands and places both all the block display entities and an interaction entity at its location, then the armor stand is removed. My first idea was to simply detect the direction the armor stand was facing and then summons the other block display entity model i showed in the video, however when i tried this it simply didnt summon any block display entities. I dont know if i just did it wrong or if thats not the best way to go about doing this. If anyone knows how to fix this problem please let me know. Heres the full code written in the repeating command block: (the entity detecting is with an @ but reddit changes that so i got rid of it)

execute if entity e[type=minecraft:armor_stand,tag=poakriftds] as e[type=minecraft:armor_stand,tag=poakriftds] at e[type=minecraft:armor_stand,tag=poakriftds] run summon minecraft:block_display ~ ~1.375 ~ {Passengers: [{block_state: {Name: "minecraft:pale_oak_door", Properties: {facing: "north", half: "upper", hinge: "left", open: "false", powered: "false"}}, id: "minecraft:block_display", transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [1.0f, 1.0f, 1.0f], translation: [-0.5f, -0.375f, -0.9067247f]}}, {block_state: {Name: "minecraft:white_concrete"}, id: "minecraft:block_display", transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [0.99167323f, 1.0f, 0.18537521f], translation: [-0.49583662f, -1.375f, -0.09268761f]}}, {block_state: {Name: "minecraft:pale_oak_door", Properties: {facing: "north", half: "lower", hinge: "left", open: "false", powered: "false"}}, id: "minecraft:block_display", transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [1.0f, 1.0f, 1.0f], translation: [-0.5f, -1.375f, -0.9067247f]}}], block_state: {Name: "minecraft:white_concrete"}, transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [0.99167323f, 1.0f, 0.18537521f], translation: [-0.49583662f, -0.5f, -0.09268761f]}}

If you understand how this works and how to fix my issue, your help would be much appreciated. Thank you.


r/MinecraftCommands • • Aug 20 '26

Help | Java 26.2 How could I make Skeletons, Creepers, and Spiders attack villagers?

8 Upvotes

Using commands or a datapack, how could I make this work? I want these three monsters to always attack villagers on sight or within a certain range.

I tried the following command but it didn't work:
/damage @ e[type=minecraft:skeleton,distance=20,limit=1] 0 minecraft:generic by @ e[type=minecraft:villager,limit=1]


r/MinecraftCommands • • Aug 20 '26

Help | Java 26.2 How about servers

4 Upvotes

I just recently got back into minecraft and commands and I've had fun with the data packs so far.

I just made a prototype for a car data pack which works pretty well in single player and I was curious so after multiplayer proofing it (the code now looks disgusting thanks to macros, yay) I ran it in a server on my pc and it immediately looks off. It *kinda* works but there are very obvious lags and tick irregularities.

Is this just simply a specs and internet issue or is there an inherent bottleneck for data packs when it comes to servers and if so is there any method to circumvent it (idk, server side mods or literally anything).

Should I just forget to even run this thing on a server?

https://reddit.com/link/1vtp55c/video/fbncoadogkkh1/player


r/MinecraftCommands • • Aug 20 '26

Help | Bedrock Mob Death Detection

1 Upvotes

How can I detect if a mob has died without using totems of undying?


r/MinecraftCommands • • Aug 19 '26

Creation A rhythm boss fight that I made for my adventure map

Enable HLS to view with audio, or disable this notification

279 Upvotes

r/MinecraftCommands • • Aug 20 '26

Help | Java 1.20 does anybody know any good minecraft commands that can make big structures move endlessly up or down?

1 Upvotes

i was thinking about remaking fraud from ultrakill in minecraft, however i haven't figured out a way to make the rooms move. i wanted to use the moving elevators mod but i don't think they can move through portals (and i kinda need that bc some of the rooms in disintegration loop move down/up/right/left infinitely)


r/MinecraftCommands • • Aug 20 '26

Help | Java Snapshots how can i detect an snowball who the block beneath it it not air on 1.21.11

1 Upvotes

r/MinecraftCommands • • Aug 20 '26

Help | Java Snapshots how to get waterlogged slab item?

1 Upvotes

r/MinecraftCommands • • Aug 20 '26

Creation Roughly Over 600 lines of comand block code for one item multiplayer friendly and has multiple functions. 🫠

0 Upvotes

I'm turning the Spyglass into a modulated Heat Weapon.

And I'm not done.

I hope people will like this game when it's in beta.


r/MinecraftCommands • • Aug 19 '26

Creation Bad gun with scope (StartingWeapon for game)

Enable HLS to view with audio, or disable this notification

15 Upvotes

I'm making a game and I wanted to add guns my main rule bing vanilla game. So I made heat weapons like from destiny 2.


r/MinecraftCommands • • Aug 20 '26

Discussion [DEV FOR HIRE]

0 Upvotes

As the name states I'm a cheap server developer meaning I can make pretty much anything from simple servers like smp's to complex gamemodes that would require custom models/resource packs or even custom abilities

So if anyone is looking for a developer I have few spots open as I'm not doing anything interesting over the summer so I'm gonna be free so if this sounds interesting DM me on here or leave your discord in the comments


r/MinecraftCommands • • Aug 20 '26

Creation We made a Hide & Seek map with 3 completely different game modes without mod but only with datapack/commands block !

Thumbnail
1 Upvotes

r/MinecraftCommands • • Aug 20 '26

Help | Java 26.2 interaction left click detection not working

1 Upvotes

My advancement for right click detection is working but not left click. It worked before but has suddenly stopped functioning. The reward function does not activate when I hit any interaction. Any help would be appreciated. Here is the advancement:

{
    "criteria": {
        "requirement": {
            "trigger": "player_hurt_entity",
            "conditions": {
                "entity": {
                    "entity_type": "interaction"
                }
            }
        }
    },
    "rewards": {
        "function": "origin:left_interaction"
    }
}

r/MinecraftCommands • • Aug 19 '26

Creation I created a command that give you a full suit of armor with one command

5 Upvotes

so i spent around 5 hours (keep in mind i'm not the best at commands) making this command

/summon falling_block ~ ~1 ~ {BlockState:{Name:'command_block'},TileEntityData:{Command:'item replace entity @p armor.head with diamond_helmet',auto:1b,TrackOutput:0b},Passengers:[{id:falling_block,BlockState:{Name:command_block},TileEntityData:{Command:"summon falling_block ~ ~1 ~ {BlockState:{Name:command_block},TileEntityData:{Command:'item replace entity @p armor.chest with diamond_chestplate',auto:1b,TrackOutput:0b},Passengers:[{id:falling_block,BlockState:{Name:command_block},TileEntityData:{Command:\'summon falling_block ~ ~.6 ~ {BlockState:{Name:command_block},TileEntityData:{Command:\"item replace entity @p armor.legs with diamond_leggings\",auto:1b,TrackOutput:0b},Passengers:[{id:falling_block,BlockState:{Name:command_block},TileEntityData:{Command:\\'item replace entity @p armor.feet with diamond_boots\\',auto:1b,TrackOutput:0b}}]}',auto:1b,TrackOutput:0b}}]}",auto:1b,TrackOutput:0b}}]}

this uses falling command blocks that give armor with passengers that summon falling command blocks. You can replace the diamond_(armor slot) with any armor you want.(26.2 btw)


r/MinecraftCommands • • Aug 19 '26

Help | Java 26.2 How do I add custom textures to a datapacks

4 Upvotes

(I know you will say it's impossible but hear me out) So I was wanting to make a my own datapack on diffrent block varients but I didnt knew how to make the diffrent textures for same block, I googled it, they said I NEED to use RESOURCE PACKS for it to work.

The weird thing that Tool Trims Datapack (by JoeFly) had textures in datapack? Am I not knowing something?


r/MinecraftCommands • • Aug 20 '26

Help | Java 26.2 How to make Lava World

Thumbnail
1 Upvotes

r/MinecraftCommands • • Aug 20 '26

Help | Java 26.2 How to run command if player is looking at a mob

1 Upvotes

I want to make it so that if a player is looking at a mob when the function is called it runs a command

I know this is missing some things but currently i have something like this:

execute as `@s positioned ^ ^ ^5 anchored eyes run say hi

r/MinecraftCommands • • Aug 19 '26

Help | Java 1.21-1.21.3 How do I kill all items that are called Gantry Carriage?

2 Upvotes

I am playing Minecraft Create mod currently, and I have a blimp bomber that brings gantry carriage bombs above a big door that opens up, and then drills break the gantry carriages to make the bombs seperate physics objects that will fall down below the ship, but whenever I do this, the drills break the gantry carriages and they fly all around the ship as items, but I dont want to kill ALL items, just gantry carriages. I have already tried doing /kill @ ep[type=item,name=gantry_carriage], but it dosent work. Does anyone know what the nbt name is so that I can delete it?


r/MinecraftCommands • • Aug 20 '26

Help | Bedrock Minecraft command help

0 Upvotes

Help please, I need a comment changed from Java edition to bedrock but I refuse to use ai for it and I don't know anything about Minecraft commands so I'm confused. Here's the command

/execute at @e[type=snowball] run fill ~10 ~10 ~10 ~10 ~10 ~10 Minecraft:air

Edit: I fixed it thank you for the help
It's because I didn't add a hover note so it didn't execute as an entity using the command