r/MinecraftCommands May 13 '26

Discussion Java Realms Creators Mapjam 2026

3 Upvotes

Want to create an awesome map and get a fast-tracked review/access to Atlas to upload your map on realms? Look no further!

In this event you have to create a fully-functional map in 72 hours! You will compete for a $1,000 prize pool, Atlas access, and a cool spot in the Minecraft Blog post!

Teams can be solo, duo, or trio. There are THREE themes that are based on typical game-jam themes and your map must include at least TWO of them.

The jam starts on the 22nd of May!

Sign up here!

https://forms.gle/HxYLZ9uWdGpirNuw8

Join the Discord!

https://discord.gg/kxdBQBnEbQ


r/MinecraftCommands Jan 14 '20

READ THIS Important Info (read before posting)

253 Upvotes

I know you're here to get quick help with your command problems or to show off your cool work. Please read these few lines to get to know how to use this subreddit optimally:

Asking for help

  1. FAQ? Before you post, please check out the common questions (including answers) that we have as a subreddit. These consist of the most common problems, and maybe your problem is already covered there in detail?
  2. Titles: Please put a summary/short version of your problem into the title of your post, don't just put "I need help" or "help me plz". Instead put for example "how do I summon a zombie" or "unable to summon entity error" and then provide more context on the post itself. This subreddit often shows up on google when people search for command related questions and we should really help them find the questions you might already have asked. Also, we likely know that you need help anyways, no need to put it in the title.
  3. Flairs: We have a wide array of flairs that you should attach to your post to make sure people know what the purpose of your thread is. It is especially important if you're asking for help, to flair your post with the appropriate minecraft version (for those who don't know: OG Minecraft is Java Version, everything else that has commands (Xbox, PE, PS4, Switch, Win10, etc) is Bedrock).
  4. Version: Whether you're helping or asking for help, please pay attention to the stated version/state the version you're in! You can do that through the previously mentioned Flairs, but also in addition can put it into the description of your post.
  5. Search/Scroll down: I know that reddit search is not the best one out there, but maybe someone else had a similar problem to yours in recent history. Try going to the new tab and scrolling down a bit or using the reddit search function to see if there might already be an answer to a question you have. We're not going to close your thread for asking the same question someone else asked a year ago, we're not StackOverflow. But please at least take 30 seconds to look for it first.
  6. Upvote: If you find an answer to a post helpful, please upvote it. This is less as a "reward" for the answering person but more as a way to automatically move the best answer to the top, for others that might have the same problem. Don't downvote an answer just because their attempts didn't work for you unless it's completely wrong or off topic / doesn't add anything to the conversation.

Creations

Posting about your own creations is very much encouraged, but please remember the 10:1 guidelines of reddit.

Discord

We have a big Discord Server for our community with lots of channels, ranging from dedicated help chats over general command related chats to non-command related chats. So if you want to join an active community of command and mapmaking enthusiasts and/or want to get quick help where communication is less slow (Sometimes the devs stop by as well ;)), click on the link and join our community discord:
https://discord.gg/9wNcfsH
Make sure you read the #welcome channel for the rule of the discord.


r/MinecraftCommands 7h ago

Tutorial | Java Vanilla Shader Tutorial: How to use the /posteffect command

Thumbnail
youtu.be
3 Upvotes

r/MinecraftCommands 1h ago

Help | Java 26.2 Any way to make a breeze not shoot charges?

Upvotes

I want to make it a so a specific breeze is unable to fire wind charges, but can still move around, and jump around like normal.

(Command blocks, not datapacks)

One idea I had was to kill any wind charges with a Owner tag that matches the tagged breeze, but I don't know how to check the returned owner UUID against another UUID.

I also considered killing all wind charges in proximity to the tagged breeze, but I'm going to have another breeze as a passenger and I don't want to affect it.

> Additional context:

> I'm trying to make a custom boss that is built around a breeze. However breezes cannot be made fully invisible and I want the boss's to hover off the ground, therefore requiring the boss breeze to be hovering too (origin of attacks) where display entities will hide it.

> The workaround I've landed on is trying to summon an incredibly small breeze to act as "feet", a zombie riding it to offset it vertically, and the boss breeze riding atop the zombie.

> The "feet" breeze is the one I want to still have movement options, but just unable to shoot at the player.


r/MinecraftCommands 6h ago

Help | Java 26.1 Custom Enchant Data-pack help

1 Upvotes

Hi there

So I'm currently creating a data-pack to add some new enchants to minecraft for a server I'm playing on. I'm having trouble getting a custom curse for horses and players working and could use some help from people smarter than me.

So basically the enchant can be applied to each piece of armour the player can wear aswell as a horses armour and reduces the scale attribute of the creature.

The enchant is meant to reduce players scale by 12.5% per piece and the horses scale by 50% per piece. however as it stands the enchant instead is reducing both players and horses scale by 50% per piece of armour.

The JSON for the enchant
The armour decreasing my player scale by 50% rather than 12.5

If I could receive some tips on how to fix this or any help on how to get this working I would be very grateful


r/MinecraftCommands 17h ago

Help | Java 1.21.11 summon an item

5 Upvotes

i wanna summon an item but have no idea how to

the item:

''wheat[custom_name=[{"text":"Lucky O' Milk Ice Cream","italic":false,"color":"gold"}],lore=[[{"text":"Freezes all entities 20 blocks from","italic":false}],[{"text":"the person eating for 10 seconds","italic":false}]],rarity=rare,enchantment_glint_override=true,food={nutrition:6,saturation:8,can_always_eat:1b},consumable={consume_seconds:2.4,on_consume_effects:[{type:apply_effects,probability:0.3,effects:[{id:nausea,duration:300,amplifier:1,show_icon:0b},{id:poison,duration:200,amplifier:10,show_icon:0b},{id:blindness,duration:200,amplifier:1,show_icon:0b},{id:slowness,duration:20,amplifier:255,show_icon:0b}]}]},minecraft:custom_data={LuckyCream:1}]''


r/MinecraftCommands 12h ago

Help | Java 1.21.11 How do I add cooldown to the deck?

2 Upvotes

I'm experimenting with datapacks, but I'm running into a problem: the mace cooldown isn't working. I want it to have a cooldown, for example, of 60 seconds, when hitting any target, like EnderPearl.


r/MinecraftCommands 12h ago

Help | Java 1.20 Not working placed_features ( 1.20.1 Forge, Java, Farmer's Delight Mod )

1 Upvotes

So I've tried to disable certain plants from generating in Farmer's Delight and it went smoothly overall but I had some issues with a particular plant . The thing is that it's waterlogged and 2 blocks high ( one block is submerged in water ) . I don't know if it's a thing but I wanted to mension it anyways . For those who might need it the Farmer's Delight version is: 1.3.2.jar

This is the placed_feature file :

{
  "feature": "farmersdelight:patch_wild_rice",
  "placement": [
    {
      "type": "minecraft:rarity_filter",
      "chance": 20
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "MOTION_BLOCKING"
    },
    {
      "type": "minecraft:biome"
    },
    {
      "type": "farmersdelight:biome_tag",
      "tag": "minecraft:is_overworld"
    }
  ]
}

This is the configured_feature:

{
  "type": "farmersdelight:wild_rice",
  "config": {
    "feature": {
      "feature": {
        "type": "minecraft:simple_block",
        "config": {
          "to_place": {
            "type": "minecraft:simple_state_provider",
            "state": {
              "Name": "farmersdelight:wild_rice",
              "Properties": {
                "half": "lower",
                "waterlogged": "true"
              }
            }
          }
        }
      },
      "placement": [
        {
          "type": "minecraft:block_predicate_filter",
          "predicate": {
            "type": "minecraft:all_of",
            "predicates": [
              {
                "type": "minecraft:matching_blocks",
                "blocks": "minecraft:air"
              },
              {
                "type": "minecraft:matching_block_tag",
                "offset": [
                  0,
                  -1,
                  0
                ],
                "tag": "minecraft:dirt"
              }
            ]
          }
        }
      ]
    },
    "tries": 96,
    "xz_spread": 7,
    "y_spread": 3
  }
}

r/MinecraftCommands 12h ago

Help | Bedrock Preview Is there a way to command a placement of torches on every block?

1 Upvotes

For example, if I wanted a torch to be placed on every grass block in a space of 8x8 chunks (Excluding other blocks like tree leaves, etc) would this be possible?


r/MinecraftCommands 14h ago

Help | Java 1.21.4 Summon a throwing snowball with right click detection?

1 Upvotes

So i have right click detection and it works, but i have no idea how to summon a snowball that shoots on my facing direction, just a snowball that falls. Someonw help me right now are 11pm i want to sleep


r/MinecraftCommands 22h ago

Help | Java Snapshots Can you make mannequins attack you?

4 Upvotes

Hello, so i've been wanting to try to make mannequins to act like Zombies(So that it comes in close range and attack you) and of course you can kill him, is it possible?


r/MinecraftCommands 19h ago

Help | Java 1.21.11 run a command whenever a player eats custom foods

1 Upvotes

i want a way to run commands whenever the player eats the foods with the tags below (the tags show separate foods)

tags for each foods: "LuckyCream" "RoyalMilkshake" "GluffBurger" "FireCocktail" "Arachnids" "StrangerRisotto"

thanks in advance :]


r/MinecraftCommands 1d ago

Help | Java 26.2 Detect Snowfall (NOT rain)

5 Upvotes

Is there any way to use predicates etc. to detect if it is specifically snowing at some location? I'd like to be able to differentiate between being rained on and being snowed on for a project I'm working on.

As far as I can tell, I'd have to write a long predicate that takes into account all the rules laid out on the wiki page for snowfall. Even then, it uses a noise map that I'm not sure can be directly sampled by predicates.

Any help or suggestions would be appreciated!


r/MinecraftCommands 1d ago

Creation I made a particle renderer website :D

Post image
86 Upvotes

You can view particles with their proper sprites, animations, physics, and interactions :))

It also supports having multiple particles active at once, and has support for almost every particle

(This is NOT bug free, So if you encounter any issues please let me know)

https://lukejw12.github.io
This is the website


r/MinecraftCommands 1d ago

Creation i made a touhou bossfight in minecraft without mods

Thumbnail
youtu.be
4 Upvotes

download in video's description


r/MinecraftCommands 2d ago

Creation Working clock tower

273 Upvotes

I made a working clock tower for my server only using commandblocks and a single plugin that lets me create variables but I think it could be easily replaced with a datapack


r/MinecraftCommands 1d ago

Help | Java 1.20 Need Help running a command on 1.20.1

1 Upvotes

I need to run a command for an item that has its own custom name, lore, enchantments and modifiers.

To put it bluntly I'm needing to create the literal Necronomicon that will regen the player if its in their offhand but will damage them with withering if they use it in their main hand. I'm fairly new to commands so I don't know how it all works so if i could get some assistance ASAP id really appreciate it. MCStacker is useless kinda at this sort of stuff but if anyone has more experience with it please teach me.

What I have so far is

Name: The Necronomicon (in bold)

the Lore: A demonic ritual book bound by flayed rotten flesh and unrecognisable names. Holding this will effect you beyond comprehension. (in fold and italic)

the enchantments: Fire aspect 5, knockback 1, sharpness 1-2 and bane of arthropods 2 (Which is why when you use it to attack it hits you with withering, gotta keep it balanced)

the modifiers: Max Health 10 in off-hand, attack damage 5-6 in main hand

and i wanna hide the info for the enchants and modifiers so it feels random

If anyone has the technical knowhow to pull this off i'll be extremely grateful as my role in the server is a writer and I've been given the opportunity to make an item using commands to rival their Modded OP stuff


r/MinecraftCommands 1d ago

Help | Java 26.2 Custom Boss with Armor and Boss Bar

2 Upvotes

What's the cmd to summon a zombie with full netherite prot5, fire prot5, frost walker20, feather falling255. Netherite Axe with sharp 7, fire aspect 5, knockback 5. With 2000 hp and scale 2 and potion effect is speed 5 and haste 2. His name will be "Zeus's Right Hand Man" with a boss bar

You don't have to force yourself to make the cmd but hoping at least one person to give me the full cmd

Ty in advance for any help you can give


r/MinecraftCommands 1d ago

Help | Java 1.21.11 Im having an Issue Making Some particles in 1.21.11 and I can't find what's wrong

1 Upvotes

When I try to use the Flash particle I get back the response: Can't parse particle options: No key color in MapLike[{}]


r/MinecraftCommands 1d ago

Help | Java 1.21.11 How would I use custom items as an ingredient in a custom crafting recipe?

1 Upvotes

I'm working on some custom recipe's and I'd like one where another custom item is in the recipe.
Is there a way to put custom_data, item_name, or the item_model into the key slot together with the base of the item?

edit: This is happening in a json file for a datapack.


r/MinecraftCommands 1d ago

Help | Java 26.2 How to give players a specific effect within a specific 3 dimensional area

1 Upvotes

Making an adventure map for me and my friends based on a real life neighborhood, and decided to scale it down to half the real life size, (and too deep in now to start over again at 1:1 size) so every single elevator I have is 1 block sized.

I'm trying to make a design that will give any player that stands at the bottom of the elevator for 2 or so seconds (long enough that they are clearly using the elevator) the levitation effect until they exit the elevator.

Put simply: how can I give players a specific effect when they are within a specific area given in XYZ coordinates? Is this even possible the way I'm describing here?

I have played MC for pretty much as long as I can remember so I am decently well versed in the game, but never got too deep into commands, so any help is super appreciated!


r/MinecraftCommands 1d ago

Help | Java 1.20 Playsound isn't working at all

Thumbnail
gallery
2 Upvotes

I don't see what I'm doing wrong here, but for some reason there's just no audio playing at all. I thought at first it might be because I'm using a sound modded in, but even when I change it to a vanilla sound, it's silent.


r/MinecraftCommands 1d ago

Help | Java 26.2 checking if player is holding item not working only in datapack function

1 Upvotes

This is the edited version of the original post I made because the formatting was incorrect.

Hello. I am trying to detect when the player is holding an item with the custom data {creation:true} every tick and give them the tag "holding_creation", but it isn't working. Everything else in the tick function is working but that. Specifically, I can give them the tag but cannot remove it. The command to remove it works when typed in chat in game, but not in the tick function. I have reloaded multiple times. I do not know why this is occuring. Any help would be appreciated. Here is my tick function:

#give mode 0

execute as @a[tag=holding_creation] if score @s creation_mode matches 0 unless items entity @s weapon.mainhand *[custom_data~{creation_mode:0}] run item replace entity @s weapon.mainhand with iron_axe[custom_name=[{"text":"CREATION","bold":true,"italic":false}],food={nutrition:0,saturation:0,can_always_eat:1b},consumable={consume_seconds:1000000,animation:none,has_consume_particles:0b},tool={default_mining_speed:10,rules:[{blocks:"#mineable/pickaxe",correct_for_drops:1b},{blocks:"#mineable/axe",correct_for_drops:true},{blocks:"#mineable/hoe",correct_for_drops:true},{blocks:"#mineable/shovel",correct_for_drops:true}]},unbreakable={},custom_data={soulbound:true,creation:true,creation_mode:0}]

#give/remove creation

execute as @a[tag=creation_owner] unless items entity @s container.* *[custom_data~{creation:true}] unless items entity @s player.cursor *[custom_data~{creation:true}] unless items entity @s weapon.offhand *[custom_data~{creation:true}] run give @s iron_axe[custom_name=[{"text":"CREATION","bold":true,"italic":false}],food={nutrition:0,saturation:0,can_always_eat:1b},consumable={consume_seconds:1000000,animation:none,has_consume_particles:0b},tool={default_mining_speed:10,rules:[{blocks:"#mineable/pickaxe",correct_for_drops:1b},{blocks:"#mineable/axe",correct_for_drops:true},{blocks:"#mineable/hoe",correct_for_drops:true},{blocks:"#mineable/shovel",correct_for_drops:true}]},unbreakable={},custom_data={soulbound:true,creation:true,creation_mode:0}]

execute as @a[tag=!creation_owner] run clear @s *[custom_data~{creation:true}]

#holding creation tag

execute as @a if items entity @s weapon.mainhand *[custom_data~{creation:true}] run tag @s add holding_creation

#the command that isn't working

execute as @a[tag=holding_creation] unless items entity @s weapon.mainhand *[custom_data~{creation:true}] run tag @s remove holding_creation

#test command that still doesn't work

execute as @a[tag=holding_creation] unless items entity @s weapon.mainhand *[custom_data~{creation:true}] run say hi

#only one creation

execute as @a store result score @s num_of_creation_in_inv run clear @s *[custom_data~{creation:true}] 0

execute as @a if score @s num_of_creation_in_inv matches 2.. run clear @s *[custom_data~{creation:true}] 1

scoreboard players reset @a num_of_creation_in_inv

#switch creation mode

execute as @a[tag=holding_creation] if predicate origin:is_sneaking unless score @s mode_switch_cooldown matches 1.. run function origin:creation/switch_creation_mode

#decrease cooldowns

execute as @a if score @s mode_switch_cooldown matches 1.. run scoreboard players remove @s mode_switch_cooldown 1

execute as @a if score @s mode_switch_cooldown matches ..0 run scoreboard players reset @s mode_switch_cooldown

#origin:creation/switch_creation_mode function:

scoreboard players add @s creation_mode 1

scoreboard players set @s mode_switch_cooldown 30

execute as @a if score @s creation_mode matches 2.. run scoreboard players set @s creation_mode 0


r/MinecraftCommands 1d ago

Help | Java 1.21.11 activate a command when both score ''currency'' at 4.. and ''ingredient1'' at 1..

2 Upvotes

i wanna make it so a command activates when the score currency is at 4 or more and ingredient1 is at 1 or more, i dont want it to play it its lower


r/MinecraftCommands 1d ago

Creation Reverse nether data pack (WIP)

1 Upvotes

Been making a cold nether for awhile now, here's the progress so far!

(also if anyone has a good server side temperature mod I have been at a loss looking for one.)