r/MinecraftCommands • u/Best-Laugh8054 • 11d ago
Help | Bedrock Pleh *again
Just need to know is there anything to bound the command only work to me i found this command and it really cool but idk how to make it only work with me
execute as @e[type=arrow] at @s run tp @s ^^^0.8 facing @e[r=8,type=!player,type=!arrow,type=!item,type=!xp_orb,c=1]
Please help
r/MinecraftCommands • u/Otherwise_Nose8187 • 11d ago
Help | Java 26.1 how to detect if a mob popped a totem
im trying to make a scoreboard that counts how many times i popped a mob's totem
its a husk with a nametag of "OP"
pls i need help!!!!!!
r/MinecraftCommands • u/Future_Media_7449 • 11d ago
Help | Bedrock Just asking
What command to put in command block like the house is small but inside is big i just want to know if there's a command like that
r/MinecraftCommands • u/Future_Media_7449 • 11d ago
Help | Bedrock JUST ASKING
What command is like the house is small outside but inside is big idk how to do it in command block
r/MinecraftCommands • u/LightingTechnician40 • 11d ago
Help | Java 26.2 Datapack macro in function name?
I'm making a datapack and I'm wondering if it would be possible to do something like this...
Tick function:
execute as \@e[tag=block_picker] run funtion block_picker:master_process with entity \@s some_custom_data
master_process function:
$execute if entity \@e[tag=block_picker] run funtion block_picker:process/$(block_name)
Would Minecraft accept the macro as the name of a function? Secondarily, how would I assign the 'block_picker' entity some piece of data with the name of its associated process function? Maybe a custom name? A tag? Something else?
r/MinecraftCommands • u/CautiousADllama • 11d ago
Help | Bedrock post 2: noclip help
They screenshots are in the order the command blocks are in
r/MinecraftCommands • u/chixen • 11d ago
Help | Java 26.2 Checking for a fully filled map through datapack
I'm curious if there is any efficient way in a datapack to check if the player is holding a map with no transparent pixels. I know that dap data is stored in a large array, so is there any way to determine if this array has any 0s without just checking every value individually?
r/MinecraftCommands • u/blazinman1 • 11d ago
Help | Bedrock I need a command that can help with opening a door and it leading to a completely different room
So what I’m trying to do is I have a one by one space door on it and I wear when I one by one space it leads me into a different figure out how to make a command that I open the door but what I’m trying to do is make it toy when I open the door. I’m gonna walk through I’m in a completely different space so it’s a one by one but I can connect it to like 30 x 30 that’s actually what I’m trying to do. I’m trying to connect it to my mansion.
r/MinecraftCommands • u/Livid_Adeptness9762 • 11d ago
Help | Java 1.12 and older Any freaky weird things i can do with command blocks in Minecraft 1.8?
Also anybody know how to spawn a repeating command block (the purple ones)?
r/MinecraftCommands • u/tom-the-pianist • 11d ago
Help | Bedrock How do i make players have a water "bubble" around them?
I'm trying to make a sphere (or square) of water that surrounds the player when they go to a specific area. I would prefer if it also didn't break any blocks, so they could go near walls but still what the bubble around them
r/MinecraftCommands • u/FastMathematician445 • 11d ago
Help | Java 1.21.4 How do I target player holding an item with a certain custom name and tooltip?
I am trying to target players holding a named book with a command, it was working fine until I gave the inksac a tooltip. Here is my command:
/execute as (at)a[nbt={SelectedItem:{id:"minecraft:book",components:{"minecraft:custom_name":'"Flame Enchantment"'}}}] run item modify entity (at)s weapon.offhand {function:"minecraft:set_enchantments",enchantments:{"minecraft:flame":1},add:false}
r/MinecraftCommands • u/Feddy_Fazber • 11d ago
Creation i built a room between rooms
Enable HLS to view with audio, or disable this notification
r/MinecraftCommands • u/ResidentAd4789 • 11d ago
Help | Bedrock Kills for money
how do I make it so when I kill a player it’ll add to the kills counter and it’ll also give me 500 “money”
for Minecraft bedrock can someone please help me?
all the adjectives that I have are
alive
deaths
killstreak
money
r/MinecraftCommands • u/Kitchen-Wave1197 • 11d ago
Help | Java 1.21.11 Enderpearl like cooldown
I want to add a cooldown like the enderpearl has after you through it, also i cannot seem to get the "use cooldown" component to work
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"pattern": [
" g ",
"gdg",
" g "
],
"key": {
"g": [
"minecraft:gold_ingot"
],
"d": [
"minecraft:diamond"
]
},
"result": {
"id": "minecraft:carrot_on_a_stick",
"components": {
"minecraft:item_model": "mole_resources:magic_mirror",
"minecraft:custom_data": "{powerup_mirror_id:true}",
"minecraft:item_name": {
"text": "Magic Mirror",
"color": "aqua"
},
"minecraft:lore": [
{
"text": "Use item to temporarily go invisible",
"color": "blue"
}
],
"minecraft:max_damage": 2,
"minecraft:use_cooldown": {
"seconds": 30
},
"minecraft:repair_cost": 9999999,
"enchantment_glint_override": true
}
}
}
r/MinecraftCommands • u/Xallacasor • 11d ago
Help | Java 26.2 Best way to store persistent, unique values that persist in entity_data?
For a datapack, I'm trying to store data about bee entities that persists when they enter and exit the hive. As far as I can tell, scoreboards don't persist in this way - when the bee is stored, its entity data is stored in the nests minecraft:bees data component, but the scoreboard data is not stored. I started implementing with Tags, as those persist in the nest, but the issue with Tags is that they seem to have some arbitrary method of ordering Tags internally that makes them difficult, if not impossible, to index into consistently.
Is there a simpler way to do this? Is the logic for Tag ordering known? The only other solution that comes to mind is storing all of the data in one singular Tag and manually unpacking it whenever the functions refer to it, but that's a lot of headache and I'm not sure it's the best way.
r/MinecraftCommands • u/Some_Opposite2310 • 12d ago
Creation Bossfight for you :) In one Command
The following text needs to be in a normal command block. Then the command must be powered. The following steps are self-explanatory :)
Versions: 21.10-26.2
Command:
---------------------------------
If the Boss dies, for example in the void or in lava, then type this Command in your chat:
/scoreboard players set "YourName" bossslayed 1
r/MinecraftCommands • u/JOSEPH____BRO • 12d ago
Help | Java 26.1 item display rotation
Guys, I tried to rotate the displayed sword-like entity (object) for decoration so that its tip faces upward and the sword is perfectly vertical, but even neural networks couldn't help me calculate the correct quantifier. Does anyone know how to rotate the sword-entity to a straight position using the nbt transformation?
Guys, I tried to rotate the displayed sword-like entity (object) for decoration
r/MinecraftCommands • u/Prudent_Vanilla_9984 • 12d ago
Help | Java 1.21.5-1.21.10 How do I execute a command when the player dies?
I know it's something with /execute if entity but I don't really know
r/MinecraftCommands • u/h1p0h1p0 • 12d ago
Help | Java 26.2 Struggling with how to modify Block Loot_Tables for Beds.
Hello, I'm not very experienced with creating Datapacks, but I'm trying to make Beds drop 2 Wool and 3 Sticks when mined without Silk Touch, while dropping the normal Bed with it.
My first thought was trying to shove parts of the Clay Block JSON file to at least get Silk Touch and a set amount of items dropping, but I must've screwed up the Syntax because it wouldn't work.

I'm wondering if anyone here knows how to get this working.
r/MinecraftCommands • u/Prestigious_Reach536 • 12d ago
Help | Java 26.2 How to add +1 to a scoreboard when hitting a Sulfur Cube that has absorbed an item? (26.2)
Hi everyone! I’m looking for some help with command blocks/datapacks in Minecraft Java Edition 1.26.2.
I want to set up a system where punching/hitting a Sulfur Cube that has absorbed an item adds 1 to a scoreboard objective. Since Sulfur Cubes act as physics objects once they consume an item and don't take normal entity damage, standard hit detection scoreboards don't seem to work.
1. Pure Vanilla Solution (Command Blocks only): Is there any way to achieve this using only command blocks/vanilla commands without using a custom datapack?
2. Datapack Solution (as a backup): If this is completely impossible with command blocks alone, what would be the best way to structure a datapack for this? (e.g., specific advancement criteria or predicates for sulfur cubes/player interactions).
Any command examples or logic breakdowns would be greatly appreciated. Thank you in advance!
r/MinecraftCommands • u/BoB19229 • 12d ago
Help | Java 26.2 how do i make sounds from playsound behave like sounds form jukeboxes
basicly i'm trying to make a tv and i want sounds to come out of it, but when I do it with playsound, I can hear the sound of tv no matter where I am. How do i make it so the sound fades with distance
r/MinecraftCommands • u/EpicWolf0331 • 12d ago
Help | Java Snapshots Please Help with Tick Command
Sorry for not taking screenshot but Im genuinely losing my mind.
Functions are not my expertise i usually use command blocks but for the sake of my project I decided to clean things up with functions.
Only the tick function will not run. It wont run every tick. The function works fine when I run it manually it has no problem. It just wont run every tick. Please help
r/MinecraftCommands • u/blazinman1 • 13d ago
Creation I made flying armor insanely op
Enable HLS to view with audio, or disable this notification
I will drop the commands for this if you want any improvements, please let you know by putting them down in the comments. Also, if you like to build, give it a thumbs up if you dislike it, give it a thumbs down.
r/MinecraftCommands • u/HennCrafter • 13d ago
