Difference between revisions of "Command Block"
From Zedwiki
(→Tutorials) |
(→Commands) |
||
Line 9: | Line 9: | ||
;Repeating:When powered this [[Command Block]] will run its command, and all those in the chain following it, 20 times per second. | ;Repeating:When powered this [[Command Block]] will run its command, and all those in the chain following it, 20 times per second. | ||
− | === [[Vanilla Minecraft Commands|Commands]] === | + | === [[Command:Vanilla Minecraft Commands|Commands]] === |
+ | 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:blockdata|blockdata]]: | ||
+ | ;[[Command:clear|clear]]: | ||
+ | ;[[Command:clone|clone]]: | ||
+ | ;[[Command:defaultgamemode|defaultgamemode]]: | ||
+ | ;[[Command:difficulty|difficulty]]: | ||
+ | ;[[Command:effect|effect]]: | ||
+ | ;[[Command"enchant|enchant]]: | ||
+ | ;[[Command:entitydata|entitydata]]: | ||
+ | ;[[Command:execute|execute]]: | ||
+ | ;[[Command:fill|fill]]: | ||
+ | ;[[Command:gamemode|gamemode]]: | ||
+ | ;[[Command:gamerule|gamerule]]: | ||
+ | ;[[Command:give|give]]: | ||
+ | ;[[Command:kill|kill]]: | ||
+ | ;[[Command:me|me]]: | ||
+ | ;[[Command:particle|particle]]: | ||
+ | ;[[Command:playsound|playsound]]: | ||
+ | ;[[Command:replaceitem|replaceitem]]: | ||
+ | ;[[Command:say|say]]: | ||
+ | ;[[Command:scoreboard|scoreboard]]: | ||
+ | ;[[Command:setblock|setblock]]: | ||
+ | ;[[Command:setidletimeout|setidletimeout]]: | ||
+ | ;[[Command:setworldspawn|setworldspawn]]: | ||
+ | ;[[Command:spawnpoint|spawnpoint]]: | ||
+ | ;[[Command:spreadplayers|spreadplayers]]: | ||
+ | ;[[Command:stats|stats]]: | ||
+ | ;[[Command:stopsound|stopsound]]: | ||
+ | ;[[Command:summon|summon]]: | ||
+ | ;[[Command:teleport|teleport]]: | ||
+ | ;[[Command:tell|tell]]: | ||
+ | ;[[Command:tellraw|tellraw]]: | ||
+ | ;[[Command:testfor|testfor]]: | ||
+ | ;[[Command:testforblock|testforblock]]: | ||
+ | ;[[Command:testforblocks|testforblocks]]: | ||
+ | ;[[Command:time|time]]: | ||
+ | ;[[Command:title|title]]: | ||
+ | ;[[Command:toggledownfall|toggledownfall]]: | ||
+ | ;[[Command:tp|tp]]: | ||
+ | ;[[Command:trigger|trigger]]: | ||
+ | ;[[Command:weather|weather]]: | ||
+ | ;[[Command:worldborder|worldborder]]: | ||
+ | ;[[Command:xp|xp]]: | ||
=== [[Command Block Tutorials|Tutorials]] === | === [[Command Block Tutorials|Tutorials]] === | ||
[[Holograms with Command Blocks Tutorial]] | [[Holograms with Command Blocks Tutorial]] |
Revision as of 01:21, 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.
Give/take an achievement to/from a player.
- blockdata
- 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