r/MinecraftCommands • • 1h ago

Help | Java 1.21-1.21.3 Issue With Datapacks Using "minecraft" Namespace in 1.21.1

0 Upvotes

Basically what it says in the title. I'm trying to make a datapack for a 1.21.1 NeoForge modpack and was having issues with Minecraft not recognizing it when I loaded into the game (i.e. it didn't show up when I did /datapack list). Because of that, I created an empty datapack and attempted to load it into a vanilla 1.21.1 world. So far so good. Then I added a custom namespace and recipe (glass bottle crafted with panes instead of blocks). Still loads, and the recipe works. I rename the custom namespace to "minecraft". It stops working.

The filename *should be* correct ("glass_bottle.json") as I got the name of the recipe by using /recipe. Nowhere on the internet has been helpful. I've tried comparing with datapacks I've found on the internet, but they only confirm the feeling that something very strange is happening. I've double, nay triple checked the folder structure, and I know it isn't a problem with the "pack.mcmeta" file because I haven't changed it since it worked.

The filepath of the recipe is ~mydatapack/data/minecraft/recipe/glass_bottle.json
The only other file anywhere in the mydatapack folder is the "pack.mcmeta" file in the root directory.

Any directions to go or ideas would be greatly appreciated as I've been up for the past two and a half hours trying to solve this, and I'm going to go to bed now since it's 1:30AM where I am.


r/MinecraftCommands • • 11h ago

Discussion maybe it's just me, but i think we need a command that places an block based on an item stack

0 Upvotes

To elaborate, I'm working on a datapack that allows the creation of a so-called "farmer block", the farmer block being able to place and break blocks of which are plantables.

I strive to allow support for mods out of the box, and in general like the datapack to be able to dynamically accept new types of items/blocks when/if they come out.

So, what I'd suggest, if I had the ability to, is a subset in the /place command, that allows for placing of an item as if a player had placed it. It'd also just make sense, as there seems to be a new feature with the dispenser relating to this.


r/MinecraftCommands • • 16h ago

Creation Iron man Mark II

2 Upvotes

its been a while since I posted, but finally I could finish my mark II armor in Minecraft from Iron man thanks to the new freezing effect


r/MinecraftCommands • • 7h ago

Help | Bedrock Is there a way to activate a command after a certain amount of mobs in a certain area have been killed?

Thumbnail
gallery
4 Upvotes

Again, for my ULTRAKILL map. I could of course leave this out, but I REALLY want to include how ULTRAKILL has rooms that spawn enemies and then lock the doors, and you have to kill all the enemies in the room to unlock the door. It's cool, makes sure players actually engage in combat, and also prevents numerous bugs, like enemies walking through doors when they shouldn't.

Just a simple command to load a certain structure and undo it by placing the previous structure will do. I've been using tripwire hooks to open doors so far, so I'll delete those and also change the way the door looks so show that it's locked. I'm just gonna place red concrete where lights normally are on the door, to simulate ULTRAKILL's skull lock that shows up when this event happens. (Various examples of this have been provided, including the actual skull lock texture itself.)

I was thinking of using scoreboards, but idk how to use those, and I'm not even sure if you CAN on Bedrock edition.

But if that's what I have to do, please provide instructions so I actually know what I'm doing.


r/MinecraftCommands • • 9h ago

Help | Bedrock Is there any good bedrock command like tutorial playlists?

2 Upvotes

I'm new to this thing, but I'm really interested in it. I really want to know how it works. I understand some things on their own but I get confused when /execute enters the equation. It ruins everything for me and it makes 0 sense to me

And it turns out I know way less then I thought I did

I would like to find a whole guide to command blocks from scratch or a complete guide to /execute is even better.

I mean right now I just used a command I found on Tiktok but I didn't understand how it worked

I fiddled around a bit with it and I understood only few parts of it

There were still so many things of it I didn't understand and I'm amazed how people can just make commands however they want on the spot

😭✌️

I want to be good at this too


r/MinecraftCommands • • 13h ago

Help | Bedrock /clone - halp please 🫶

3 Upvotes

Trying to clone a snowy village that is 4000 blocks away and keep getting “cannot access blocks outside of world”. I’ve tried every trick I saw in my research: 1) tried on the command menu and 2) using a command block, 3) tried joining as player two and placed one at the clone coordinates and destination coordinates, 4) I also tried making the snowy village a /tickingarea. No luck, same message each time. 😭 I’ve been playing on this world for years and I’ve been updating it so technically it’s a copy of the original but has anyone successfully done this?

My goal is to bring cool structures and pieces of faraway biomes to my main building area. Yesterday I discovered the clone command and figured out how to use it on small things nearby for practice. Before that I was just locating biomes and structures, changing to survival to mine/identify blocks in the area, taking a mental snapshot, and then rebuilding them manually around my home base.