Comandos de Minecraft
Sintaxis, ejemplos y diferencias entre ediciones para cada comando importante. Requieren trucos o permisos de operador.
/give
Gives one or more items to a player.
/tp
Teleports a player or entity to coordinates or to another entity.
/summon
Spawns any mob or entity at a chosen position.
/locate
Finds the coordinates of the nearest structure, biome or point of interest.
/gamemode
Switches a player between survival, creative, adventure and spectator mode.
/fill
Fills a region of the world with a block, or replaces blocks in it.
/effect
Applies or removes status effects like speed, strength or regeneration.
/time
Changes or queries the world's time of day.
/weather
Changes the weather.
/enchant
Enchants the item a player is holding.
/setblock
Places a single block at exact coordinates.
/kill
Instantly kills entities.
/clear
Removes items from inventories.
/spawnpoint
Sets where players respawn.
/xp
Gives, sets or checks experience points and levels.
/execute
Runs another command with changed context: as a different entity, at a position, in a dimension, or only if a condition is true.
/clone
Copies all the blocks in one region to another location.
/damage
Applies a set amount of damage to entities, with an optional damage type or attacker.
/defaultgamemode
Sets the default game mode for new players joining a world or server.
/difficulty
Sets or queries the world's difficulty level.
/gamerule
Changes world rules like mob griefing, keep inventory, fire spread and daylight cycle.
/seed
Displays the world seed, ready to copy.
/setworldspawn
Sets the world spawn point where new players appear and compasses point.
/schedule
Delays the execution of a function by a set amount of time or until an area loads.
/loot
Generates loot table drops and gives, inserts or spawns them where you choose.
/fillbiome
Changes the biome of a 3D region, replacing grass color, weather and mob spawns.
/attribute
Reads and modifies entity attributes like max health, speed, attack damage and scale.
/item
Puts, modifies or copies items into specific inventory slots of blocks or entities.
/scoreboard
Creates scoreboard objectives and tracks scores for players and entities.
/function
Runs every command inside a function file, in order, instantly.