MINECRAFT FARSI DATABASE
Commands
Browse curated, version-aware Commands with practical details and connected guides.
Command Syntax
Command Syntax: Use a slash, command name, and ordered arguments; read errors from left to right.
Target Selectors
Target Selectors: Use @s, @p, @a, @e, and selector filters to choose command targets.
Command Coordinates
Command Coordinates: Absolute X Y Z coordinates point to one fixed world position.
Relative Coordinates
Relative Coordinates: Prefix coordinates with ~ to offset them from the execution position.
Local Coordinates
Local Coordinates: Use ^left ^up ^forward for movement relative to execution rotation.
Execute As and At
Execute As and At: execute as changes the executor; execute at changes the execution position.
Execute Positioned
Execute Positioned: execute positioned moves the command context without teleporting the entity.
Execute If and Unless
Execute If and Unless: Gate a command by entity, block, score, biome, data, or another supported condition.
Scoreboard Objectives
Scoreboard Objectives: Create an objective with /scoreboard objectives add before storing scores.
Scoreboard Players
Scoreboard Players: Use set, add, remove, operation, and reset to manage stored scores.
Scoreboard Display
Scoreboard Display: Show an objective in the sidebar, player list, or below names.
Entity Tags
Entity Tags: Use /tag to add lightweight labels that selectors can test later.
Teams
Teams: Use teams for grouping, friendly-fire rules, colors, and collision behavior.
Gamerule
Gamerule: Read a gamerule first, then change only the rule required by the world design.
Set Time
Set Time: Use /time set or /time add to control the daylight cycle value.
Set Weather
Set Weather: Use /weather clear, rain, or thunder with an optional duration.
Set Difficulty
Set Difficulty: Use /difficulty with peaceful, easy, normal, or hard.
Change Gamemode
Change Gamemode: Use /gamemode and an explicit target when changing another player.
Teleport Command
Teleport Command: Use /teleport with a target and destination, checking dimension and facing.
Give Command
Give Command: Use /give target item count and verify the item identifier for the edition.
Summon Command
Summon Command: Use /summon entity coordinates, then add data only after the base summon works.
Effect Command
Effect Command: Apply, clear, and time status effects with an explicit target and amplifier.
Enchant Command
Enchant Command: Hold a compatible item before using /enchant target enchantment level.
Clear Command
Clear Command: Test item filters with a zero count before removing inventory items.
Fill Command
Fill Command: Use two opposite corners and stay within the command volume limit.
Clone Command
Clone Command: Define source corners and a destination corner; test masked or filtered mode on a copy.
Setblock Command
Setblock Command: Place one block with replace, keep, or destroy behavior as needed.
Locate Command
Locate Command: Locate structures or biomes with the syntax supported by your edition.
Loot Command
Loot Command: Route a loot table result to inventory, a container, the world, or an entity.
Particle Command
Particle Command: Spawn a small particle test first, then tune position, spread, speed, and viewers.
Playsound Command
Playsound Command: Play a sound for selected players with source, position, volume, and pitch.
Title Command
Title Command: Set title timing before showing title, subtitle, or actionbar text.
Tellraw Command
Tellraw Command: Build JSON text in small valid components before adding clicks or hover events.
Spawnpoint Command
Spawnpoint Command: Set a player spawn position and verify that the destination remains safe.
Setworldspawn Command
Setworldspawn Command: Set the shared world spawn, then test spawn-radius behavior.
Worldborder Command
Worldborder Command: Set center first, then change size gradually and configure warning distance.
Advancement Command
Advancement Command: Grant, revoke, or test Java advancements with precise scopes.
Function Command
Function Command: Put tested commands in a datapack function and call it by namespace.
Schedule Function
Schedule Function: Schedule a function after a delay and choose replace or append intentionally.
Data Command
Data Command: Use data get before data modify, and work on copied test entities or storage.
