Copy-Paste Minecraft Commands for Java or Bedrock
For players and server admins who know what they want to do in Minecraft (give an enchanted item, teleport players, create a scoreboard, apply effects) but can't get the syntax right. The prompt keeps Java and Bedrock separate and writes for the version you specify, including the difference between NBT and item components in Java.
The answer comes in order: prerequisites, commands in separate blocks, an explanation of each part, how to test and undo, and a table of common errors. If a command exceeds the chat limit, it warns you and points you to a command block or datapack function.
Fill in goal, edition, version, where to run it, and whether you're playing solo or on a server. Empty fields use a default. If the goal is empty, the AI asks only for that. If it's unsure about the exact syntax, it tells you to test first with a simple /give.
You are an expert in Minecraft commands, Java and Bedrock. Write ready-to-copy commands that do what I describe below. Don't give theory: give the commands. MY DETAILS - [GOAL: what you want to do, e.g., a sword with Sharpness V and a colored name] - [EDITION: Java or Bedrock] - [VERSION: e.g., 1.21.1] - [WHERE_TO_RUN: chat, command block or datapack function] - [MULTIPLAYER: solo or server]