MINECRAFT FARSI DATABASE

Commands

Browse curated, version-aware Commands with practical details and connected guides.

Command Syntax
Commands

Command Syntax

Command Syntax: Use a slash, command name, and ordered arguments; read errors from left to right.

1.21.8BothIntermediate
Target Selectors
Commands

Target Selectors

Target Selectors: Use @s, @p, @a, @e, and selector filters to choose command targets.

1.21.8BothIntermediate
Command Coordinates
Commands

Command Coordinates

Command Coordinates: Absolute X Y Z coordinates point to one fixed world position.

1.21.8BothIntermediate
Relative Coordinates
Commands

Relative Coordinates

Relative Coordinates: Prefix coordinates with ~ to offset them from the execution position.

1.21.8BothIntermediate
Local Coordinates
Commands

Local Coordinates

Local Coordinates: Use ^left ^up ^forward for movement relative to execution rotation.

1.21.8BothIntermediate
Execute As and At
Commands

Execute As and At

Execute As and At: execute as changes the executor; execute at changes the execution position.

1.21.8BothIntermediate
Execute Positioned
Commands

Execute Positioned

Execute Positioned: execute positioned moves the command context without teleporting the entity.

1.21.8BothIntermediate
Execute If and Unless
Commands

Execute If and Unless

Execute If and Unless: Gate a command by entity, block, score, biome, data, or another supported condition.

1.21.8BothIntermediate
Scoreboard Objectives
Commands

Scoreboard Objectives

Scoreboard Objectives: Create an objective with /scoreboard objectives add before storing scores.

1.21.8BothIntermediate
Scoreboard Players
Commands

Scoreboard Players

Scoreboard Players: Use set, add, remove, operation, and reset to manage stored scores.

1.21.8BothIntermediate
Scoreboard Display
Commands

Scoreboard Display

Scoreboard Display: Show an objective in the sidebar, player list, or below names.

1.21.8BothIntermediate
Entity Tags
Commands

Entity Tags

Entity Tags: Use /tag to add lightweight labels that selectors can test later.

1.21.8BothIntermediate
Teams
Commands

Teams

Teams: Use teams for grouping, friendly-fire rules, colors, and collision behavior.

1.21.8BothIntermediate
Gamerule
Commands

Gamerule

Gamerule: Read a gamerule first, then change only the rule required by the world design.

1.21.8BothIntermediate
Set Time
Commands

Set Time

Set Time: Use /time set or /time add to control the daylight cycle value.

1.21.8BothIntermediate
Set Weather
Commands

Set Weather

Set Weather: Use /weather clear, rain, or thunder with an optional duration.

1.21.8BothIntermediate
Set Difficulty
Commands

Set Difficulty

Set Difficulty: Use /difficulty with peaceful, easy, normal, or hard.

1.21.8BothIntermediate
Change Gamemode
Commands

Change Gamemode

Change Gamemode: Use /gamemode and an explicit target when changing another player.

1.21.8BothIntermediate
Teleport Command
Commands

Teleport Command

Teleport Command: Use /teleport with a target and destination, checking dimension and facing.

1.21.8BothIntermediate
Give Command
Commands

Give Command

Give Command: Use /give target item count and verify the item identifier for the edition.

1.21.8BothIntermediate
Summon Command
Commands

Summon Command

Summon Command: Use /summon entity coordinates, then add data only after the base summon works.

1.21.8BothIntermediate
Effect Command
Commands

Effect Command

Effect Command: Apply, clear, and time status effects with an explicit target and amplifier.

1.21.8BothIntermediate
Enchant Command
Commands

Enchant Command

Enchant Command: Hold a compatible item before using /enchant target enchantment level.

1.21.8BothIntermediate
Clear Command
Commands

Clear Command

Clear Command: Test item filters with a zero count before removing inventory items.

1.21.8BothIntermediate
Fill Command
Commands

Fill Command

Fill Command: Use two opposite corners and stay within the command volume limit.

1.21.8BothIntermediate
Clone Command
Commands

Clone Command

Clone Command: Define source corners and a destination corner; test masked or filtered mode on a copy.

1.21.8BothIntermediate
Setblock Command
Commands

Setblock Command

Setblock Command: Place one block with replace, keep, or destroy behavior as needed.

1.21.8BothIntermediate
Locate Command
Commands

Locate Command

Locate Command: Locate structures or biomes with the syntax supported by your edition.

1.21.8BothIntermediate
Loot Command
Commands

Loot Command

Loot Command: Route a loot table result to inventory, a container, the world, or an entity.

1.21.8BothIntermediate
Particle Command
Commands

Particle Command

Particle Command: Spawn a small particle test first, then tune position, spread, speed, and viewers.

1.21.8BothIntermediate
Playsound Command
Commands

Playsound Command

Playsound Command: Play a sound for selected players with source, position, volume, and pitch.

1.21.8BothIntermediate
Title Command
Commands

Title Command

Title Command: Set title timing before showing title, subtitle, or actionbar text.

1.21.8BothIntermediate
Tellraw Command
Commands

Tellraw Command

Tellraw Command: Build JSON text in small valid components before adding clicks or hover events.

1.21.8BothIntermediate
Spawnpoint Command
Commands

Spawnpoint Command

Spawnpoint Command: Set a player spawn position and verify that the destination remains safe.

1.21.8BothIntermediate
Setworldspawn Command
Commands

Setworldspawn Command

Setworldspawn Command: Set the shared world spawn, then test spawn-radius behavior.

1.21.8BothIntermediate
Worldborder Command
Commands

Worldborder Command

Worldborder Command: Set center first, then change size gradually and configure warning distance.

1.21.8BothIntermediate
Advancement Command
Commands

Advancement Command

Advancement Command: Grant, revoke, or test Java advancements with precise scopes.

1.21.8BothIntermediate
Function Command
Commands

Function Command

Function Command: Put tested commands in a datapack function and call it by namespace.

1.21.8BothIntermediate
Schedule Function
Commands

Schedule Function

Schedule Function: Schedule a function after a delay and choose replace or append intentionally.

1.21.8BothIntermediate
Data Command
Commands

Data Command

Data Command: Use data get before data modify, and work on copied test entities or storage.

1.21.8BothIntermediate