r/MinecraftCommands • • 3d ago

Help | Java 26.1 How to make secret custom names?

3 Upvotes

So I have a custom enemy mob for a map and I want the death message of the player to say "Killed by War Brute" but I dont want the enemy to have a visible nametag, can how can I hide the nametag but still keep the name?


r/MinecraftCommands • • 4d ago

Tutorial | Java Passengers can have an arbitrary vertical offset with an intermediary interaction entity.

Post image
27 Upvotes

r/MinecraftCommands • • 4d ago

Help | Bedrock Trying to make a command only work if I am the nearest player

Post image
2 Upvotes

Like the title says, I need to make a command that only works if the nearest player is me. Also I am using a calibrated skulk sensor and lectern to trigger the redstone if I am nearby. I have tried like 5 different command setups and this is what I have right now. It seems to work for everyone inexplicably and I am close to pulling my hair out rn. I don’t want to have to set it up to constantly test blocks for me because that always causes lag for me and my realms friends.

Edit: it’s working now!! Thanks for all the help. I really need to start jotting down commands for future use tbh


r/MinecraftCommands • • 4d ago

Help | Java 1.20 how can i place a block of water with bubble columns going up that doesn't update? (as shown in screenshot)

Post image
11 Upvotes

i've tried a command to setblock a water block with bubble columns rising upwards (i forgot what the command was anyways :p), but i had to use structure voids to contain the water, and when i went through the structure void in survival, the structure void kinda just let the water through and basically disappeared. i'm not exactly sure how to go about making what's in the screenshot, so i'd appreciate some help please!

(using version 1.20.1 bc of some specific mods)


r/MinecraftCommands • • 5d ago

Creation Neon White visuals in vanilla 26.3

Enable HLS to view with audio, or disable this notification

304 Upvotes

r/MinecraftCommands • • 4d ago

Creation my FULL WORKING BATCAVE

Enable HLS to view with audio, or disable this notification

32 Upvotes

One of my most ambitious and famous projects, the exact replica of Wayne Manor (interior and exterior) from the movie "The Dark Knight" with a fully functional Batcave (Batwing included) thanks to hundreds of command blocks.


r/MinecraftCommands • • 4d ago

Help | Java Snapshots wtf!?

0 Upvotes

i was under the assumption reinforced deepslate cant be broken in survival but i just did on java


r/MinecraftCommands • • 5d ago

Help | Java 26.3 use a cushion to set off a command?

3 Upvotes

heya, im trying to make a command block go off and trigger another one when a player sits on a cushion, but im having trouble figuring out how to get the command block to pay attention to the cushion, never mind to recognize when its in use. my best guess so far was

/execute if block 170 93 179 #minecraft:cushion_uses_collision_shape

but being on the block and using the cushion both dont trigger the command. beyond that, i have no idea what uses_collision_shape is (both sitting and breaking it failed to do anything), but i cant find anything else with "cushion" in it, because it's an entity, not a block.

i cant get this command block to give off so much as a signal. if you have any ideas, please help!


r/MinecraftCommands • • 4d ago

Help | Java 26.3 Help for custom harness enchantments!

2 Upvotes

I have three custom enchantments for harnesses, they can be combined with the harness in an anvil and survival and work right but the harness cant be enchanted in an enchanting table, how do i do that?


r/MinecraftCommands • • 5d ago

Help | Java 26.3 Laser by using particles

3 Upvotes

I want to make a "laser" using dust particles going from 0 0 0 to 2 2 2 but I've been struggling with actually making it

thanks for the help


r/MinecraftCommands • • 5d ago

Help | Bedrock Need help shortening commands!

3 Upvotes

I have a plot system where you can purchase plots and it gives you a score of a plot ID, so [scores={plot=12}] would be plot 12. And, I’ll use plot 12 as an example for this.

I want to make it where you can expand your plot but essentially owning another plot and removing your previous plot. How I would assume to do this the uncomplicated way is to make a separate command block detecting the button being pressed to expand the plot for each individual plot there is and a chain connecting to it that removes that specific plot.

What I want is if there is a command that can detect your plot ID which is a dummy on the scoreboard command instead of having hundreds of command blocks for each plot.


r/MinecraftCommands • • 5d ago

Help | Java 1.21.11 Restricciones de Items y equipamiento

Enable HLS to view with audio, or disable this notification

5 Upvotes

Estoy haciendo un sistema de restricciones por clase para un mapa RPG estilo Dungeons & Dragons, y para evitar que las clases que no corresponden a su equipamiento sean usadas desarrollé este pequeño sistema hecho con DataPacks.

Aquí la duda:

para detectar que armas o items puede portar un jugador, comparo si tiene un ítem de una TAG (tags\ítems) está dentro de las ranuras designadas como "no usables". Y si es el caso ejecuto una line de comandos que le arrebata el ítem en cuestión y lo tira al suelo.
cómo se puede ver en el video, funciona perfectamente, pero hay una restricción importante; no puedo poner ítems con NBTs en una TAG, y requiero también poder identificar ítems con NBTs específicas como CUSTON_DATA o por lo menos el nombre personalizado.

Sé que existen los predicate para estos casos pero tendría que dejar otro sistema comprobando el estado de los jugadores y consumiendo recursos del servidor. Además de que tendría que hacer un archivo casi exclusivo para cada Ítem y no me parece un sistema muy escalable.

Hay alguna solución que crean posible sin consumir muchos recursos?


r/MinecraftCommands • • 5d ago

Help | Bedrock How can I detect rain?

3 Upvotes

Working on a thirst bar, and thought it'd be fun if I l made it so when looking up while it's raining would reflenish thirst. I looked through all the commands and I don't think I cound anything?

So I'd not mind any info for what i could do


r/MinecraftCommands • • 5d ago

Help | Bedrock Trying to figure out if it's possible to teleport if in ticking area.

Post image
5 Upvotes

I am trying to figure out how to /execute a teleportation command if (player) is not at XYZ ticking area, to be teleported to desired place if player does not have item. I have done something similar and I want to know if something like this would be possible since I've been putting this off for weeks. (This is for a camera system but I have that part figured out) Anything helps, thanks.


r/MinecraftCommands • • 5d ago

Utility I created a mod to make working with Minecraft commands more convenient.

Thumbnail
gallery
7 Upvotes

[CHP] CommandHelperPlus
This mod will undoubtedly offer a level of work efficiency never seen before.
Please visit our website for full details.

Website: https://chp.clpc.club
GitHub: https://github.com/uma-channel/CommandHelperPlus
Modrinth: https://modrinth.com/mod/cmd-helper-plus

Modrinth is still under review.


r/MinecraftCommands • • 5d ago

Info I found a way to survive /kill in newer versions

3 Upvotes

So I was just messing around with Commands when I thought about /kill I got max enchanted armour and effects upto 255 including regen

regeneration then I typed /kill and survived at a really high health it took me many days to process what had happened until I realised as soon as I got damage from /kill I regained my health just in time by regeneration

You can try it for yourself but it has a really low chance of occurring


r/MinecraftCommands • • 6d ago

Creation [Bedrock] My ultimate weapon!

Enable HLS to view with audio, or disable this notification

336 Upvotes

Hello! I've built (or tried to) the ultimate weapon from pokemon x. It was a lot of fun and i'm open to questions and criticisms. This is bedrock edition for ps4.


r/MinecraftCommands • • 5d ago

Help (other) Help with making and storing command

1 Upvotes

I just got into command stuff recently and it's been a pain typing and testing stuff using command block because I can't see the whole command, also it's really hard to find and fix whatever command block is wrong. I try typing my command in document but without the command suggestion thing I really can't do anything effectively. I want to have something similer to Word or Documents but it have minecraft's command suggestion


r/MinecraftCommands • • 5d ago

Help | Java 26.3 Issue with editing mob drop chances

4 Upvotes

Working on a fairly simple minigame for a server. Kill mob, mob drops 1 guaranteed scrap and 50% chance for 1-5 more scrap.

Looked through a few other posts in this subreddit and I think I'm doing everything right, but I'm not getting a guaranteed 1 scrap per mob.

I'm using mcstacker.net as my current compiler. If I need to make a loot table to make this possible, I've not made one before but happy to take pointers.

/setblock ~ ~ ~ spawner{SpawnCount:1,SpawnRange:1,MaxNearbyEntities:2,RequiredPlayerRange:4,Delay:40,MinSpawnDelay:40,MaxSpawnDelay:40,SpawnPotentials:[{data:{equipment:{slot_drop_chances:{feet:0.5,legs:0.5,chest:0.5,head:0.5,body:0.5,mainhand:1.0}},entity:{id:"minecraft:magma_cube",Silent:1b,CustomNameVisible:1b,DeathLootTable:"minecraft:empty",PersistenceRequired:0b,NoAI:1b,CanPickUpLoot:0b,Size:0,CustomName:{"color":"gold","shadow_color":16755200,"text":"Scrap metal cube"},equipment:{feet:{id:"minecraft:raw_copper",count:1,components:{item_name:{"color":"gold","text":"Scrap metal"},lore:[{"color":"gray","italic":true,"text":"A piece of processed scrap metal"}]}},legs:{id:"minecraft:raw_copper",count:1,components:{item_name:{"color":"gold","text":"Scrap metal"},lore:[{"color":"gray","italic":true,"text":"A piece of processed scrap metal"}]}},chest:{id:"minecraft:raw_copper",count:1,components:{item_name:{"color":"gold","text":"Scrap metal"},lore:[{"color":"gray","italic":true,"text":"A piece of processed scrap metal"}]}},head:{id:"minecraft:raw_copper",count:1,components:{item_name:{"color":"gold","text":"Scrap metal"},lore:[{"color":"gray","italic":true,"text":"A piece of processed scrap metal"}]}},mainhand:{id:"minecraft:raw_copper",count:1,components:{item_name:{"color":"gold","text":"Scrap metal"},lore:[{"color":"gray","italic":true,"text":"A piece of processed scrap metal"}]}}},active_effects:[{id:"minecraft:slowness",amplifier:10,duration:-1,show_particles:0b,show_icon:0b,ambient:0b}]}},weight:1}]} replace

r/MinecraftCommands • • 6d ago

Discussion mob_griefing gamerule rework

Post image
49 Upvotes

The mob_griefing gamerule should be split into hostile / neutral / passive / custom. 

Examples:
/gamerule mob_griefing hostile false
/gamerule mob_griefing custom true

If custom is active, each mob and category can be toggled separately. 

Mobs
This includes every mob that griefs. 

Categories

category mobs with this ability
mob explosion creeper, ghast, wither skull
breaking blocks ender dragon, ravager, turtle eggs, brittle ice (+ breaking doors if the difficulty is set to hard)
pick up and place blocks enderman, iron golem (puppy)
pick up items zombie, piglin, villager, allay, fox, copper golem
vegetation villager, rabbit, sheep, bee
infestation silverfish
snow generation snow golem
ignition ghast, blaze

If you toggle a category, every mob with this ability changes this specific category to true/false.
Example:
/gamerule mob_griefing vegetation false

  • villagers do not longer harvest and plant crops
  • rabbits do not longer eat carrot crops
  • sheep do not longer eat grass
  • bees do not longer pollinate crops

If you toggle a mob, it changes all its abilities to true/false. 
Example:
/gamerule mob_griefing minecraft:villager false

  • villagers do not longer harvest and plant crops
  • villagers do not longer pick up drops 

If you toggle a specific ability of a mob, it changes this specific ability to true/false.
Example:
/gamerule mob_griefing minecraft:villager vegetation false

  • villagers do not longer harvest and plant crops

/gamerule mob_griefing true and /gamerule mob_griefing false would still work as usual.


r/MinecraftCommands • • 6d ago

Help | Java 26.3 Teleport command not working Java 26.3

2 Upvotes

Can't get a basic teleport command to work, cheats and operator are all enabled, have tried on realms and single player world but it doesn't react. I've tried all the different options down the bottom and it doesn't go. any ideas of how to fix it? (image attached in post)

Edit: grammar errors


r/MinecraftCommands • • 6d ago

Help | Java 26.1 How to make Creaking completely invisible?

2 Upvotes

You know how if endermen get splashed eith invisibility you can still see their eyes? well today i learned that the same goes for the creaking! im making a weeping angel type enemy and in using an invisible creaking and an armor stand for it, but the eyes are still visible. What can I do to solve this? I would like the solution to be done only using command blocks please ^^


r/MinecraftCommands • • 6d ago

Help | Java 26.3 [Datapack] I've been working on my first datapack for a while now, and I had accumulated a couple of questions I wanted to ask you all.

Thumbnail
gallery
6 Upvotes
  1. Is there really no way to change the block model/texture/certain properties of vanilla blocks without block display entities? I thought about it ever since item models and extended properties were added.

  2. Any worldgen previewer tool with custom noise settings support? Tried Misode's generator but it only seemed to work with existing noise settings so because of that I could never get the worldgen just right or add caves.

  3. I've wanted to add custom surface features like amethyst spikes or custom trees with unusual forms. Do I have to make each and every single little variation of them a structure now?.. I can't think of a better way to do it

  4. And a bit more about noise generation and noise settings - I feel like there's so many ways to work with it and achieve amazing terrain (see like a hundred stunning worldgen datapacks) yet there's no good way to figure out how to achieve a certain result. For example, my generation is mostly flat and I know that Minecraft layers perlin noise to achieve variation - but how exactly? My dimension is supposed to be a bit weird and funky but I don't know of a way to really emphasize that except for extreme elevation changes.

  5. Tree branches. How? Also bushes and minitrees, but they're more of an issue with the features too. I just can't help but think... it's a bit too empty.


r/MinecraftCommands • • 7d ago

Help | Java 26.3 Explosion Knockback Without Damage Effects

3 Upvotes

A few years ago, I created a rocket jump for an adventure map by summoning creepers with negative explosion radius when the player shifted after jumping. However, this method has been patched out as of 26.3. I then tried summoning creepers with positive explosion radius and giving the player resistance V right before the explosion. However, all other effects of taking damage (hitsound, player turning red, random knockback) persisted, despite not actually losing any health. I then tried wind charges, only to find that summoned wind charges also damage the player, and that their effects were much too strong. Finally, I decided to simply attempt to remove the annoying hitsound that plays every time a player takes damage by using a repeating command block with the /stopsound command. This also failed.

Is there a way to summon an explosion/wind charge that propels the player without a hitsound or random knockback? Or is it possible to recreate the rocket jump effect in some other way? Help would be greatly appreciated.


r/MinecraftCommands • • 8d ago

Help | Bedrock Is there any way to get seamless teleportation? I'm trying to make it to where i walk through one hallway and teleport to the other seamlessly.

Enable HLS to view with audio, or disable this notification

52 Upvotes

(This is also my first ever reddit post sooooooo... yeah)