Know the main commands (codes) of Minecraft!

Here’s a complete list of Minecraft’s top commands. It has code to control the weather, game mode, scenery, mobs, effects, items, everything!

Best Minecraft Servers

To use the commands in Minecraft, you need to set ON the option “Allow Cheats” when creating the world. With the option enabled, just press the ” C “ or ” T ” key at any time during the game to open the command bar, type the codes below, and press Enter.

Minecraft Commands for the Server

CodeIt is made
/gamemode 0Switch to Survival mode
/gamemode 1Switch to Creative mode
/gamemode 2Switch to Adventure mode
/gamemode 3Switch to Spectator mode
/give [desired item]Make the desired item appear in your inventory
/gamerule dofiretick falseFire cannot spread
/gamerule dodaylightcycle falseStops the game day/night click
/gamerule keepinventory trueKeep your inventory when dying
/gamerule domoloot falseMobs do not drop items
/gamerule domobs spawning falsemobs no longer spawn
/gamerule dotiledrops falseBlocks do not drop items
/gamerule mobgriefing falseMobs can no longer interact with blocks
/gamerule naturalregeneration falsePrevents health regeneration when it has maximum HP
/kill @rkill a random player
/kill @ekill all entities
/kill @akill all players
/kill @pkill the closest player
/time set 18000Change time to Midnight
/time set 6000Change time to Noon
/difficulty [peaceful/easy/normal/hard]Change the game difficulty to the indicated level
/summon [Entity Name]Invokes the indicated entity
/atlantisSea level rises a lot in the world
/weather [clear/rain/thunder]Change the weather to the indicated mode
/rideTurn the creature you’re looking at into a mount
/instantmineInstant mining with any tool
/freezeparalyzes mobs
/fall damageTurns fall damage on and off
/firedamageTurn fire damage on and off
/waterdamageTurns water damage on and off
/superheatTurns all items into their merged versions
/instantplantPlanted seeds grow automatically
/ dropstoreStores all inventory items in a chest that appears beside you
/itemdamagePrevents weapons and items from taking damage and wear.
/duplicateCopy and drop the stack of items you have equipped
/tp[x,y,z]Teleports an entity to the informed coordinates
/xp [amount] [Player name]Provides the amount of XP indicated to the chosen player

Minecraft Command for Command Block

commandit is made
give @p command_blockCreate a Command Block in your inventory

Minecraft Effects Commands

CommandIt is made
/effect [Player name] 1 [seconds] [level 1-255]Provides the Speed ​​effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 2 [seconds] [level 1-255]Provides the Slowing effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 3 [seconds] [level 1-255]Provides the Agility effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 4 [seconds] [level 1-255]Inflicts the effect of Mining Fatigue on the indicated player, according to the chosen duration and intensity.
/effect [Player name] 5 [seconds] [level 1-255]Provides the Strength effect to the indicated player, according to the chosen duration and intensity.
/effect [Player name] 6 [seconds] [level 1-255]Provides Instant Life effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 7 [seconds] [level 1-255]Deals Instant Damage to the indicated player, according to the chosen duration and intensity.
/effect [Player name] 8 [seconds] [level 1-255]Provides the Super Leap effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 9 [seconds] [level 1-255]Causes the Nausea effect to the indicated player, according to the chosen duration and intensity.
/effect [Player name] 10 [seconds] [level 1-255]Provides the Regeneration effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 11 [seconds] [level 1-255]Provides the Resistance effect to the indicated player, according to the chosen duration and intensity.
/effect [Player name] 12 [seconds] [level 1-255]Provides the Fire Resistance effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 13 [seconds] [level 1-255]Provides the Water Breath effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 14 [seconds] [level 1-255]Provides the Invisibility effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 15 [seconds] [level 1-255]Causes the Blinding effect to the indicated player, according to the chosen duration and intensity.
/effect [Player name] 16 [seconds] [level 1-255]Provides the Night Vision effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 17 [seconds] [level 1-255]Provides the Famine effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 18 [seconds] [level 1-255]Causes the Weakness effect to the indicated player, according to the chosen duration and intensity.
/effect [Player name] 19 [seconds] [level 1-255]Provides the Poison effect to the indicated player, according to the chosen duration and intensity.
/effect [Player name] 20 [seconds] [level 1-255]Provides the Agility effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 21 [seconds] [level 1-255]Provides the Life Boost effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 22 [seconds] [level 1-255]Provides the Absorption effect to the indicated player, according to the chosen duration and intensity
/effect [Player name] 23 [seconds] [level 1-255]Causes the Saturation effect to the indicated player, according to the chosen duration and intensity.

Minecraft Enchantment Commands

Commandenchantment
/enchant [Player Name] [aqua_affinity] [Enchant Level]Aquatic Affinity
/enchant [Player Name] [bane_of_arthropods] [Enchant Level]Ruin of Arthropods
/enchant [Player name] [binding_curse] [Enchant level]Link curse
/enchant [Player name] [blast_protection] [Enchant level]Explosion Protection
/enchant [Player name] [channeling] [Enchant level]Plumbing
/enchant [Player name] [depth_strider] [Enchant level]Deep steps
/enchant [Player name] [efficiency] [Enchant level]Efficiency
/enchant [Player name] [feather_falling] [Enchant level]Feather weight
/enchant [Player Name] [fire_aspect] [Enchant Level]Flaming aspect
/enchant [Player name] [fire_protection] [Enchant level]Fire protection
/enchant [Player name] [flame] [Enchant level]Flame
/enchant [Player name] [fortune] [Enchant level]Fortune
/enchant [Player name] [frost_walker] [Enchant level]Icy Steps
/enchant [Player name] [impaling] [Enchant level]impalement
/enchant [Player name] [infinity] [Enchant level]infinity
/enchant [Player name] [knockback] [Enchant level]repulsion
/enchant [Player name] [looting] [Enchant level]take out
/enchant [Player name] [loyalty] [Enchant level]Loyalty
/enchant [Player Name] [luck_of_the_sea] [Enchant Level]luck of the sea
/enchant [Player name] [lure] [Enchant level]Bait
/enchant [Player name] [mending] [Enchant level]Patch
/enchant [Player name] [multishot] [Enchant level]multiple shot
/enchant [Player name] [piercing] [Enchant level]Drilling
/enchant [Player name] [power] [Enchant level]
/enchant [Player Name] [projectile_protection] [Enchant Level]Projectile Protection
/enchant [Player name] [protection] [Enchant level]Protection
/enchant [Player name] [punch] [Enchant level]reach
/enchant [Player name] [quick_charge] [Enchant level]fast charge
/enchant [Player name] [respiration] [Enchant level]Breathing
/enchant [Player name] [riptide] [Enchant level]current
/enchant [Player name] [sharpness] [Enchant level]Sharpening
/enchant [Player name] [silk_touch] [Enchant level]Smooth touch
/enchant [Player name] [smite] [Enchant level]Impact
/enchant [Player name] [sweeping] [Enchant level]Judgment
/enchant [Player name] [thorns] [Enchant level]thorns
/enchant [Player name] [unbreaking] [Enchant level]Unbreakable
/enchant [Player Name] [vanishing_curse] [Enchant Level]Disappearance Curse

More:

Minecraft Seeds

25 building ideas to make in Minecraft!

30 best Minecraft PE seeds to create worlds on mobile

Leave a Comment

Ad Blocker Detected!

Refresh