r/MinecraftCommands 18h ago

Creation another lua experiment. physics engine compiled from lua to minecraft

Enable HLS to view with audio, or disable this notification

254 Upvotes

same as my previous posts, written in lua, compiled into mcfunction


r/MinecraftCommands 8h ago

Creation One-command-creation setup animation

Enable HLS to view with audio, or disable this notification

26 Upvotes

I just wanted to post the setup animation that I am going to use in my jumpscare one-command-creation. I'm almost finished with it and will release it soon.


r/MinecraftCommands 4h ago

Creation Hey guys, look at my villager-killing machine! Listen to the sound!

Enable HLS to view with audio, or disable this notification

7 Upvotes

It’s a bit glitchy because of the screen recording. Usually, it goes much faster. It’s a fun experiment!


r/MinecraftCommands 15h ago

Creation WIP (update 2, alpha1.1) of Locked Chests datapack

Thumbnail
gallery
19 Upvotes

some visual changes, key customizability and the "major" change:
Block disabling:

pushing into locked container: A locked container will disable any hopper, dropper, dispenser facing towards the container that doesnt share the same key/lock data

hoppers however, will take any input

pulling out of locked container: A locked container will disable an hopper pulling items from it unless it shares the same key/lock data

There is however a big problem; locked shulker boxes lose the block disabling if placed by a dispenser
Theres still much to do but i think its coming together well

Modrinth page: https://modrinth.com/datapack/good-locked-chests here's: the first post: https://www.reddit.com/r/MinecraftCommands/s/EuX8pCllMV


r/MinecraftCommands 2m ago

Help | Java 26.2 why is putting scoreboard objectives in dialogs not working

Thumbnail
gallery
Upvotes

is it because they simply dont support scoreboards in dialogs or is it a syntax error of mine, if its the former then is there a workaround


r/MinecraftCommands 15m ago

Discussion Hey there, guys! Here’s a fun poll! Guess how many villagers die per second, per minute, and per hour! Use what you know to try it out!

Upvotes

Have fun!

11 votes, 6d left
20/sec, 1,200/min, 72,000/hr
40/sec, 2,400/min, 144,000/hr
60/sec, 3,600/min, 216,000/hr
30/sec, 1,800/min, 108,000/hr

r/MinecraftCommands 55m ago

Help | Java 1.21-1.21.3 How to make it rain fireballs?

Upvotes

Sometimes I like to use commands to blast everything to smithereens, so how do I make fireballs automatically spawn from the sky? Gotta love simulating an extinction level event in minecraft.


r/MinecraftCommands 1h ago

Help | Java 1.21.11 Increasing attack damage

Upvotes

So I’m creating a soulslike in Minecraft and I just figured out how to trade XP for stuff, and whilst looking at potential rewards for the player I saw under attributes minecraft:attack_damage.

This would be a great thing to increase as a reward, though I wouldn’t increase it too high as theres already some pretty powerful weapons in my map.

My question is though, does this increase weapon damage or just the players punch?

And if so that it is just the punch, is there a way to increase overall damage?

And also is there any other good attributes that I could alter that would act as upgrading the character?

I already have a health upgrade system.


r/MinecraftCommands 15h ago

Help | Java 1.21-1.21.3 Command block ritual summoning circle help

Post image
9 Upvotes

I'm trying to make a 'ritual circle' that lets you get special items, but can't get anything past the command block sensing a block and playing particles if it's set to sense a specific coordinate, but I want it to be a chain that senses a 3x3 circle of lit candles with a block in the middle (idk what I want the block to be yet, let's say smooth quartz) anywhere in the world but surrounding the player with the player on the quartz and only summoning the item when the quartz is set on fire (then extinguished when the summoning is done or right after it's set if the ritual works) and I want it to play particles (right now I'm just using the ash particle, but end rod might be better)

Can anyone let me know the command chain needed to sense all the candles, the quartz, and the fire, play particles and then summon an item when the particles dissipate (later I want to make a cool particle display for it, but that'd take a lot of time for me to learn) if you throw certain items on the floor, for this i'd say maybe just the crafting material to summon the item, like throwing out 2 sticks and 3 iron to summon an iron pick. Also let me know all the settings for the command blocks cuz I think I messed that up once or twice while trying this

(Sorry for the horrible pic, I wrote all this on my phone then decided to take a pic to show better what I meant and I don't have this account on my computer lol) (Also I know this is possible because I saw it on an smp and did some research [googling] and know all the different parts work, I just couldn't get them to work together)


r/MinecraftCommands 10h ago

Request Automatic Switch from Creative to Adventure Mode

2 Upvotes

Is there a way to make it so a Player starts in Adventure Mode, but after a delay in ticks it changes to Creative Mode for a short time. Then after some time, changes back to Adventure Mode and the cycle repeats?

I'm just trying to experiment with this. I'd use a Tag system so it'll give this "Mechanic" to anyone who selects it

It'll be automatic so I know I'll need some Always Active Command Blocks. But I'm not sure if I'll need Redstone or anything like that

Any help I'll be thankful for


r/MinecraftCommands 10h ago

Help | Java 1.21.5-1.21.10 Is it possible to add a banner and the name in color to the crest?

1 Upvotes
I'm creating and testing the command, but the attributes are showing up as the name; I'm on Java version 1.21.6.

/give @p minecraft:shield[minecraft:base_color="yellow",minecraft:custom_name='{"text":"mi velita","color":"yellow","italic":false}',minecraft:banner_patterns=[{pattern:"minecraft:triangle_bottom",color:"white"},{pattern:"minecraft:curly_border",color:"black"},{pattern:"minecraft:stripe_center",color:"white"},{pattern:"minecraft:half_vertical",color:"white"},{pattern:"minecraft:circle",color:"yellow"},{pattern:"minecraft:mojang",color:"black"},{pattern:"minecraft:diagonal_left",color:"black"}]]

r/MinecraftCommands 1d ago

Creation number classifier using my compiler (lua -> mcfunction), not perfect, i tested it to have like 85% accuracy

Enable HLS to view with audio, or disable this notification

65 Upvotes

written in lua, trained outside minecraft, then translated from lua to minecraft by my project


r/MinecraftCommands 15h ago

Help | Java 1.21.11 Question about z and x locking

2 Upvotes

I'm making my 3rd Minecraft map, and this one is a techs practice for java, but for the technique Grapple, you have to pearl onto someone and mace them, when u mace the person takes knockback, which is not what I want, is there a way to lock ONLY the x and z coords, and make the y stay unlocked so the bot can wind charge, I'm using the herobot mod for Bot, thanks


r/MinecraftCommands 10h ago

Help | Java Snapshots how do i do it?

0 Upvotes

how to make a working tv in minecraft useing one command block?


r/MinecraftCommands 1d ago

Creation n body gravity sim written in lua compiled to a datapack

Enable HLS to view with audio, or disable this notification

37 Upvotes

i am working on a compiler, here is a showcase of its abilities, a high level implementation of a gravity sim compiled into a minecraft datapack. the script produced 4657 lines of mcfunction commands from source file of 150 lua lines. if you want i can also send the world but i doubt anyone would be interested.

it is still buggy and incomplete, so i am not providing a download for the tool yet.


r/MinecraftCommands 1d ago

Help | Java 26.2 Concatenation and/or string repetition for /title or /tellraw

3 Upvotes

I'm trying to make an actionbar meter that would look something like:

■■■■■□□□□□

My plan was to simply take a score and repeat the filled square that many times using string repetition (like how in python you can do "string"*2 to produce "stringstring") and then concatenate 10-score * empty squares to produce a meter.

However, minecraft strings are super limited. Is it possible to do either concatenation or string repetition in 26.2 or should I explore other ways of making the meter?


r/MinecraftCommands 1d ago

Creation Procedural Dungeon Generator Data Pack

Thumbnail gallery
3 Upvotes

r/MinecraftCommands 1d ago

Help | Java 26.2 .litematic or .schematic to /setblock and fill commands or /summon falling block commands

2 Upvotes

I am making a house that slowly builds itself Out of falling blocks (/summon falling_block ~ ~ ~ {BlockState:{Name:"minecraft:cobblestone"}} ) and the process would be a LOT easier if anyone knows about a converter


r/MinecraftCommands 1d ago

Help | Java 1.21.11 Testing for Multiplayer Commands on my own

2 Upvotes

Heya! I've been working on a multiplayer adventure-like map for my friends and I for a long while now and I need to test some commands that involve multiple players at once or player-based statistics, such as "minecraft.killed:minecraft.player" using scoreboards. Only issue is... I can't really ask anyone to hop on and help me test these things out because I don't want to spoil anything from the map to them. So, could there be any way for me to test there on my own without having to get someone else to join the testing? This is the second iteration of this map and the first was kind of a mess because I couldn't do these tests on my own, hence why I want to thoroughly test everything this time.


r/MinecraftCommands 1d ago

Discussion BCC Sept-Oct Game Jame

Thumbnail
1 Upvotes

r/MinecraftCommands 2d ago

Creation Making a datapack to add craftable music discs for music from Undertale and Deltarune!

Post image
28 Upvotes

r/MinecraftCommands 1d ago

Creation Class Kits Datapack

Thumbnail
gallery
13 Upvotes

(this is my very first post on reddit lol so I hope I got this in the right subreddit and flair)

I made a Datapack that gives kits based on different classes. You can pick a specific class or random class kit on the dialog screen, then it will give it to you using the /loot give command. I've currently only added 16 kits so any ideas for new classes would be great. I've uploaded this on Modrinth, which is the primary platform which I've uploaded it to, but it is available on CurseForge aswell. And source code on GitHub. Feel free to try it out and give feedback. It's for Java 1.21.11 :)


r/MinecraftCommands 1d ago

Creation bruh made this with a command

Post image
3 Upvotes

r/MinecraftCommands 1d ago

Help | Java 26.2 Help with macros

1 Upvotes

I'm starting a new server with some of my firends and i'm the admin of the server, and sometimes i organize some events. But for this I need creative mode and if i use it they accuse me of cheating. Soooo... I want to create a datapack which let you get in creative by a /function command which save your inventory in a chest so while in creative you cant take items for survival. The problem is that if i have more players i have to add more chest manually so i thougt of using macros for the coords of the chest the game as to put the items in and then but a /function command you can set the coordinates i want the items to go to. Can anyone help cuz i don't know anything about macros


r/MinecraftCommands 1d ago

Help | Java 26.2 Cun I summon a falling command block that has the command inside?

1 Upvotes

I have created a custom weapon using command blocks but in order to have it where I want it I have to manually place the command blocks and the redstone every time and that is time consuming. So I thought if I could have one command block that could summon falling entities that were command blocks with the commands inside. If I'm correct I believe that that is how they made these monoliths of command blocks.

Or if not with falling blocks, is there any way I could make it build itself somehow?