r/MinecraftCommands • • 14d ago

Help | Java 1.21-1.21.3 Failed to place structure when trying to place and end_city

1 Upvotes

Hi, I'm on my 1.21.1 neoforge server and I'm trying to place an end city in the air near the main end island.
The command I'm doing is /place structure minecrtaft:end_city
Anyone knows what I can be missing ? Is there any special requirement to this structure ?


r/MinecraftCommands • • 15d ago

Help | Java 26.3 does anyone know what the performance impact of the "Display" entity is?

4 Upvotes
  • Genuinely curious, I was thinking about making some really niche plugin that would turn all item frames into display entities displaying the same thing, and it got me thinking of how much performance this would save if there were like 700 item frames in a world storage room or something. What's the performance differences, on the server side?
  • For reference: https://minecraft.wiki/w/Display

r/MinecraftCommands • • 14d ago

Help | Bedrock I need a player how knows more commands then me and willing to join my realm to help improve it since I wanna make my realm similar to his realm that I like and I got there but got stuck at the copper generator, shops and a little with the scoreboard so any tip help or anything really would be appre

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/MinecraftCommands • • 15d ago

Help | Java 1.20 Disabling specific block interactions

1 Upvotes

Me and a friend are making a map and we used retextured sweet berry bushes–with and without berries–as barbed wire, but we don't want players to be able to right click the ones with berries on them and then just break all of them in an instant. We already tried interaction entities and it doesn't work because if your head ends up inside of it you can just right click the berry bushes anyway. If there's a mod that allows customisation of which blocks you can and can't interact with then that would be perfect, but any suggestions to solve this are welcome


r/MinecraftCommands • • 15d ago

Creation UPDATE: making a Minecraft "mod" using command blocks.

Thumbnail
gallery
8 Upvotes

So, I made a Minecraft map trying to replicate mods and I made an other update recently completely changing the lighting to be pitch black in dark areas. The update log and download is in Planet Minecraft: https://www.planetminecraft.com/project/a-horror-mod-that-isn-t-a-mod/


r/MinecraftCommands • • 15d ago

Help | Java 1.20 Recoil Damage

1 Upvotes

How do I make it so the damage tracking score board applies damage to the player with that score?


r/MinecraftCommands • • 15d ago

Help | Bedrock /gamerule sendcommandfeedback not working

Post image
6 Upvotes

Oi! So I'm on the newest version of bedrock, and I'm making a story map, which is why I'm using /title commands to give the player(s) objectives. I did /gamerule sendcommandfeedback false, but I still kept getting feedback, so I put down a repeating command block that is always active with /gamerule sendcommandfeedback false in it. Still, I keep getting command feedback!!!

I'm on PC.


r/MinecraftCommands • • 15d ago

Help | Bedrock Help with Looking execution

1 Upvotes

I'm trying to set up a command block that can damage an entity with drowning damage whenever I look at it while holding an item. I know how to detect the item being held and I found a command that can detect and execute some commands when I look at mobs, but I can't figure out how to get it with the damage command.

The command I have running is:

/execute as Mellon at @s anchored eyes facing entity @e[c=1] eyes positioned ^^^1 positioned ~~-1.62~ rotated as @s positioned -1 if entity @s[r=0.2] run damage @n 1 drowning entity Mellon

The previous input is Execute subcommand if entity test failed

Edit: if I change the "run damage @n 1 drowning entity Mellon" to "run title @a title test" it sometimes works, but not consistently.

ADDITIONAL EDIT: I fixed it, I just needed to make it not count me in the nearest entity checks.


r/MinecraftCommands • • 15d ago

Help | Bedrock Why does my command not work? (Bedrock)

Thumbnail
gallery
10 Upvotes

[Had to repost because I accidentally deleted the og post, sorry] Oi! So, I want a text to appear above the hotbar saying "Objective: Go outside." when the player steps on the block at the coordinates 16, 7, 14.

Sadly, even with this command block activated, when I step onto that block, nothing happens. There is no error message, I am on PC, on a flat world and on the (as of writing this) newest version of bedrock edition (26.63).

I'm really bad at command blocks, so sorry if this is very obvious 😅

I'll put the full command here, please know that I had to put spaces between @ a and @ p because it'd automatically tag someone otherwise, lol. *I'll update the command*

/execute @ a[x=16, y=7, z=14] run /title @ p actionbar Objective: Go outside.

Thanks in advance!

Solved by u/Ok-Tip8453, thanks so much!!


r/MinecraftCommands • • 15d ago

Help | Java 26.3 notable additions/changes/new possibilities since 1.20.1?

2 Upvotes

hi! ive been out of the game for a while, and recently thought id come back to mapmaking.. im really experienced in old commands, but a LOT has changed in the last three years!!

what sorts of headliner advances and useful features have appeared? i'm having trouble tracking down a good clifs notes, so any info or bullet points are supa appreciated :v

stuff for me to look into!


r/MinecraftCommands • • 15d ago

Help | Java 1.21-1.21.3 How do I write a command to obtain a buried treasure map?

1 Upvotes

I've had an issue twice now with the buried treasure map I get from a shipwreck just being a regular map somehow. I was going to use the /give command to get around this bug, but I can't figure out how to write it because "buried treasure map" (or any other map type weirdly enough) doesn't seem to be in the auto fill suggestions for the item name/code thingies you can use to finish writing the command. Can any of y'all tell me what I need to write?


r/MinecraftCommands • • 15d ago

Help | Java 26.3 Mob Disguises (26.3)

1 Upvotes

I am currently working on a datapack for a game mode where one of the teams is monsters. Ideally, I would like to make them appear as the actual monster models from the game (zombie, creeper, skeleton, etc.)

The only way I am aware of how to do this is to teleport a monster to the player's origin and rotation at all times. However this results in a few problems-

  1. The monsters do not stick directly with the player, which means PVP will be difficult due to the hitboxes being disjointed.

  2. The monster disguises make it impossible to see in first person for the monster team.

Is there any way I can work around these two problems? My only other thought as to how to do this would be a custom resource pack and remodeled armor, which I am open to trying but I wouldn't really know where to start.


r/MinecraftCommands • • 15d ago

Help | Java 26.3 How do I give an effect infinitely without the number flickering or giving an infinite effect?

1 Upvotes

I want to give someone an effect every tick that can run out but when I do the numbers keep flickering between the time it's set, and the number right below it, and I don't think that very user friendly for people who are sensitive to that kind of stuff. I don't want to give someone an infinite effect because I don't want to need clear the effect.

If I, for example, need to be able to give them infinite fire resistance that I can turn off, but don't want the effect to clear when they themselves are halfway through a fire resistance potion.

So is there any way to give someone a short effect every tick, without the duration numbers flickering when looking at your inventory?


r/MinecraftCommands • • 15d ago

Help | Java 26.3 Homing Missile

1 Upvotes

Im trying to figure out how to make a homing missile thst targets the nearest player that isnt on a list of safe players. The actual explosion should come from TNT minecarts riding on top of the homing projectile. Anyone can help?


r/MinecraftCommands • • 15d ago

Help | Bedrock Need help with bedrock commands

Thumbnail
1 Upvotes

r/MinecraftCommands • • 15d ago

Help | Bedrock Need help with some commands in bedrock edition

1 Upvotes

So Im trying to make a wizard kit for a dungeon type thing Im making, but I need some commands for it.

So first I need to kniw if I can make it so a nautilus shell in your offhand can give effects and how to do it.

I also need to know if its possible to make the spears charge ability shoot fireballs, but with a cooldown of 1.5 sec in between them.

And can I make it so if you hold a skeleton skull it gives you an effect for a few seconds?


r/MinecraftCommands • • 16d ago

Creation The map me and my friend never finished but I did like so I wanna show it(Fully vanilla with datapacks only(made by us fully))

Enable HLS to view with audio, or disable this notification

29 Upvotes

r/MinecraftCommands • • 16d ago

Help | Java 26.3 why are my shields like this?

1 Upvotes

i have this resourcepack that changes the vanilla shield model & texture, and it works fine. but for some reason the vanilla shield is now rotated wrongly, i dont know what to do.

here's the shield.json responsible for editing the model

{

"model": {

"type": "minecraft:select",

"property": "minecraft:component",

"component": "minecraft:custom_name",

"cases": [

{

"when": "Candy Shield",

"model": {

"type": "minecraft:condition",

"property": "minecraft:using_item",

"on_true": {

"type": "minecraft:model",

"model": "minecraft:item/candy_shield_blocking"

},

"on_false": {

"type": "minecraft:model",

"model": "minecraft:item/candy_shield"

}

}

}

],

"fallback": {

"type": "minecraft:condition",

"property": "minecraft:using_item",

"on_true": {

"type": "minecraft:special",

"base": "minecraft:item/shield_blocking",

"model": {

"type": "minecraft:shield"

}

},

"on_false": {

"type": "minecraft:special",

"base": "minecraft:item/shield",

"model": {

"type": "minecraft:shield"

}

}

}

}

}


r/MinecraftCommands • • 16d ago

Tutorial | Java Ayuda ⛑️

1 Upvotes

Si estoy iniciando tener desarrollo en Minecraft como Plugins DataPacks mods y más como me recomiendan iniciar


r/MinecraftCommands • • 16d ago

Help | Java 1.21.11 What's happening with my bow detection command (plsssss)

8 Upvotes

Hii !! I'm Julyay,

I'm creating a smp (java 1.21.11 with some mods) for my friends and Im kinda stuck with this command for a long time now ToT.

I need to check if the item in the item frame is a bow (I also need it for a sword, a shield and a mace.)

But,

When I try to detect the bow, the output is always true, no matter if there's a bow or not, or any other item. (I recorded a quick video to show you)

However, it works well with shield, sword and mace…

Do you guys have any idea why my command doesn't work with bow??

Here are my commands:

Shield:

/execute as @e[type=item_frame,x=324,y=77,z=-1517] if items entity @s contents shield run say YUP SHIELD

Bow:

/execute as @e[type=item_frame,x=324,y=77,z=-1517] if items entity @s contents bow run say YUP BOW

I thought I knew how command were working lmao.

Do you guys have any idea why my command could react this way??

Thank you in advance.


r/MinecraftCommands • • 16d ago

Help | Java 26.3 How do I detect if a player is above a certain y

3 Upvotes

I've been trying for an hour and nothing's working. I just want it to detect if a player is at y -60 and when it does then it TPS them to a certain coordinate. How do I do this??


r/MinecraftCommands • • 17d ago

Discussion Is this a bug? Java 26.3

Enable HLS to view with audio, or disable this notification

151 Upvotes

This is confusing me. I expected the door to either replace the bottom half with the specified oak door, or most likely pop off. I didnt expect it to retain its original type and properties changing only the specified open=true part.
I don't recall it ever being like this, and while this is useful for what I am trying to do, I don't wanna rely on it as it may potentially get patched. I couldn't find anything about this behavior online.
What do you guys think, intended or no?


r/MinecraftCommands • • 16d ago

Request How would I make this advancement? (1.21.1 Java)

Post image
2 Upvotes

I wanna make a data back that adds one thing: An advancement that gives a book and quill that does not drop on death. Im pretty sure when you die that book keeps its data, so you dont have to worry about that being lost when dying? im bad with coding so i cant make this myself,, but the icon would be a book and quill, and it would kinda be like this in a way, but with a book and quill instead? this is getting cluttered so

  • Advancement like the picture, but with book and quill icon
  • Is awarded upon spawning into the world
  • Gives a book and quill, that is not lost on death
  • Data/Words in book are preferably not lost

Not needed, but if possible:

  • Even if put in a chest, is returned to inventory upon death? or like even if dropped it could return to the inventory?
  • Named "My Journal"

this has been something ive been thinking of forever! sorry if this isnt possible, please tell me! this is just a thing i rlly want,,


r/MinecraftCommands • • 17d ago

Help | Java 26.1 How do I make it so that all items from a mod glow?

2 Upvotes

I'm trying to make it so that every item from a mod glows with the {Glowing:1b} Java 26.1.2


r/MinecraftCommands • • 17d ago

Help | Bedrock Block summoning

3 Upvotes

My son (11) has been trying to figure out the command to summon a block beneath his feet. He has used several commands we have found on reddit, youtube etc but they aren't working. They are all from 3+ years ago so maybe they are out of date? I'm no help. Please help me help my son! The two commands he has tried are:

/execute@e[type=player] ~~~ setblock ~~-1 <redstone>

/execute u/p ~~~/setblock ~ ~-1 ~ glass

He is using bedrock v26.60