Minecraft Blogs

How to make a working military checkpoint (Barrier,MG)

  • 9
  • 2
  • 9
avatar DragonMania17
Level 47 : Master Engineer
74
Hello everybody! Today, I will present you how to make a working military checkpoint with functional barrier and machine gun. Watch the video first and after look at the instructions.

1/ How to make a working barrier


1: /clone X Y Z X Y Z X Y Z replace
X Y Z : first coordinates (with the smallest values)
X Y Z : second coordinates (with the biggest values)
These represent the area to clone.
X Y Z : third coordinates
The coordinates to where to clone.
replace : delete the blocks before.

1;2;3;4;5;6;7;8;9 : the different steps of the barrier's movement.
(I will make a clone tutorial soon)

2: /testforblock X Y Z lever N (CommandBlock: repeat ; always active)
X Y Z : coordinates of the lever
N : the value of the lever
-if the lever is "on": 1 (east), 2 (west), 3 (south), 4 (north)
-if the lever is "off" you add 8 to the value: 9 , 10, 11, 12.
(To see the direction of the lever use fn 3 and point the lever, after re use fn 3 to come back at the normal mode)

2/ How to make a working machine gun

1: /kill @e[type=Arrow,score_MGBK_min=1] (CommandBlock: repeat ; always active)
Kill the arrow with the MGBK score.
2: /scoreboard objectives add MGBK dummy
Add the MGBK score.
3: /scoreboard players set @e[type=Arrow,name=MGB] MGBK 1 {inGround:1b} (CommandBlock: repeat ; always active)
Set the score MGBK to 1 for the arrows with MGB custom name (the arrows who sent the MG) and which are in the ground.


1: /testforblock X Y Z lever N (CommandBlock: repeat ; always active)
Come back to 1/ 1:
2: /summon Arrow X Y Z {Motion:[5.0,-0.1,0.0],CustomName:"MGB"}
Summon Arrow with motion (direction and movement) from the MG.
X Y Z : coordinates where you summon the arrow.

I hope this tutorial will help you. Thanks for watching and reading, bye and good craft!

Thank you very much!
Tags

1
07/18/2016 4:12 pm
Level 56 : Grandmaster Architect
babbajagga
another nice invention :)
1
04/02/2016 7:18 am
Level 29 : Expert Engineer
XDscoper420
Very nice! Must've taken a lot of redstone knowledge.
1
02/25/2016 1:28 am
Level 76 : Legendary Fox
CraftyFoxe
That pretty cool but I prefer commentary or some music on that vid
1
02/25/2016 4:25 am
Level 47 : Master Engineer
DragonMania17
Thanks! I will try to put music in my futures video and, for the commentary, I will find a solution.
1
02/24/2016 11:23 am
Level 68 : High Grandmaster Crafter
JohnnyCoolwater
nice. i think it helps me =)
1
02/24/2016 12:49 pm
Level 47 : Master Engineer
DragonMania17
Thanks! I hope.
1
02/24/2016 6:33 am
Level 19 : Journeyman Engineer
ShravX_775
cool
1
02/24/2016 6:41 am
Level 47 : Master Engineer
DragonMania17
Thank you!
1
10/18/2018 8:13 pm
Level 1 : New Miner
coolworrior3123
How do you know all these commands?

Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome