r/MinecraftCommands • u/GreggergGrad • 9m ago
Help | Bedrock How to do i make a tellraw to say the player name?
"%player% has changed the music to cat - C418" for example
r/MinecraftCommands • u/Plagiatus • Jan 14 '20
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:
Java
Version, everything else that has commands (Xbox, PE, PS4, Switch, Win10, etc) is Bedrock
).Posting about your own creations is very much encouraged, but please remember the 10:1 guidelines of reddit.
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 • u/Plagiatus • Mar 25 '24
With their introduction in 24w09a, item components promise to revolutionize how we work with items. However, in this process they'll break almost every existing item related command, loot table, predicate etc. We're expecting a bunch of posts pouring in with confusion about these changes. And because nobody likes to repeat themselves over and over, we set up automod to do the repeating for us, just like we did for the 1.19.50 bedrock execute changes.
Putting
!itemcomponents
somewhere into your comment will summon automod with some helpful info on these changes.
Let us know what you think about this, the comment itself, or if you have any other suggestions for how to improve the subreddit. We're happy to hear it.
r/MinecraftCommands • u/GreggergGrad • 9m ago
"%player% has changed the music to cat - C418" for example
r/MinecraftCommands • u/Mediocre_Slice_8229 • 16m ago
I'm making a map for some friends and I want it to be in adventure mode with tools to break certain blocks. Any help would be greatly appreciated
r/MinecraftCommands • u/VishnyaMalina • 24m ago
Example 1
fill 4 78 4 -4 72 -4 minecraft:air replace minecraft:stone
vs
setblock 4 72 4 air
setblock 4 72 -4 air
setblock -4 72 4 air
setblock -4 72 -4 air
setblock 4 72 4 air
setblock 4 72 -4 air
setblock -4 72 4 air
setblock -4 72 -4 air
Example 2
A 5x5x1 area of the same block, would it use less resources to fill the area, or individually set the blocks.
I'm under the ignorant assumption that fewer blocks checked require fewer resources to execute.
r/MinecraftCommands • u/Still_Cost6915 • 2h ago
I'm trying to make a weeping angel type creature where if the player is looking at him he gets slowness but idk how to do this. I Tried execute at Sadnap4 as u/s if entity Sadnap4 facing entity u/e[name=SCP-173] eyes run effect give u/e[name=SCP-173] minecraft:slowness 1 255 true but that didn't work.
r/MinecraftCommands • u/PriceTheFool • 2h ago
So I am trying to make a teleporter that teleports all players that are within the boundries defined in the build.
To give actual numbers here, the goal is to -at the press of a button- teleport all players inbetween (-4636 52 325) and (-4632 47 321) to the location (-4598 75 321)
Google is claiming this is possible, but the command I've been using didn't work.
/tp @a -4636 52 325 -4632 47 321 -4598 75 325
r/MinecraftCommands • u/someonethatismichael • 2h ago
How can I increase a single player’s damage taken like for e.g. I want the player to take 30% more damage from all kinds of damage (as a stat debuff)
r/MinecraftCommands • u/IdkWhatTFIShouldPut • 3h ago
I'm trying to make a data pack that allows me to intantly pick up xp orbs. Normally it takes such a long time to absorb multiple orbs, especially from farms. My initial datapck includes a scoreboard which tracks the xp count, adds it to the player, and then kills the xp orb. It worked fine for a while but then I noticed that it skips mending, possibly since it adds directly to the player, not absorbed. Anyways, I did a quick google search which said that it has been hardcoded that only 10 xp orbs are absorbed per second or 1 orb per 2 ticks. Is there a way to make the absorption rate faster? A command, syntax, attribute or what ever it's called, forgive my limited vocabulary, I'm new to making datapacks and commands
r/MinecraftCommands • u/Independent-Top4935 • 8h ago
So me and my friend have a Minecraft server but we want to set a command block to teleport everyone to spawn every 2 day-night cycles.But I'm not really experienced in Minecraft commands so can someone tell me how to set it? Thank you.
r/MinecraftCommands • u/Time-North-9708 • 16h ago
I want to make a role on a map and the role is a ghoust and I want the ghost to be translucent like kinda there kinda not can someone help me
r/MinecraftCommands • u/Snciker-Nee-Yo • 10h ago
Im trying to place a marker entity at every creaking heart. I wrote a python script that generated me a txt document with a bunch of if block statements, but that function was already 3000 lines and its radius wasn't even as big as I was wanting. Is there a better way?
If there is a way to detect if a player is near a creaking heart (maybe with /fill) that would work too
r/MinecraftCommands • u/incoreywetrust • 1d ago
i added 2 cutscenes to introduce the new area when you unlock it, criticism is welcomed, i’m still new with command blocks so any tips help!
r/MinecraftCommands • u/Scared_Fruit_8452 • 2h ago
Hi r/MinecraftCommands Community, i am wondering on what AI chatbots are the best to use because of Quality, response time and security but also with this what are the best seeds for biomes, Structures and more online website tools but also softwares, for example: Minecraft Tools👇 https://minecraft.tools/en/ and many more
r/MinecraftCommands • u/LucaTheSammich • 9h ago
Me and a few of my friends are making a PVP thing in a superflat, we came up with the idea of an alchemist class that shoots potions from a crossbow, problem is we don't know if its even possible and, if it is possible, we don't know how to even do it.
r/MinecraftCommands • u/Wild-Breadfruit8345 • 9h ago
I want to make a nether wart that gives you weakness effect and cannot be removed from your inventory. And you need to kill another player to pass the item to their inventory (sorry for bad english)
r/MinecraftCommands • u/Impressive-Bear4878 • 9h ago
As -_-PH0ENIX-_- explained in the post below a whole two years ago, my jigsaw blocks seem to work only sometimes.
What Phoenix was going through perfectly explains my exact situation. I can't say it better myself.
However, I do have a 24 minute video... https://youtube.com/watch?v=vnoJXH1RD-4&si=1tUcKzY4iJpIKxRj
r/MinecraftCommands • u/babyxbluuue • 15h ago
i’m trying to add sharks using commands, does anyone know a way i could give a player certain potion effects to deal damage when they are 1-2 blocks near a dolphin named “Shark” i’m not too sure on how to detect players next to entities
r/MinecraftCommands • u/Time-North-9708 • 16h ago
U want to make a role in a map where there is a ghoust role this ghost can walk through walls and floors and stuff can someone tell me how to do it?
r/MinecraftCommands • u/Careless-Dig2886 • 16h ago
Let's say I'm trying to make an upgradable sword, that can go from wood to iron to gold to diamond, when player does some action.
The action check is done with the "execute if" and that part works. But now I need to change the id of an item in unknown player inventory slot to another one. I can't use "/clear"+"/give", because i need to keep the data, that the player, has put in it himself, like enchantments.
"/data" is not working with players and "/item" needs a distinct slot to work. "weapon" slot in "/item" is not going to cut it either.
P.S. I have already ensured that the player can't get rid of said item, so it will always be in his inventory.
r/MinecraftCommands • u/InformalObjective930 • 10h ago
I'm working on a way to track entities but the only way I've found to adjust the camera is the tp facing but this always leads to stutters. It's there another way to adjust the camera? Anyway I see it, if I want to track an entity this command will always cause it to stutter just because the command can't update fast enough to make it smooth. I've tried creating a form of interpolation with a armor stand that would act as a go between. The armor stand would have a slight decrease in motion making any movement smooth, but to balance tracking a mob and smoothness always resulted in stutters. That's not to mention that player movement causes it as well. Maybe there's a way to slowly migrate the players camera to the mob with any input from the player overriding the movement. Idk, thanks for reading and lmk if you got any ideas.
r/MinecraftCommands • u/Avelina9X • 11h ago
I'm planning on overriding some structure sets such that their placements are different from default, however there does not seem to be a way to prevent structures from spawning based on absolute location.
I would like to prevent certain structures from spawning within 10k of spawn, and the only way I can think to really do that is to use concentric rings to create dummy structures of like just a single air block high up in the sky, and then use exclusion to make sure they cannot be within 16 chunks of these air blocks.
Problem is there can be no more than 4096 structures in concentric rings, and the distance between each air must be no more than 16 chunks as that's the limit of the exclusion parameter, so it feels like I'm going to have to stack multiple of these concentric ring structure sets to make sure there aren't any gaps, make a tag which encomposes all these dummy structure sets, and set the structure set I want to spawn very far away to exclude this tag.
But... there HAS to be a better way. This cannot be the best way to do things, and I am open to using forge or fabric mods that add functionality to structure sets which would allow this to happen.
Ive also tagged this as 1.21.5, but Im open to any 1.19, 1.20 or 1.21 solutions.
r/MinecraftCommands • u/UnknownTankist292 • 14h ago
Anyone have idea how to solve problem. There are long command chains containing practically the same commands like i had to do now:
/execute if scores #dummy variable matches (number)
-> chain independent from variable
like setting other #dummy variables or titles for u/a -> chain dependent from variable that currently has variable
number of the same chain command blocks
For 20 different variable
states that means 20 rows of the same thing. And it's any way to optimize it or maybe way to loop chain dependent from variable
by variable
times?
r/MinecraftCommands • u/kaitosanyt • 19h ago
I wanna recreate u/Seawhite 's mod " dungeons combat
r/MinecraftCommands • u/Educational_Ratio_53 • 17h ago
I looked in the 1.21.5 jar like any data pack/resource pack maker does & the world gen folder has been split into like 10 sub folders & IDK what they do I'd assume the preset generator folder modifies the in game flat world presets or makes custom ones at will? What about the biome folder? If I used only oceans in that folder would it create my ocean only world?
r/MinecraftCommands • u/tinytubist • 11h ago
I found a comment from a few years ago that shared this command for making mobs drag glowstone around to help light up caves to make farms more efficient: /execute u@e [type=zombie] ~ ~ ~ fill ~ ~ ~ ~ ~ ~ glowstone
It doesn't work anymore, so I assume the syntax is outdated, but I don't understand enough about Minecraft commands to make it work for my 1.20.1 world. Is anyone able to lend a hand?
r/MinecraftCommands • u/dragon3025 • 12h ago
I can summon a mob and then use /tp
or /rotate
to get it to face the same direction as the mob that summoned it, but the problem with that is that the mob is summoned facing south, then takes about 2-3 seconds to turn the direction I tell it to. It's being rotated in the same tick that it's summoned.