Minecraft / Blogs

Command Block Important Commands

  • 27
  • 12
  • comment26
  • playlist_add
  • share
  • more_horiz
avatar enderman96271
Level 33 : Artisan Dragon
7
Main usage/Commands:



@p = player
@a = all players
@r = random player
@f = player farthest away


Command Blocks can also be used with the new /gamerule command. The /gamerule command changes the rules of the game. It can be used to turn fire spread on and off, to change whether or not mobs spawn, blocks drop, whether a player can keep their inventory after death and others.


A quick guide to minecraft /gamerule commands:


commandBlockOutput o Changes whether or not the command block outputs text to the console, ie, whether the player will be notified as to changes of game rules or not.
doFireTick o Turns fire spread on or off.
doMobLoot o Turns mob drops on or off.
doMobSpawning o Turns mob spawning on or off.
doTileDrops o Turns block drops off (ie, if you break a block, it will or will not drop and be able to be picked up.)
keepInventory o Decides whether a player can keep their inventory after death.
mobGriefing o Turns the ability of mobs to destroy blocks through creeper explosions or endermen grazing.

/give (player name) (id) (ammount) (data/for wool, potions, etc.)

/tp (player) (x y z/player)

/say (somhening)

/clear (player name)

/gamemode (survival,adventure,creative) (player name)

/gamerule (gamerule) (true/false)

/spawnpoint (player name) (x y z)

/toggledownfall

/weather (rain, clear, thunder, etc.)

/xp (amount) @p -give xp to the nearest player or /xp (amount) (player name)

New commands:

/spreadfire off/on/ --- pretty self explanatory, turns off the ability for fire to "spread" from one block to another in that world

/naturalspawn on/off - toggles the natural spawning of a specified monster (natural spawning = any non mob egg/spawn cage spawn), so "/naturalspawn creeper off" would prevent creepers spawning in an area a distance away with the correct light level.

/explosionblockbreak on/off - explosions (ghast fireballs, creepers, wither hits, tnt, beds in the nether) will explode and damage players but not break any blocks

/icemelt on/off - ice will not melt, regardless of light level around it.

/crafting on/off - toggles whether players can craft items in their 2x2 inventory grid or a 3x3 table, useful if crafting items could bypass an intended section of a map

/tradechange on/off - toggles whether or not villager trades will appear or dissapear(or have a chance to) after use

Source: Minecraft Wikki, SethBling

If you have problem with setting the commands just watch SethBling's video: www.youtube.com/watch?v=e5ww0c8wxzs

PS: I'm not sure if the /explosionblockbreak command works.
Tags

Comments : 26

star Login or register to post a comment.

Show Comments

1 - 26 of 26

  • wildcat04
  • Level 1
  • New Miner
  • November 14, 2015, 4:35 pm
I tried turning the ice melting off, but it didnt work.why?
Maybe It's Not Your Version?
  • FunkyMunkey
  • Level 21
  • Expert Taco
  • October 26, 2015, 4:48 pm
Thanks,this helped a lot!!!!
how do I use the new commands? I put them into a command block and put them into the chat box, but it says the commands are Unknown, and it does nothing in the command block.
Again, Not Your Version?
https://www.youtube.com/watch?v=d7_SstGQE9o  This guy taught me most of the things that I could've learnt. His command block series has 8 parts, going into detail about the main things; /give,/summon etc...
Really cool, check it out.
@e all entity
  • Hades2004pi
  • Level 5
  • Apprentice Mage
  • December 22, 2014, 8:19 am
I knew all of this.
  • Frigo103
  • Level 24
  • Expert Engineer
  • December 2, 2014, 6:33 am
https://www.youtube.com/watch?v=0cLMrbZ9UNM&list=UUoemiHLebfHjDCXHYcMbaog
hey guys I made a video about how to use testfor a named snowball in
the active item in inventory to change between commands its a quite
usefull tutorial
  • Chita00
  • Level 11
  • Journeyman Engineer
  • November 19, 2014, 8:55 am
needs some 1.8 updates...
Cool
  • jmarchus
  • Level 1
  • New Miner
  • April 13, 2014, 10:29 am
I cannot get /icemelt off to work
For The Third Times It's NOT Your Version
is there a command to stop ice from melting to water
  • Squid57
  • Level 7
  • Apprentice Architect
  • January 26, 2014, 10:10 am
thanks for the icemelt tip!
whats the full command for mobgriefing?
/gamerule mobGriefing false/true
  • herocorn1324
  • Level 19
  • Journeyman Mage
  • February 24, 2013, 5:24 pm
i would like to know how to spawn them
You can find command block in too many items or to give yourself, the id of the cmd block is 137, you can type /give "player name" 137 in the window in your bottom left.
  • herocorn1324
  • Level 19
  • Journeyman Mage
  • February 25, 2013, 4:24 pm
thank you so much
  • Vielio
  • Level 6
  • Apprentice Artist
  • February 24, 2013, 8:57 am
Can it make /butcher every 10 minutes on a server with any admins on?
  • ChaoticTrack
  • Level 26
  • Expert Engineer
  • April 27, 2013, 10:42 am
You could type "butcher" in the commandblock, and have a clock activate every 10 minutes with a crap load of repeaters, but you can't make it so it knows if admins are on though I don't think, because remember; it's not a plugin, it's in-game mechanics.
these new commands are usefull
Is this a new Apple product? -.-
Ahh, it must be the new iSuck at making stupid Apple jokes. :3
  • JedayPL
  • Level 1
  • New Grump
  • February 23, 2013, 7:54 am
Hmm thanks for "new commands" section. It will help me making maps :) Fav and diamond.
I am glad this helped you, if there are any new commands I will add them. :)

1 - 26 of 26

Show Comments

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome