Actions

Difference between revisions of "Command Block"

From Zedwiki

(Commands)
Line 12: Line 12:
 
The following commands are available for use in Command Blocks:
 
The following commands are available for use in Command Blocks:
  
;[[Command:achievement|achievement]]:{{#dpl:title=Command:achievement|include=#}}Give/take an achievement to/from a player.
+
;[[Command:achievement|achievement]]:{{#dpl:title=Command:achievement|include=#}}
;[[Command:blockdata|blockdata]]:
+
;[[Command:blockdata|blockdata]]:{{#dpl:title=Command:blockdata|include=#}}
 
;[[Command:clear|clear]]:
 
;[[Command:clear|clear]]:
 
;[[Command:clone|clone]]:
 
;[[Command:clone|clone]]:

Revision as of 12:46, 10 August 2016

A Command Block is a special kind of block which can be activated to run a Minecraft command. When combined together in chains or as part of redstone contraptions, these can be used to create simple or complex systems. Many of Zedwork's custom ZestyGames run on Command Blocks

Usage

There are 3 types of command block:

Impulse
When powered this Command Block will run its command, and all those in the chain following it, once per activation.
Chain
This special Command Block does not run on its own, but will run its command when activated as part of a chain of Command Blocks.
Repeating
When powered this Command Block will run its command, and all those in the chain following it, 20 times per second.

Commands

The following commands are available for use in Command Blocks:

achievement
Give/take an achievement to/from a player.
blockdata
Modifies the data tag of a block.[1]
clear
clone
defaultgamemode
difficulty
effect
enchant
entitydata
execute
fill
gamemode
gamerule
give
kill
me
particle
playsound
replaceitem
say
scoreboard
setblock
setidletimeout
setworldspawn
spawnpoint
spreadplayers
stats
stopsound
summon
teleport
tell
tellraw
testfor
testforblock
testforblocks
time
title
toggledownfall
tp
trigger
weather
worldborder
xp

Tutorials

Holograms with Command Blocks Tutorial
  1. Minecraft:Commands#blockdata