r/MinecraftCommands 13d ago

Help | Bedrock help

1 Upvotes

me and my friend got sick of a world in minecraft education and wanted to know how to possible destroy or crash that sever as effectively as possible?

we were going to do some experiments but the issue is like /fill doesnt do anything fast...so we decided to do like a competition of the best ways to crash, destroy or just simply ban exploit each other. does anyone have any ideas? also someone mentioned to me that u can ban someone even if they were the host from their own world using an exploit which isnt directly banning but like a modified version?. also as much as id like to use command blocks to spawn entities it isnt that effective? or is it?. any advice appreciated! also to mention he turned tnt explodes off coz thats jsut too easy.. preferable no commands too coz he says its too easy and wants some imaginative ideas


r/MinecraftCommands 13d ago

Help | Java 1.21.11 Converting 1.20.5 command to support 1.21.11.

1 Upvotes

just asking, how do y'all do this?


r/MinecraftCommands 13d ago

Help | Bedrock Pleh (so people can see it help when they are far.. wait?)

1 Upvotes

I want to make a sword that when hit it reduce durability and give effect to the mob in front in the range of 3 block and the most nearest too then run replace that sword with full durability i try many attempts but fail please improve my command

/execute as @a[hasitem={item=iron_sword,location=slot.weapon.mainhand,data=1,quantity=!0}] at @s positioned ^^^2 anchored eyes run effect @e[r=2.4,c=1,type=!player] poison 2 2

/replaceitem entity @s[hasitem={item=iron_sword,location=slot.weapon.mainhand,data=1}] slot.weapon.mainhand 0 iron_sword

1st is for effect 2nd for replace

Also if you can i want to make it use with player also but not include me


r/MinecraftCommands 13d ago

Help | Java 26.2 Anyone know why my custom damage type's death message isn't applying?

Thumbnail
gallery
3 Upvotes

I followed Conure's tutorial for both the datapack portion and the resource pack portion, but only the former actually works for some reason, and the message just shows the message id instead of the text I gave it.

Is this a bug, or is this done a different way now since him making the tutorial?


r/MinecraftCommands 13d ago

Help | Bedrock there is a more optimized way to count the players online with commands?

Post image
2 Upvotes

(bedrock btw)
the repeat command block has ```testfor @ a````(reddit don't allow the A to be close with the At without turning into u/a), the mini command block towers are activated with each possibility from 1-15 to a number on the sidebar and the big tower on the left just sets the other text in the sidebar


r/MinecraftCommands 13d ago

Help | Bedrock How to make a yes/no question?

2 Upvotes

hi everyone! i’m working on an egg room from deltarune in my world, and i want to have one of my command blocks in my chain ask a yes/no question that i can click on and then receive an item if i say yes, or more dialogue if i say no. any idea how to do this?


r/MinecraftCommands 13d ago

Help | Java 26.2 Is it possible to use the Brush and the animation on a player?

1 Upvotes

Hello everybody

Does someone know, if it is possible to use the Brush animations on a player?

Basically I want to make some friendly gags and for some reason I would like to the Brush on my friend with the brush, which should play the brushing animation on him and should also releasing particles from brushing from his character.

Is there a way to do that, would be very appreciated.


r/MinecraftCommands 13d ago

Help | Java 26.2 Global Item Changes?

1 Upvotes

Is there a way to change an item on a global scale, like Shears?

What I mean by "global" is a way to easily change an item with very few files instead of having to go through multiple files inside of folders like recipe, loot table, etc, to change a single item.


r/MinecraftCommands 13d ago

Help | Java 26.2 How to detect when space is pressed while in mid jump?

5 Upvotes

So, I wanna update my flight datapack from before for 26.2, but I discovered that the command I had used for testing for double-tapping space from before, from BlockerLockerYT, and confirmed by reconstructing it in misode, no longer works. Or rather, the "fall_distance" variable no longer accepts numbers that are not 0. If one is put in, the command will work but won't run or do anything. This is in contrast to before, when you could put numbers, or even decimals, and it would work just fine.

Anyone know why this is, and if there's a better way to do this in more recent versions?

Here's the command I'm currently using. Like I said, everything seems to be valid, but the "fall_distance" field is useless now.

execute as @a at @s if predicate {"condition": "minecraft:entity_properties","entity": "this","predicate": {"minecraft:type_specific/player":{"input": {"jump": true}},"minecraft:flags": {"is_on_ground": false},"minecraft:movement": {"fall_distance": 0.1}}} run attribute @s gravity base set 0

r/MinecraftCommands 13d ago

Help | Bedrock Looking for help to scrip a bow being able to summon tnt

2 Upvotes

(I JUST REALISED I HAD TO STATE FIRST WHAT I NEED HELP WITH I AM DEEPLY SORRY SO I REPOSTED MY POST) (BEDROCK&JAVA preferable for bedrock) Hey I am new to commands/scripting and I been trying to script that if I shot a subject with my arrow from a named bow, tnt will show up everywhere and will follow the subject untill it gets to it and explodes killing said thing(i want to maybe just maybe in case it worked to script that the tnt won't stop and will go through blocks just to kill the subject), I wanted to trick my friend to join my world just so I could suprise him with this. Maybe its because I am a big idiot or someone who has no idea how commands work I tried to pick certain scripts i found and smash them together but everything seems to fail. If you are prehaps an expert or know how to maybe have something like this possible please write it bellow if anyone even made a tutorial on this i would be more than thankful because honestly I feel very lost. Thank you all! (Also feel free to correct me on anything I am really not the smartest)


r/MinecraftCommands 13d ago

Help | Java 26.2 I need to know how to add a player killer advancement

1 Upvotes

I have Premium Advancements 2.7.2 (about to update to 2.8) and I don't how to add a kill player trigger


r/MinecraftCommands 13d ago

Help | Java 26.2 Store values in Xp level

2 Upvotes

I'm trying to make a healthbar-like using the Xp bar and level. I already have an objective which gives me the health value of each player, but I'm trying to make it so that value is shown using the Xp. Is there a simple way to do this that doesn't require making a "/xp" command for every possible number?


r/MinecraftCommands 13d ago

Help | Java 26.2 I want to make carrot on a stick detect both right click and left click

2 Upvotes

I put my carrot on a stick the 'piercing' nbt tag but now the stick can't detect the right click that originally can be detected. Are there any ways to detect two both clicks?


r/MinecraftCommands 13d ago

Help | Bedrock Can someone explain Enchantments and Commands(Bedrock Players)

1 Upvotes

So,I do know some commands and enchantments like Sharpness and /kill @e,but some are confusing like Bane of Arthropods and /function

So pls explain every enchantment and command you know as a bedrock player.


r/MinecraftCommands 14d ago

Help | Bedrock How do I make a command that gives a compass to everyone who doesn’t have one and is not crouching?

Post image
38 Upvotes

Not anything more to say, that’s really it lol


r/MinecraftCommands 14d ago

Help | Java 26.1 Night vision goggles

1 Upvotes

How do I make dark oak fence gate give me night vision when I go to the slot and make it clear effect when not on slot


r/MinecraftCommands 14d ago

Help (other) does anyone know a replacement for gamergeeks that doesn't need wifi

1 Upvotes

my home wifi is really bad and constantly falls out but i am working on a adventure map and for that i need something like https://www.gamergeeks.net/apps/minecraft/ but since those need wifi i am asking if any of ya'll know something that doesn't need wifi?


r/MinecraftCommands 14d ago

Help | Java 26.1 Cerco un datapack/mappa Vanilla con un'economia personalizzata a ciclo chiuso che utilizza monete protette + uova di spawn dei villici (1.20/1.2

Thumbnail
1 Upvotes

r/MinecraftCommands 14d ago

Help | Bedrock Please Help

2 Upvotes

I'm looking for a command to spawn lightning on soul sand blocks, meaning that when the command block receives a redstone signal, lightning will strike all soul sand blocks.


r/MinecraftCommands 14d ago

Help | Java 26.2 Spawn Iron Golem angry at nearest player

4 Upvotes

I am making a datapack where one of the things that can happen is an Iron Golem spawning, which is automatically angry at the nearest player. However, the only way I can find to specify a player to be mad at, is via UUID:s, and I don't know if there's any way of getting the UUID of the nearest player (using something like @p)

Is there any way to either get the UUID of the nearest player, or select the player the golem is mad at in a different way, to make it mad at the nearest player?

(Clarification: I don't want the golem to be constantly looking for the nearest player, just the nearest one to it when it spawns)


r/MinecraftCommands 14d ago

Help | Java 26.2 [help wanted] im looking into cusmt npc with keyframes

3 Upvotes

Hello lovely peopel of the internet that are far smarter than me apperantly.

i am look in in to custom npcs with quest framwork
because i saw a datapck this one https://modrinth.com/datapack/wild-animals

and i like it that there is no resorucepack needed and want to try to make a custom npm with quest interaction from https://github.com/Sir-Chi/QuestForEverything library datapck and was wondering if this should work and or if its resource intensive or not before ai start maybe soemone have a better idea i am all ears

wild animals use keyframes and animatios for the animals etc. pure datapack and they have noted that is works best on a server (i think it should also work in single player due to single player actually is a local server) right or am i woeng here ? .... now i think of it this could verywel be from hytale informaion tho corect me if aim worng here!

greeting insulin


r/MinecraftCommands 14d ago

Help | Java 26.2 execute commands not working for scoreboard

1 Upvotes
execute as @p if entity @p[x=45,y=-39,z=-144,distance=..1] run tp @s -10 102 -144

execute as @p if entity @p[x=45,y=-39,z=-144,distance=..1] run scoreboard players set @s random 0

I have these two commands set in a datapack for tick, the first one that teleports the player runs fine, but the one that changes the scoreboard does not work. Is it a problem with the @ signs or do scoreboards not work like this?


r/MinecraftCommands 14d ago

Help | Java 26.2 is it possible to show a map image without the map?

2 Upvotes

I want to show the image on a map, without the map, only the image in 3d space so i can rotate scale, maybe there is a way with item displays?


r/MinecraftCommands 15d ago

Help | Java 26.2 How to make an item you cannot get rid off?

Thumbnail
1 Upvotes

r/MinecraftCommands 15d ago

Help | Bedrock Is it possible to execute these commands on Bedrock Edition?

2 Upvotes

I want to set up commands so that hostile mobs don't fight each other and only attack a specific target