마인크래프트 커맨드블록 모드 공략, 원 커맨드
테슬라 코일 (Tesla Coils)
빠지직!
1. 소개
제작자 : MrGarretto
적용 되는 버전 : 1.8+
적합한 게임 모드 : 서바이벌
주변 몹들에게 번개를 날리는 테슬라 코일을 추가해줍니다. 나무 집 주변에는 놓지 마세요!
2. 테슬라 코일
(1) 조합 및 해체
호퍼와 비콘을 준비해주시고
바닥에 같이 던져주세요.
그러면 다음과 같이 테슬라 코일을 설치 할 수 있는 스폰알을 얻게 됩니다.
해체는 단순하게 테슬라 코일에 우클릭을 하는 것으로 가능합니다.
(2) 사용 예시
설치된 모습
번개가 내리는 모습. 강려크합니다.
3. 모드 설치 방법
(1) 설치 방법
소개 및 설치 방법을 확인해주세요. 아래에 있는 코드를 복사해서 커맨드 블록 내에 붙여넣기 해주세요. 커맨드 블럭은 위쪽에 생성되므로, 위쪽은 비워두시는 것이 좋습니다.
(2) 코드
/summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~ ~0 ~1 ~ ~-17 ~1 redstone_block},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~ ~3 ~1 stone},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~ ~4 ~ command_block 0 replace {Command:fill ~ ~2 ~ ~ ~-21 ~1 air}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tellraw @a [{color:"green",text:"To craft a tesla coil, throw a "},{color:"aqua",text:"beacon, "},{color:"green",text:"and a "},{color:"aqua",text:"hopper "},{color:"green",text:"on the ground together!"}]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tellraw @a [{color:"gold",text:"The Tesla Coils "},{color:"dark_aqua",text:"command module by MrGarretto has been installed!"}]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add TC_Safe dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add TC_Cooldown dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add TC_Destroy dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add TC_Pickup dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add TC_TeslaPart dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add TC_Tesla dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add TC_BlockID dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~ ~-1 {Block:command_block,TileEntityData:{Command:/kill @e[score_TC_Tesla_min=1]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[name=TCMain,score_TC_Cooldown_min=30] TC_Cooldown 0},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players add @e[name=TCMain,score_TC_Cooldown=30] TC_Cooldown 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] TC_Safe 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=!Player] TC_Safe 0},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/clear @a[score_TC_Pickup_min=1] iron_bars 0 1 {display:{Name:"TCPickup"}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/clear @a[score_TC_Pickup_min=1] beacon 0 1 {display:{Name:"TCPickup"}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_Destroy_min=1] ~ ~ ~ kill @e[type=ArmorStand,score_TC_TeslaPart_min=1,c=5]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/give @a[score_TC_Pickup_min=1] spawn_egg 1 60 {display:{Name:"TeslaCoil"}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_Tesla_min=1] ~ ~ ~ scoreboard players set @e[type=ArmorStand,r=2,c=5] TC_TeslaPart 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_Tesla_min=1] ~ ~ ~ summon ArmorStand ~ ~-0.1 ~ {Invisible:1,NoGravity:1,Small:1,Equipment:[{},{},{},{},{id:iron_block,tag:{display:{Name:"TCPickup"}}}]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_Tesla_min=1] ~ ~ ~ summon ArmorStand ~ ~0.3 ~ {Invisible:1,NoGravity:1,Equipment:[{},{},{},{},{id:cobblestone_wall,tag:{display:{Name:"TCPickup"}}}]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Silverfish,name=TeslaCoil] TC_Tesla 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_BlockID_min=1,score_TC_BlockID=1] ~ ~ ~ execute @e[r=1,score_TC_BlockID_min=2,score_TC_BlockID=2] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"spawn_egg",Damage:60,Count:1,tag:{display:{Name:"TeslaCoil"}}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] TC_BlockID 1 {Item:{id:"minecraft:beacon"}}},Time:1,}}}}}}}}}}}}}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~ ~1 {Block:command_block,TileEntityData:{Command:/execute @e[type=ArmorStand,name=TCMain,score_TC_Cooldown_min=30] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 1 40},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=ArmorStand,name=TCMain,score_TC_Cooldown_min=30] ~ ~ ~ execute @e[r=12,score_TC_Safe=0] ~ ~ ~ summon LightningBolt ~ ~ ~},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players add @e[name=TCMain] TC_Cooldown 0},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=ArmorStand] TC_Safe 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players reset @a[score_TC_Pickup_min=1] TC_Pickup},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/clear @a[score_TC_Pickup_min=1] iron_block 0 1 {display:{Name:"TCPickup"}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/clear @a[score_TC_Pickup_min=1] cobblestone_wall 0 1 {display:{Name:"TCPickup"}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_TC_Pickup_min=1] ~ ~ ~ scoreboard players set @e[type=ArmorStand,score_TC_TeslaPart_min=1,c=1,r=20] TC_Destroy 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a TC_Pickup 1 {Inventory:[{tag:{display:{Name:"TCPickup"}}}]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_Tesla_min=1] ~ ~ ~ summon ArmorStand ~ ~0.9 ~ {Invisible:1,NoGravity:1,Equipment:[{},{},{},{},{id:iron_bars,tag:{display:{Name:"TCPickup"}}}]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_Tesla_min=1] ~ ~ ~ summon ArmorStand ~ ~-0.3 ~ {Invisible:1,NoGravity:1,Equipment:[{},{},{},{},{id:cobblestone_wall,tag:{display:{Name:"TCPickup"}}}]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_Tesla_min=1] ~ ~ ~ summon ArmorStand ~ ~-1.349 ~ {CustomName:"TCMain",Invisible:1,NoGravity:1,Equipment:[{},{},{},{},{id:beacon,tag:{display:{Name:"TCPickup"}}}]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[score_TC_BlockID_min=1,score_TC_BlockID=1] ~ ~ ~ execute @e[r=1,score_TC_BlockID_min=2,score_TC_BlockID=2] ~ ~ ~ kill @e[score_TC_BlockID_min=1,score_TC_BlockID=2,r=5,c=2]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] TC_BlockID 2 {Item:{id:"minecraft:hopper"}}},Time:1,}}}}}}}}}}}}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:gamerule commandBlockOutput false},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"fill ~2 ~-2 ~ ~2 ~13 ~ redstone_block"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~2 ~-1 ~-1 command_block 0 replace {Command:/fill ~ ~ ~1 ~ ~15 ~1 stone 0 replace redstone_block}"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~2 ~ ~1 command_block 0 replace {Command:/fill ~ ~ ~-1 ~ ~15 ~-1 redstone_block 0 replace stone}"},Time:1,Riding:{id:"FallingSand",Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}
http://mrgarretto.com/cmd/teslacoils 를 참고하셔도 좋습니다.
4. 참고사항
제작자 홈페이지 : http://mrgarretto.com/
관련 유튜브 동영상 : https://youtu.be/ItgMDo8rXzE
'마인크래프트 > 원커맨드 모드' 카테고리의 다른 글
[환경 추가] 플레이어 발자국 (1) | 2015.09.01 |
---|---|
[작물 추가] 모 푸드 (0) | 2015.08.31 |
[무기, 방어구 추가] 닌자가 되는 법 (4) | 2015.08.26 |
[기능 추가] 트리캐피테이터 (찹 트리) (1) | 2015.08.26 |
[환경 추가] 블러드 문 (3) | 2015.08.25 |