Prompt Command
Learn how to use the /prompt command to generate Minecraft commands using natural language
Prompt Command
The /prompt
command allows you to generate Minecraft commands using natural language. This powerful feature uses AI to understand your intent and convert it into valid Minecraft commands.
Usage
Examples
Here are some examples of how to use the prompt command:
Basic Commands
/prompt give me a diamond sword
/prompt teleport me to spawn
/prompt set the time to day
Complex Commands
/prompt summon a zombie with full diamond armor and a sharpness 5 diamond sword
/prompt create a 5x5x5 cube of diamond blocks at my position
/prompt give me a stack of golden apples with the name "Healing Fruit"
Entity Manipulation
/prompt make all zombies invisible
/prompt give all players 10 levels
Long Commands
Some commands generated by Natural Commands may be too long to execute directly in Minecraft (over 256 characters). When this happens:
- The command will be stored temporarily on the server
- You'll see a yellow message indicating the command is too long
- The command will be clickable, but clicking it will execute it through the server instead of suggesting it
- The command will be executed with your permissions and context
- You will have 10 minutes to confirm the command
This behavior is automatic and ensures that complex commands with detailed NBT data or long parameter lists work correctly.
Example Long Commands
These types of commands typically result in long command strings:
- Summoning entities with complex NBT data
- Creating items with multiple enchantments and custom names
- Building structures with specific block states
- Modifying multiple entity attributes at once
Tips for Better Results
-
Be Specific: The more details you provide, the better the command will be
- Good:
/prompt give me a diamond sword with sharpness 5 and unbreaking 3
- Less Good:
/prompt give me a sword
- Good:
-
Use Natural Language: Write your request as you would say it
- Good:
/prompt make it rain for 5 minutes
- Less Good:
/prompt /weather rain 300
- Good:
-
Break Down Complex Requests: For very complex commands, try breaking them into steps
- Instead of:
/prompt create a castle with towers and a moat
- Try:
/prompt create a 20x20 stone platform
then/prompt build 4 stone towers at the corners
- Instead of:
Limitations
- The command can only generate one command at a time
- Some very complex requests might not be possible with a single command
- The AI might not always understand highly technical or game-specific terminology
- Commands are limited to what's possible in the current Minecraft version
- Commands longer than 256 characters will be executed through the server
Troubleshooting
If the generated command doesn't work as expected:
- Try rephrasing your request to be more specific
- Break down complex requests into simpler steps
- Check if the command is valid for your Minecraft version
- Ensure you have the necessary permissions to execute the command
- For long commands, make sure you have the
naturalcommands.prompt
permission