마인크래프트 be 커맨드 질문
-
게시물 수정 , 삭제는 로그인 필요
영상처럼 1번칸(왼쪽 커맨드) 빨간색 양털을 들면 빨간색 양털이 사라지고 몇초뒤 다시 플레이어한테 빨간색 양털이 주어지는게 반복됩니다.
하지만 2번칸(오른쪽 커맨드)의 녹색 양털을 들면 처음에는 잘 주어지지만 2번째 부터는 레드스톤이 사라지지 않아 버그가 나게 됩니다.
왼쪽커맨드와 오른쪽 커맨드의 (조건, 레드스톤, 유형과 커맨드 속 명령어)는 거의 똑같이 해놓은 상태입니다.
명령어 작성은 이렇게 해놨습니다.
왼쪽 커맨드(빨간색 양털) 아랫부분 :
1 /testfor @a[scores={sword=1},hasitem={item=red_wool,location=slot.weapon.mainhand}]
2 /setblock 17 -57 16 redstone_block
3 /replaceitem entity @a[scores={sword=1}] slot.hotbar 0 air
4 /execute at @a[scores={sword=1}] run damage @e[scores={sword=0},r=6] 5
5 /execute at @a[scores={sword=1}] run particle minecraft:dragon_death_explosion_emitter
왼쪽 커맨드(빨간색 양털) 윗부분 :
1 /replaceitem entity @a[scores={sword=1}] slot.hotbar 0 red_wool (지연시간 35틱)
2 /setblock 17 -57 16 air
로 해놓은 상태이고
오른쪽 커맨드(녹색 양털) 아랫부분 :
1 /testfor @a[scores={sword=1},hasitem={item=green_wool,location=slot.weapon.mainhand}]
2 /setblock 17 -57 18 redstone_block
3 /replaceitem entity @a[scores={sword=1}] slot.hotbar 1 air
오른쪽 커맨드(녹색 양털) 윗부분 :
1 /replaceitem entity @a[scores={sword=1}] slot.hotbar 1 green_wool(지연시간 50틱)
2 /setblock 17 -57 18 air
이렇게 해놓은 상태입니다.
이거 어떻게해야 녹색양털이 지급되지 않는 버그를 고칠수 있을까요 ㅠㅠ
커맨드 고수분들 알려주세요ㅠㅠ
왼쪽커맨드와 오른쪽 커맨드의 (조건, 레드스톤, 유형과 커맨드 속 명령어)는 거의 똑같이 해놓은 상태입니다.
왼쪽 커맨드(빨간색 양털) 아랫부분 :
1 /testfor @a[scores={sword=1},hasitem={item=red_wool,location=slot.weapon.mainhand}]
2 /setblock 17 -57 16 redstone_block
3 /replaceitem entity @a[scores={sword=1}] slot.hotbar 0 air
왼쪽 커맨드(빨간색 양털) 윗부분 :
1 /replaceitem entity @a[scores={sword=1}] slot.hotbar 0 red_wool (지연시간 35틱)
2 /setblock 17 -57 16 air
로 해놓은 상태이고
오른쪽 커맨드(녹색 양털) 아랫부분 :
1 /replaceitem entity @a[scores={sword=1}] slot.hotbar 1 green_wool(지연시간 50틱)
#마인크래프트 be #마인크래프트 be 모드 사이트 #마인크래프트 be 쉐이더 #마인크래프트 be 모드 #마인크래프트 be 서버 #마인크래프트 be 리소스팩 #마인크래프트 be 탈출맵 #마인크래프트 be 맵 #마인크래프트 be 리소스팩 적용법 #마인크래프트 be 엑스레이