← Back to Home
Command Reference: Core Commands
Core command block examples in a reference format. Expand any entry to
view syntax, parameters, and usage notes.
General
/give
Gives an item to a player or target selector.
Syntax
/give - [count]
Parameters
| Name |
Required |
Description |
| target |
Yes |
Player or selector receiving the item. |
| item |
Yes |
Item identifier (e.g., minecraft:diamond). |
| count |
No |
Number of items to give. |
Examples
/give @p minecraft:diamond 5
/tp
Teleports entities to a location or another entity.
Syntax
/tp
/tp
Parameters
| Name |
Required |
Description |
| target |
Yes |
Entity to teleport. |
| destination |
Yes |
Coordinates or another entity. |
Examples
/tp @p 0 80 0
/spawnpoint
Sets the spawn point for a player.
Syntax
/spawnpoint [x] [y] [z]
Examples
/spawnpoint @p 0 64 0
Command Block Notes
- Coordinates default to the executor's position.
- Useful after teleporting a player to a new area.
Time & Weather
/time
Sets or queries the world time.
Syntax
/time set
/time add
Examples
/time set day
/weather
Controls the current weather state.
Syntax
/weather [duration]
Examples
/weather clear 6000