Collection of EpticMC's CommandBlock commands, tools and scripts
Everything from small commands like EntityData manipulations to bigger routine driven programs.
Also check out Commander IDE by EpticMC, a fully featured IDE/Editor for CommandBlock scripts!
Check out this awesome tool for positioning armorstands as well:
http://haselkern.com/Minecraft-ArmorStand/
Note: All commands have only been tested on version 1.8
If you'd like to add a a useful command or information to the list, please create an issue or fork this repository and submit a pull request. 😊
If you choose to make a Pull Request:
Please make yourself comfortable with Markdown Syntax first: MarkDown Help, Markdown Cheatsheet
Also please try to stick to our style / layout so this markdown file stays consistent 😄
- Please give us some time to write the code -
- Laying Item:
Description:
Spawn an invisible armorstand holding an item (torch in this case). Makes it look like its laying on the floor.
CommandBlock Command:
summon ArmorStand ~.5 ~-.8 ~-1 {DisabledSlots:1,NoGravity:true,Invisible:1,Invulnerable:0,Small:false,Equipment:[{id:0050,Count:1},{},{},{},{}],Pose:{RightArm:[0.0f,30.0f,0.0f]},Rotation:[30.10f,]}
- Invulnerable Baby Chicken:
Description:
Spawn AI Less Baby Chicken as invulnerable Entity
CommandBlock Command:
/summon Chicken ~1 ~.2 ~0 {Rotation:[55f],Invulnerable:1,NoAI:1,Silent:1,IsBaby:1,Age:-1000000000}
- Giant Sword:
Description:
Spawn AI Less, Invisible Giant holding a sword. Looks like a huge floating sword.
CommandBlock Command:
/summon Giant ~ ~ ~ {Equipment:[{id:diamond_sword},{},{},{},{}],Attributes:[{Name:generic.followRange,Base:0},{Name:generic.knockbackResistance,Base:1}],ActiveEffects:[{Id:14,Amplifier:1,Duration:999999,Ambient:1}],NoAI:1,Silent:1}
Block Placement:
North-West
Guard:
/summon ArmorStand ~0 ~.85 ~-1 {Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,Rotation:[312f],Pose:{Head:[14f,0f,0f],LeftLeg:[12f,0f,357f],RightLeg:[355f,0f,3f],LeftArm:[284f,32f,0f],RightArm:[286f,327f,0f]}}
Sword:
/summon ArmorStand ~-.66 ~.7 ~.55 {NoGravity:1b,ShowArms:1b,Invisible:1b,Rotation:[320f],Pose:{RightArm:[170f,89f,90f]}}
North-East
Guard:
/summon ArmorStand ~1.14 ~.85 ~-.14 {Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,Rotation:[45f],Pose:{Head:[14f,0f,0f],LeftLeg:[12f,0f,357f],RightLeg:[355f,0f,3f],LeftArm:[284f,32f,0f],RightArm:[286f,327f,0f]}}
Sword:
/summon ArmorStand ~-.45 ~.7 ~-.9 {NoGravity:1b,ShowArms:1b,Invisible:1b,Rotation:[45f],Pose:{RightArm:[170f,89f,90f]}}
South-East
Guard:
/summon ArmorStand ~.02 ~.85 ~1.1 {Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,Rotation:[145f],Pose:{Head:[14f,0f,0f],LeftLeg:[12f,0f,357f],RightLeg:[355f,0f,3f],LeftArm:[284f,32f,0f],RightArm:[286f,327f,0f]}}
Sword:
/summon ArmorStand ~.8 ~.7 ~-.5 {NoGravity:1b,ShowArms:1b,Invisible:1b,Rotation:[145f],Pose:{RightArm:[170f,89f,90f]}}
South-West
Guard:
/summon ArmorStand ~-1.05 ~.95 ~.11 {Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,Rotation:[225f],Pose:{Head:[14f,0f,0f],LeftLeg:[12f,0f,357f],RightLeg:[355f,0f,3f],LeftArm:[284f,32f,0f],RightArm:[286f,327f,0f]}}
Sword:
/summon ArmorStand ~.5 ~.7 ~.8 {NoGravity:1b,ShowArms:1b,Invisible:1b,Rotation:[225f],Pose:{RightArm:[170f,89f,90f]}}
Block directly above:
/summon ArmorStand ~ ~-2.8 ~ {CustomNameVisible:1,CustomName:"R.I.P.",Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,Rotation:[32f],Pose:{Body:[89f,0f,0f],Head:[89f,12f,92f],LeftArm:[270f,315f,0f],RightArm:[89f,315f,0f]}}
- Invulnerable Ender Crystal:
Description:
Spawn invulnerable EnderCrystal with basis hidden in the ground
CommandBlock Command:
/summon EnderCrystal ~-1 ~-.1 ~ {Invulnerable:1}
- Despawn near Ender Crystals:
Description:
Removes all Ender Crystals made invulnerable by the above command in a range of1
block
CommandBlock Command:
/killall endercrystal 1
- Chest with item:
Description:
Spawns a chest with an item (sword in this case) in it
CommandBlock Command:
/summon FallingSand ~ ~1 ~ {TileID:54,Time:1,TileEntityData:{Items:[{id:276,tag:{display:{Name:"Black Sword"}}}]}}