For questions about the commands you can enter into chat with "/", run in commandblocks or run through functions (either through data packs or add-ons). Questions about minecraft and its commands in general are better suited for gaming.stackexchange.com, unless they relate strongly to programming.
Minecraft is a voxel-based sandbox game created by the Swedish company Mojang. It is the best selling game of all time. In September 2014 Mojang was bought by Microsoft.
Minecraft is currently available in three main Editions, both of which are actively maintained and updated with new features regularly:
- Java Edition - the original game, playable on Windows, MacOS and Linux. As the name suggests, it is written in Java.
- Bedrock Edition - Also known as "Windows 10 Edition", "Minecraft PE" (Pocket Edition) and a few other names, is the unified version that most current platforms can play on together: Windows 10/11, Android, iOS, various XBox and Playstation platforms, as well as the Nintendo Switch. It is coded in C++.
- Education Edition - based on the Bedrock Edition, Education Edition is the special edition of Minecraft that has features for the use in the classroom. Because it's built on top of the Bedrock Edition, EE tends to be behind on updates.
There are a handful of legacy editions of the game that are not maintained anymore, like the Nintendo 3DS or the PSVita Editions.
The two main editions, due to being coded differently and in different languages, work fairly differently under the hood. As such it is important that questions asked about Minecraft commands state which edition and version, as the available commands and methods may vary wildly.
Minecraft has its own scripting language that grew and evolved through the years of its existence from simple administrative commands to an extensive and powerful tool set for the creation of custom content.
These commands can be issued in-game by prefacing a chat message with a /
, in the console of a dedicated Minecraft server, putting them into a commandblock inside the world that is powered by redstone or even through special text files (function files) in data packs (Java) / add-ons (Bedrock).
What to include in your question
Include details about the issue you encounter and what you've tried so far to solve the issue in your question. E.g., commands, function files, data pack / add-on folder structure, command block settings, error messages, screenshots showing the issue, and anything that can help potential answerers understand your question better.
If you want to ask for help with a command or function that does not work as you expected, please make sure to provide a "minimal reproducible example". For more information, please consult the Commands, Command block and Function articles of the Minecraft wiki.
Official website of the game: minecraft.net
Notice: Minecraft questions need a strong relation to programming (through the use of commands) to be asked on stackoverflow. Otherwise they are better suited for gaming.stackexchange.com.