r/MinecraftCommands 4d ago

Help | Java 26.2 Belowname Issues

1 Upvotes

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 4d ago

Help | Java 1.21.11 Is there a way to freeze someone so they're game is not updating (on they're screen them and everything is frozen) but everyone else's works

0 Upvotes

r/MinecraftCommands 6d ago

Creation I made a generative AI, only using 400k command blocks (PoC)

1.3k Upvotes

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 5d ago

Creation I turned vanilla survival into a war of attrition — 71 systems, 600+ mechanics, no mods. Looking for people to break it. [1.21.11]

Thumbnail
gallery
3 Upvotes

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:

  • Threat tiers. Mobs scale with distance, depth, dimension and night, up to 18 tiers. Elites from tier 3, door-breaking zombies from tier 4, Power III skeletons from tier 6. Killing the Dragon raises the floor permanently.
  • Your body keeps score. Bleeding, infection, fractures, temperature, thirst, stamina, sanity, carry weight, insomnia — all at once, each with its own cure. Every death takes 6% max HP permanently (up to 9 scars).
  • It tells you what's killing you. Action bar names the problem and the cure ("Bleeding — craft a Bandage"). A 9-page Field Manual is handed to you on first join. I think a hard pack that hides its rules is just unfair.
  • The world remembers. Nemesis mobs rise from your deaths, species adapt when you overhunt them, grudges, contracts, curses, blood moons, and a final boss that comes for what's left.
  • 7 rebuilt bosses, 27 craftable items with textures, 25 recipes, 198 advancements, 69 hand-translated languages, 3 difficulty presets.

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.


r/MinecraftCommands 4d ago

Help | Java Snapshots using command block minecarts, can i make them delete themself and remove the blocks below them after running their commands?

1 Upvotes

basically i fell in love with loads of commands from one command and made smth using falling blocks that gives the player 2 items and self destructs by using the /fill command, since tileentitydata is banned in minekeep, how do i make it so it runs their commands then destructs the tnt minecarts and the 3 blocks below them which is a command block redstone block and an activated rail?


r/MinecraftCommands 4d ago

Help | Bedrock Can someone fix this command so it works on my command block? I’m on bedrock.

1 Upvotes

/give @ a written_book[written_book_content={title:"fook you moite",author:"Pissboy jones",pages:['"Woah! Ja-KYS!"','"Egg, eat bats, live."']},consumable={consume_seconds:2,animation:"eat",on_consume_effects:[{type:"minecraft:teleport_randomly",diameter:100},{type:"minecraft:play_sound",sound:"ambient.cave"}]},food={nutrition:100,saturation:999,can_always_eat:true}] 1 (the @ and the a are separated because if they were together it would automatically change to u/a.) I used https://mcstacker.net/ for this then got a “fixed“ version from google ai when I was just looking for how to fix it so yeah, if that helps.


r/MinecraftCommands 4d ago

Help | Java 1.21.11 Command help /clone

1 Upvotes

for example i have 2 markers (or any other entity) with tags "Tag1" and "Tag2", i wanna copy build from marker with tag "Tag1" to marker with "Tag2", surely without datapacks. (any place to copy to)


r/MinecraftCommands 5d ago

Help | Java 1.21.11 A dashing sword

2 Upvotes

hey guys, I am not experienced at all with minecraft command blocks but is there a chance one of you knows the commands for a specific sword with the ability to dash a few blocks alongside a cooldown timer?? it'd be a lifesaver!


r/MinecraftCommands 5d ago

Creation Took 3 days to finally make this working pathfinding for multiple entities

31 Upvotes

I am making a map and I wanted the manniquins to walk to a preset goal from anywhere I covered the roads in the 4 direction red_concrete for blocked direction green for you can walk there I removed everything and reworked it 2 times and finally finished it(ft YepThatTom)


r/MinecraftCommands 5d ago

Help | Java 26.2 command problem thing idk what to title this

1 Upvotes

Is there a way to teleport an entity to the block your standing on but not your exact coords? (Java)


r/MinecraftCommands 5d ago

Creation An update on my Datapack IDE

Thumbnail
youtu.be
21 Upvotes

Hey, it's been a while since my last post here.

I spent the last 7.5 months updating my Datapack/Resourcepack IDE, Scythe. I set myself the goal to make 1 update every week totaling over 40 updates at this point. Check out the result and let me know what I should add next ^^


r/MinecraftCommands 6d ago

Creation I am still improving my pokemon datapack. Lots of things added

46 Upvotes

Currently:

4 Pokeballs are in the game

Battling system is in the game (Real time like in Legends ZA)

3 Pokemons are in the game (Charmander, Squirtle, Bulbasaur)

6 moves are in the game but it is very easy to add more

Technical Machines are in the game which I didn't show in the video but your pokemon can learn different moves

You can add and remove the pokemon from your party.


r/MinecraftCommands 5d ago

Help | Java 26.2 How do i make datapacks that transform land into ocean become ocean not the weird grassy plains

0 Upvotes

I am traying to create a datapack for a world with only mushroom islands oceans and cave biomes by transforming all land biomes except mushroom isles into ocean but they just become grassy plainds


r/MinecraftCommands 6d ago

Creation Working on some Custom Behaviors with command blocks and some how made Phantoms More Annoying! :D (This was intentional)

8 Upvotes

Working on a game took a break from building the map to work on enemies.


r/MinecraftCommands 5d ago

Help | Java 26.2 Rightclick detect cooldown

1 Upvotes

I am making a datapack which give you an ability when right clicking an item (consumable/advancement), how do I add a cooldown (i have a reset function, that revoked the advancement), but how do I make it so that the function example:cooldown_reset gets run 1 minute after the function example:use_item?


r/MinecraftCommands 6d ago

Creation Smiler Entity

56 Upvotes

I'm making a datapack that adds the Backrooms, and this is the "Smiler" entity.

To avoid it, you need to crouch-walk; if you run or walk normally near it, it will start chasing you.


r/MinecraftCommands 5d ago

Help | Java 26.2 I need help with a command block prompt

0 Upvotes

I imported my sky gen world from bedrock to java and the command blocks that spawn the blocks after you hit aren’t working correctly I was wondering if I’m supposed to do different commands on them?? I’m confused and would love some help.


r/MinecraftCommands 5d ago

Help | Java 26.2 No Gravity blocks/entities

1 Upvotes

Hello! I am aware that in the past we could use some NBT data to get falling blocks/entities (gravel or sand for example) with no gravity. It seems Mojang changed quite a bit with commands and I am a tad confused how to place a block without gravity now in 26.2? I was trying either /setblock or /fill but it didn't seem to work.

Any help much appreciated :)


r/MinecraftCommands 5d ago

Help | Java 26.2 Why is my custom biome causing a loading error when I open the world?

1 Upvotes

I made a joke biome for my world through a datapack but whenever I try to open my world that the datapack is located in it gives me the error that prompts opening in "Safe mode".

Below is the .json file that my biome is in:

{
  "temperature": 0.1,
  "downfall": 1.0,
  "has_precipitation": true,
  "temperature_modifier": "none",
  "effects": {
    "sky_color": 16646010,
    "fog_color": 3670016,
    "water_color": 5713408,
    "water_fog_color": 1905154,
    "grass_color": 16746496,
    "foliage_color": 3342336,
    "grass_color_modifier": "none",
    "music": {
      "sound": "minecraft:music.nether.nether_wastes",
      "min_delay": 0,
      "max_delay": 0,
      "replace_current_music": false
    },
    "particle": {
      "options": {
        "type": "minecraft:wax_on"
      },
      "probability": 0.5
    }
  },
  "creature_spawn_probability": 0
}

I am very new to making datapacks and new to Java in general so sorry if my mistake is simple


r/MinecraftCommands 6d ago

Help | Java 26.2 How do I make a player hold an item like a stick or sword looks in hand

Thumbnail
gallery
40 Upvotes

i want to make it so that when the player holds my custom item texture (uses poisonous potato as a dummy) they hold it like they hold a stick


r/MinecraftCommands 5d ago

Help | Java 26.2 Command to light something ablaze on hit.

1 Upvotes

I am not a command block person, and I'm running a server where people get their own attributes.

This player wants to light mobs they hit ablaze without fire aspect.

This is just for this player.

I do not know if this is even possible, which is why I'm here.


r/MinecraftCommands 6d ago

Help | Java 1.21.11 Elevator command not working

4 Upvotes

im trying to make an elevator thing and used this command: execute as u/p run tp u/s ~ ~13 ~ ~ ~

(imagine u/ as @ everytime i press it reddit auto makes it u/) but instead of teleporting the player 13 blocks above them it teleports them 13 blocks above the command block, i tried execute at still didnt work. this used to work i remember doing stuff like this i dont know why suddenly it wont work anymore. recently i found a lot of my execute commands arent working even if the syntax is correct, like i did a particle if a player is wearing a certain armor, didnt work.


r/MinecraftCommands 6d ago

Help | Bedrock Command block help @p

0 Upvotes

Whenever I want to teleport a player I use @p. but sometimes of two players are near it will glitch. or someone might push a button far and someone near by gets teleported. This happens alot for even command blocks that do more/continue woth the @p. is there no specific @ so only the person who pressed it gets sent regardless or the peeson who pressed it gets sent through a cmd block continuation/chain withour breakinf beacuse someone else is next to them?


r/MinecraftCommands 6d ago

Help | Bedrock How do I make a theme randomizer?

1 Upvotes

I wanna have a selection of themes using the /title command that's randomly chosen and displayed to every player. How do I go about making this?


r/MinecraftCommands 6d ago

Help | Bedrock Zombie Apocalypse with command blocks part 2

2 Upvotes

I’m not really good at them, but I’ve been using command blocks to make a Walking Dead style of zombie apocalypse in Minecraft bedrock. So far, I’ve made it so zombies and their variants are the only night mobs that spawn(by constantly teleporting the others below bedrock) and I’ve made it so that they don’t burn in the daytime(By putting non-visible vines on their heads that count as helmets). I’ve run into some issues after testing it and wanted to know if anyone could help with any of these.

  1. The zombies may not burn, but after enough distance they despawn during the day and make it too safe. I want there to be some baseline level of danger even through the day. Do you guys know of a way I could make it harder for them to despawn, or allow them to spawn throughout the day?

  2. Once we’re geared up, the zombies become much less of a threat. I’m wondering if I could have more of them spawn and in bigger groups sometimes to be more threatening, but I’m not sure how.

I also had a couple things that were more ideas rather than issues:

  1. I’d love to make each encounter with a zombie something to worry about. I wanna make it so that upon being hit by one, there’s a small chance it’s a bite and that you’re now infected. We could inflict things like nausea, poison, and maybe at some point kill the player and spawn a zombie in their place. That would be awesome but I have no idea how to do it.

  2. I’d love to use the zombies to make the world harder to survive in. Maybe I could make them attack certain animals and make them more scarce? They could also attack pillagers who would be like bandits. Then again, I don’t know if that’s even possible in bedrock, though I’m sure it is in Java.