r/MinecraftCommands

🔥 Hot ▲ 205 r/Minecraft+1 crossposts

I made a datapack where you can combine flowers into flower crowns with a special campfire

heyo,
I just released my first datapack that I built with beet/bolt.
Its not a very big project but had a lot of fun making it!

With it you can combine 4 different flowers into a decorative Flower Crown that you can wear.
Go check it out:
https://modrinth.com/datapack/funny-flower-crowns
https://www.curseforge.com/minecraft/data-packs/funny-flower-crowns

u/TheRedVillager — 22 hours ago
▲ 29 r/MinecraftCommands+1 crossposts

I made my own rendition of what I think an instability storm would be like in Minecraft.

I made this for a datapack jam and most of it was done in the last 3 or so days. All of it is therefore technically done using no mods by taking advantage of shaders and the new timeline technical feature, in case any other Minecraft nerds hang around here lol

Song is Stone Wall Stone Fence by Gregory and the Hawk (added this one to my Pacific Drive playlist too ;3)

u/kirobyte4 — 7 hours ago
▲ 2 r/MinecraftCommands+1 crossposts

Generador de discos de música personalizados para Bedrock

Que onda bandita. Quiero recomendarles esta página que hice para que puedan modificar la música de los discos de Minecraft y agregar las canciones que ustedes quieran. La página genera un paquete .mcpack que reemplaza la música del juego sin desactivar logros y sin requerir funciones experimentales. También funciona en multijugador.

Me costó bastante hacerla y pues la hice solo por diversión. La página ya está terminada, lo único que actualizaré serán los nuevos discos que Mojang agregue al Minecraft, además de mantener compatibilidad con futuras versiones.

Me ayudaría muchísimo si comparten la página para que valga la pena todo el trabajo que le dediqué. Muchas gracias.

mccrafter.com
u/Interesting_Hall_843 — 9 hours ago

Standing Detection Command

Im trying to make it so that a block is /setblock'ed when i crouch but when i stand it is set to air.

for my crouch detection im using:
/execute as @ a at @ s unless entity @ s[y=~1.75,dy=0] if entity @ s[y=~1,dy=0] run (your command)

(Yeah ik there arnt supposed to be spaces between the @ and a/s but when i do it without spaces it becomes u/a or u/s )

reddit.com
u/Dande9loki10 — 7 hours ago

Replace chestplate with trimmed version

I'm making a special team based survival for me and some friends, and I want to make it, so that when a player on team 'Red' picks up a chestplate, it will be replaced with the same tier of chestplate with the red silence armor trim. How would I do this with command blocks?

reddit.com
u/JimiTheKiwi — 12 hours ago

Good looking blocks on Villager head slot?

Hey im looking for suggestions for some good looking blocks on villager heads cause player heads have this weird arrangement shift which kills the whole aesthetic.

Thought I could trade with Steve but no :(

Any suggestions are welcome! :3

Also if there is a fix, please lemme know :)

reddit.com
u/artificial-organism — 10 hours ago

How do enchantment application tags work in 1.21.11?

They keep changing what you can do and they also keep changing the syntax; I'm trying to get a glass block with curse of binding, automatically applied to armor.head.

We're making a custom origins server so we're using potions in addition to effects to make it work (because the server host doesn't support mods currently. We're using Hypixel SMP)

reddit.com
u/Impressive-Thing-780 — 11 hours ago

My fireball projectile shoots in polar opposite direction

here is the function i have activated by this in a tick.mcfunction:

execute as @'e[type=minecraft:snowball,tag=!spawned] at @'e run function namespace:fireball

then activates fireball.mcfunction:

execute positioned 0.0 0 0.0 run summon marker ^ ^ ^1 {Tags:["direction"]}

summon fireball ~ ~ ~ {Tags:["projectile"]}

data modify entity @'n[type=fireball,tag=projectile] Motion set from entity @'e[type=marker,tag=direction,limit=1] Pos

tag @'e[tag=projectile] remove projectile

kill @'e[tag=direction]

kill

why does it shoot in polar opposite direction?
(changing the marker to be at ^ ^ ^-1 makes it invert only one axis.)

reddit.com
u/Kittehland — 13 hours ago

How to add a custom structure to a vanilla minecraft village?

Hi, for a datapack I want to add two new houses to the vanilla Minecraft village is that possible? Or do I have to manually include all villages in my datapack and then add my new houses to them? But then I’d have the problem that the villages generated “normally” by Minecraft wouldn’t include my new houses, right? Are there some good tutorials for that on yt? Thanks in advance for your help :D

reddit.com
u/Schypexx — 23 hours ago

Summoned mobs don't despawn?

Just wondering if it's intentional for mobs created with /summon to just never despawn and if there is a way to make them so so cause I wanna essentially make my world harder by randomly summoning extra variety of mobs near other mobs again and again but if they don't despawn naturally then there's gonna just be a crap ton of them underground in caves and stuff causing lag and this would be very very bad.

reddit.com
u/WeeMentalJo — 18 hours ago

Why isn't my area affect cloud give me Nausea?

Basically the title. I'm trying to create a "stink bomb" effect using an area affect cloud to give the player nausea, and it does give the effect, but it doesn't do the screen-wobbly thing. Here's the command I'm trying to use:

/summon area_effect_cloud ~ ~ ~ {Radius:4,Duration:200,custom_particle:{type:cloud},potion_contents:{custom_effects:[{id:nausea,duration:60,amplifier:0,ambient:1b,show_particles:1b,show_icon:1}]}}

Any help would be greatly appreciated!

reddit.com
u/Drake__archer — 18 hours ago

Energy drain system?

Hello, my name is Djamy and i'm working on cool command powers like for example, a water based magic power, cosmic manipulation magic and way more that i will share once done.

Though i need some help on some kind of energy system.The idea is to have a constant display on the action bar that shows an ammount of energy a player has. Using a move of a magic triggers that energy to drain a bit. and having it slowly regenerate to a certain ammount( for example a player has an energy cap of 100 and using a move drains it to 85 and then it will slowly regenerate to 100 again). i have tried making this myself but i just can't get it right so i have turned to this community to ask if someone here had made something like this and if they could share how to create a system like this.

Thank you all in advance.

reddit.com
u/DjamyK — 18 hours ago

Is it possible to create a FPS minigame within vanilla minecraft?

Is it possible to use commands to recreate shooters such as counter strike inside of vanilla Minecraft? Mostly curious about weapon variety as well as headshot recognition. Map, timer, scoreboard are relatively easy to do but I don't know how to create different gun categories that differ in price and effectiveness. Also if it is possible to implement moving inaccuracy/recoil. This is for a strictly vanilla private server where I was able to implement different complex minigames without the aid of mods and plugins.

reddit.com
u/1tion1 — 19 hours ago

Updating textdiplays

I need to know how to count entities with a specific tag and then display the number on a textdisplay. It needs to stay updated (e.g., if one gets added, the number should go up by one). Thanks in advance!

reddit.com
u/OrneryNegotiation207 — 21 hours ago

Teleporting

Hello! I'm trying to make a system where I can teleport entities to where a player is looking but make it so it only affects their Y position and keeps the entities X and z positions. not quite sure how to tackle this, I tried some execute shenanigans but didn't get too far

reddit.com
u/CataclistGaming — 22 hours ago

What’s wrong with this datapack?

So with help of Grok and Chat GPT I wanted to make a datapack that was supposed to give Night Vision effect to a player holding an item in any hand, but the game kind of doesn’t even see the datapack, not mentioning it working properly.

Here’s the structure in folders:

datapacks --- glow --- pack.mcmeta
                   --- data --- glow --- functions --- give_effect.mcfunction
                            |                      |-- tick.mcfunction
                            |
                            --- minecraft --- tags --- function --- tick.json

pack.meta:

{
  "pack": {
    "description": "Glow",
    "min_format": [94, 1],
    "max_format": [94, 1]
  }
}

give_effect.mcfunction:

effect give @s minecraft:night_vision 1 4 true

tick.mcfunction

effect give @s minecraft:night_vision 1 4 true

tick.json

{
  "values": [ "glow:tick" ]
}

What’s wrong about all of this?

reddit.com
u/-stud — 17 hours ago
▲ 0 r/ModdedMinecraft+1 crossposts

Making mod with AI

I made my first mod with ChatGPT. At first it was a hassle, but it works so well now. Whatever I can think of, I can make now. What would you like to see in Minecraft?

u/uxserxname — 17 hours ago
Week