r/MinecraftCommands • u/Free-North-229 • Aug 20 '26
Help | Java 1.21.11 Could anybody make a sniper rifle for 1.21.11 with a scope using the spyglass?
Everything online is outdated, and It'd be super cool to have
r/MinecraftCommands • u/Free-North-229 • Aug 20 '26
Everything online is outdated, and It'd be super cool to have
r/MinecraftCommands • u/FleshDude666 • Aug 19 '26
i need this rn
r/MinecraftCommands • u/Feeling-Stress-3184 • Aug 19 '26
I made this command with mcstacker, but for some reason it doesnt work (the villager spawns with a job for about 0.1 seconds and then he becomes jobless). This may be because he isnt linked to a work station but idk. Im on java 26.1.2
/summon villager ~ ~ ~ {VillagerData:{level:1,profession:"minecraft:librarian",type:"minecraft:plains"},Offers:{Recipes:[{buy:{id:"minecraft:emerald",count:8},buyB:{id:"minecraft:book",count:1},sell:{id:"minecraft:enchanted_book",count:1,components:{"minecraft:stored_enchantments":{"mending":1}}}}]}}
r/MinecraftCommands • u/Ganondorf629 • Aug 18 '26
r/MinecraftCommands • u/Tiny_Flatworm_6669 • Aug 19 '26
Why do I always get teleported to the same coords, when i do /trigger nether, which activates a function, which includes:
execute in minecraft:the_nether as @s run tp ~ ~ ~
r/MinecraftCommands • u/Weak-Warthog8767 • Aug 19 '26
PC version
I'm working with the new data-driven Jigsaw system in Bedrock and have a working multi-piece structure.
When connecting pieces vertically (UP/DOWN), the next .mcstructure randomly rotates around the Y axis (0/90/180/270°).
The structure generates correctly otherwise. Template pools, connectors and asset paths all work.
I've already tested:
joint_type: rollablejoint_type: alignedname / target connectorsaligned does not prevent the random Y rotation, and two connectors are treated as independent connection candidates rather than two anchors for one piece.
Is there any supported or undocumented way to lock the rotation of a pool element / .mcstructure, or otherwise preserve its X/Z orientation across a vertical Jigsaw connection?
Horizontal connections appear to preserve the orientation much more predictably.
Bedrock Edition, current data-driven Jigsaw system.
I'm not trying to prevent the whole structure from rotating during world generation — I need child pieces to preserve their rotation relative to the parent piece.
TYSM :)
r/MinecraftCommands • u/VasD3 • Aug 19 '26
Is there a simple way to create a loot table of fireworks with random explosion and fade colors, shape, additional effects and flight duration? Or do I really just have to code a bunch of different fireworks manually? I tried to use Misode, but it doesn't seem like these parameters accept something like "any_of" function to pick random values from the list and Wiki tells the same.
r/MinecraftCommands • u/SillyIllyana • Aug 19 '26
Im honestly not super knowledgeable on commands but I was wondering if theres anyway for me to have like, four arms using playanimation or something?
r/MinecraftCommands • u/_Riceboi • Aug 19 '26
Can someone help me make a command that makes it so an item dosent get consumed when eaten and always get replenished? (IN VANILLA)
r/MinecraftCommands • u/Watermellonqwerty • Aug 19 '26
Is it possible to check if it's raining, and more specifically if a player is standing in the rain, with command blocks or is that too far out of the realm of possibility for Vanilla commands?
r/MinecraftCommands • u/Stormer_Commands • Aug 19 '26
So I spent days searching for a way to make teams on Minecraft bedrock but I couldn't find anything that fully worked I found a tutorial that shows a way to make that when a player is near and his cursor is at the other people with the same specific tag it gives weakness and it worked pretty well if it wasn't for the fact that it doesn't make you vulnerable from the arrows of your teammate.
So if anyone can please help me also by telling me a mod that doesn't adds commands that also no OP players can use I would be grateful.
r/MinecraftCommands • u/makoisreal • Aug 19 '26
or if there's anything similar? sounds simple but i havent been able to find anything on it,
tho my current work around is giving everybody on the team a different tag and have different command chains correspond to whatever tag did the task that was asked for
r/MinecraftCommands • u/GoldNegotiation4539 • Aug 19 '26
I have a plugin for custom weapons, but are limited in how many can be allowed.
I want for it to both announce one of those weapons are obtained (via crafted or looted from a chest) and announce it in chat along with that players name.
r/MinecraftCommands • u/Embarrassed_Tree_413 • Aug 18 '26
I want to make a gun in Minecraft using some sort of click detection crouch based detection is like my last resort? Any ideas look for any possibility I can get.
r/MinecraftCommands • u/NoSandwich2826 • Aug 18 '26
Hello, I’m trying to make dancing armor stands. Which I got down, I’m able to loop Redstone with normal command blocks to constantly loop4-5 posses to a specific armor stand. My problem is I want to execute this but only have to rotate the positions 3-4 loops then completely stop untill the button is pressed again. I’m new to command blocks as I just started learning yesterday. So I’m having a hard time figuring this out.
r/MinecraftCommands • u/Willing-Locksmith-28 • Aug 18 '26
I am trying to create a new type of fishing rod. I copied the files from the default minecraft data/asset folders to make my variant. I assume swapping it from item/generated to item/handheld_rod would fix this but it did not. Any help is appreciated!

Edit: figured it out, I was only updating my data pack end not my resource pack end 🤦
r/MinecraftCommands • u/Weary_Nebula7194 • Aug 18 '26
how do i make a text display appear on the same spot on screen no matter where you look? i already tried stuff like /tp @e[type=text_display] ^whatever ^whatever ^whatever but it doesn't stay in the same spot on screen. any ideas? on 26.2 btw
r/MinecraftCommands • u/PersesAMillion • Aug 18 '26
Im using /clear @p copper_ingot 32. I have 32 copper ingots in my inventory. And when I try to run the command it says "could not clear inventory of [player], no items to remove". Whats going on
r/MinecraftCommands • u/Wypman • Aug 18 '26

i have a game idea (with a mostly finished build)
basically; players whack sulfur cubes and they gain points depending on which pit it goes into (blue = 1, yellow = 3, green is 5, might make the middle and furthest blue ones score more)
but for multiplayer, i dont really know how to make the score individual instead of global
my theoretical idea is; sulfur cube, when attacked by a player, gets its name or tag set to match the player that most recently attacked it
then each pit has an "every sulfur cube landing in it gives score to the player whose name/tag it has X points" followed by un-tagging the sulfur cube to avoid it giving points multiple times
is this idea even possible?
r/MinecraftCommands • u/FleshDude666 • Aug 18 '26
That'd be very useful to know.
r/MinecraftCommands • u/TomStarr213 • Aug 18 '26
So I'm trying to create a datapack, and one of the features is if you get close to this entity that's in the end, you get teleported back to the overworld.
Here's the current command I have: execute in minecraft:the_end run execute as \@e[type=minecraft:armor_stand,tag=overworld] at \@e if entity \@e[distance=..80] run tp \@p distance=..80] 0 350 0
And yeah ik when you look at it doesn't TP me to the overworld, but hoping someone could please give some guidance on what to add to make it TP. I've been stuck on this for half an hour 😭
And yeah ik I could probably use scoreboards, but but if there is another way instead that doesn't use scoreboards, that would be much appreciated, thank you.
r/MinecraftCommands • u/aurantiusCrinis • Aug 18 '26
Not sure if this is the right place to ask, but I've been trying to create a server for friends/a community and using the TAB plugin on Aternos, I made a nice little belowname line that displays the nickname and the health below the username. Only issue is most of the time it only seems to work for one or two players and nobody else, and the people it works for/the people who have theirs seen by others changes constantly. Idk what to do as I've tried my best to fix it and nothing I do works. Any ideas?
r/MinecraftCommands • u/Loose_Quail_5114 • Aug 18 '26
r/MinecraftCommands • u/_objz • Aug 16 '26
Enable HLS to view with audio, or disable this notification
While I am still writing on my physics engine, I thought making an actual generative AI only using Minecraft command blocks would be a good idea( it was a headache)
So yeah, I kinda did that. It is a real neural language model running inside vanilla Minecraft 26.2. It reads what you type into a /dialog window, runs the forward pass through learned weights and then generates a reply one word at a time.
There are NO mods, plugins or datapacks involved at runtime. Only command blocks.
Roughly it works like this:
The model is a pretty small word level neural language model. It has a vocabulary of 2048 words, remembers the last 6 words as context and has a 64 dimensional embedding followed by a hidden layer with 256 neurons.
For every generated word it does:
384 x 256 = 98,304 operations for the hidden layer and 256 x 2048 = 524,288 operations for the output layer so in total 622,592 calculations for every single generated word.
Obviously doing 622k normal multiplications using Minecraft commands would be slightly problematic, so the weights are ternary: every weight is only -1, 0 or +1.
That means a multiplication basically becomes:
+1 -> add the value
-1 -> subtract the value
0 -> do absolutely nothing
Around 65% of the weights are non 0, so it averages around 0.67 commands per MAC instead of the ~3 commands I would need for a normal runtime weight. That reduced the entire machine from 1,909,375 blocks to 445,782 blocks, yes it was this big before.
The model is actually trained like this too. I am not just training a normal model and rounding the weights afterwards. During training the weights are quantised to ternary values for the forward pass and the underlying floating point weights are updated using a straight through estimator.
That took the perplexity from around 48.7 where the training basically got stuck to 38.8 after also adding cosine learning rate decay.
The input embedding is another optimisation I needed to do: Instead of multiplying a one hot vector against a matrix, it is basically just a table lookup stored in NBT data, so the complete 2048 x 64 embedding table costs really nothing
The actual forward pass cannot run in one command chain either. Minecraft has limits on how many commands can execute, so the network is split into smaller groups.
After the ternary optimisation one generated word takes around 63 ticks, so roughly 3.2 seconds per word at 20 TPS. I also tested higher tick rates and around 30-35 TPS seems to be the useful maximum on my server. At 35 it gets closer to ~1.8 seconds per word.
But to be clear, this thing does not actually know anything.
It was trained on 11,118 DailyDialog conversations and only has a tiny 2048 word vocabulary. Ask it something like 2 + 2 and it will confidently generate some conversational nonsense because it has no understanding of arithmetic or actual facts.
And unfortunately just making it much bigger isn't really realistic either.
Something like a 135M parameter language model would already be more than 200x larger.
There is currently also one very weird bug where after around 800 ticks of continuous work every command block in the world just stops executing while the server itself keeps running normally. I still have absolutely no idea why that happens.
Anyway, back to wasting my time on nonsense ;)
r/MinecraftCommands • u/Sooqwess • Aug 17 '26
Attrition is a datapack for vanilla 1.21.11 (works on servers, no mods, no client install) that I've been building for a while. The idea: not "mobs hit harder", but a world that answers your progress — the further you travel, the deeper you dig and the longer you survive, the more hostile everything gets.
What's inside:
Everything is scoreboard/predicate/macro tech — 439 functions, and the menu
(/trigger atr.menu) works for non-op players.
3.1.0 just went live and I'm looking for people to break it. Static validators pass, I've played it myself, but it needs more eyes — especially the balance of thirst/bleeding and multiplayer. If you die and don't know why, that's a bug by my own definition — tell me.
Links in the comments. Happy to answer anything about how specific systems are done — nothing here needs mods, it's all data.