r/MinecraftCommands • u/D-Zee • 13d ago
r/MinecraftCommands • u/TheRedstoner420 • 13d ago
Help | Bedrock Trying to make a command only work if I am the nearest player
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 • u/Acrobatic-Skill4557 • 13d 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)
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 • u/PuzzleheadedEbb498 • 14d ago
Creation Neon White visuals in vanilla 26.3
r/MinecraftCommands • u/Odd_Procedure_852 • 13d ago
Creation my FULL WORKING BATCAVE
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 • u/Final_Major_5287 • 13d ago
Help | Java Snapshots wtf!?
i was under the assumption reinforced deepslate cant be broken in survival but i just did on java
r/MinecraftCommands • u/Basic-Ad954 • 14d ago
Help | Java 26.3 use a cushion to set off a command?
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_shapebut 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 • u/Ebfisprettycool • 14d ago
Help | Java 26.3 Help for custom harness enchantments!
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 • u/cloth71 • 14d ago
Help | Java 26.3 Laser by using particles
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 • u/No_Volume9245 • 14d ago
Help | Java 1.21.11 Restricciones de Items y equipamiento
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 • u/pulsekin_ • 14d ago
Help | Bedrock Need help shortening commands!
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 • u/_Puron • 14d ago
Help | Bedrock How can I detect rain?
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 • u/UIVIA • 14d ago
Utility I created a mod to make working with Minecraft commands more convenient.
[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 • u/Sharp-Offer2747 • 14d ago
Info I found a way to survive /kill in newer versions
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 • u/Snailegg_z • 15d ago
Creation [Bedrock] My ultimate weapon!
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 • u/Strange_Group702 • 14d ago
Help (other) Help with making and storing command
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 • u/CoffeeMimicPinoybean • 15d ago
Help | Java 26.3 Issue with editing mob drop chances
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}]} replacer/MinecraftCommands • u/I_like_croissants_ • 15d ago
Discussion mob_griefing gamerule rework
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 • u/TheRedJacket5 • 15d ago
Help | Java 26.3 Teleport command not working Java 26.3
r/MinecraftCommands • u/Daisuki2Dayo • 15d ago
Help | Java 26.1 How to make Creaking completely invisible?
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 • u/SteppedTax88238 • 15d 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.
- 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.
- 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.
- 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
- 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.
- 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 • u/organicdonut • 16d ago
Help | Java 26.3 Explosion Knockback Without Damage Effects
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 • u/6Who_Knows9 • 17d 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.
(This is also my first ever reddit post sooooooo... yeah)
r/MinecraftCommands • u/Flashy-Benefit6873 • 16d ago
Help | Java 26.3 Trial Spawners activate but do not produce mobs
I've tried everything I can think of. All of the gamerules are set to true, the difficulty is normal, and I've tried tweaking things within the command itself, but when I approach my trial spawners, they activate but they never produce any mobs.
Is there something I'm missing here, or does anyone have any recommendations?
execute unless block ~ ~2 ~ trial_spawner run setblock ~ ~2 ~ trial_spawner[ominous=false,trial_spawner_state=waiting_for_players]{normal_config:{spawn_range:4,total_mobs:15,simultaneous_mobs:5,total_mobs_added_per_player:5,simultaneous_mobs_added_per_player:1,ticks_between_spawn:5,spawn_potentials:[{data:{custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}},entity:{id:"minecraft:witch",CustomNameVisible:1b,Team:"VaultGenPop",PersistenceRequired:0b,Health:60f,Tags:["TestGenPop"],CustomName:{"color":"light_purple","text":"Strangeguard"},attributes:[{id:"minecraft:armor",base:3},{id:"minecraft:armor_toughness",base:3},{id:"minecraft:attack_damage",base:5},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:60},{id:"minecraft:movement_speed",base:0.31}]}},weight:1},{data:{custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}},entity:{id:"minecraft:zombie",CustomNameVisible:1b,Team:"VaultGenPop",PersistenceRequired:0b,Health:80f,Tags:["TestGenPop"],CustomName:{"color":"light_purple","text":"Strangeguard"},attributes:[{id:"minecraft:armor",base:3},{id:"minecraft:armor_toughness",base:3},{id:"minecraft:attack_damage",base:5},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:80},{id:"minecraft:movement_speed",base:0.31}]}},weight:1},{data:{custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}},entity:{id:"minecraft:skeleton",CustomNameVisible:1b,Team:"VaultGenPop",PersistenceRequired:0b,Health:60f,Tags:["TestGenPop"],CustomName:{"color":"light_purple","text":"Strangeguard"},equipment:{mainhand:{id:"minecraft:bow",count:1}},drop_chances:{mainhand:0.000},attributes:[{id:"minecraft:armor",base:3},{id:"minecraft:armor_toughness",base:3},{id:"minecraft:attack_damage",base:5},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:60},{id:"minecraft:movement_speed",base:0.31}]}},weight:1},{data:{custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}},entity:{id:"minecraft:vindicator",CustomNameVisible:1b,Team:"VaultGenPop",PersistenceRequired:0b,Health:100f,Tags:["TestGenPop"],CustomName:{"color":"light_purple","text":"Strangeguard"},equipment:{mainhand:{id:"minecraft:iron_axe",count:1}},drop_chances:{mainhand:0.000},attributes:[{id:"minecraft:armor",base:3},{id:"minecraft:armor_toughness",base:3},{id:"minecraft:attack_damage",base:5},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:100},{id:"minecraft:movement_speed",base:0.31}]}},weight:1},{data:{custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}},entity:{id:"minecraft:breeze",CustomNameVisible:1b,Team:"VaultGenPop",PersistenceRequired:0b,Health:40f,Tags:["TestGenPop"],CustomName:{"color":"light_purple","text":"Strangeguard"},attributes:[{id:"minecraft:armor",base:3},{id:"minecraft:armor_toughness",base:3},{id:"minecraft:attack_damage",base:5},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:40},{id:"minecraft:movement_speed",base:0.31}]}},weight:1}]},required_player_range:12} replace




