LEMONY1199
대표칭호 없음
이해도 | 중급자 |
---|---|
게임버전 (JE) | 관련없음 |
게임버전 (BE) | 관련없음 |
커맨드로 무빙워크를 만들었는데 이 커맨드를 스크립트로 바꾸는 방법을 모르겠네요.
커맨드 입니다
[1] 반복
execute as @a at @s if block ~ ~-0.001 ~ minecraft:magenta_glazed_terracotta[facing=north] run tp @s ~ ~ ~0.3
[2] 연쇄
execute as @a at @s if block ~ ~-0.001 ~ minecraft:magenta_glazed_terracotta[facing=south] run tp @s ~ ~ ~-0.3
[3] 연쇄
execute as @a at @s if block ~ ~-0.001 ~ minecraft:magenta_glazed_terracotta[facing=east] run tp @s ~-0.3 ~ ~
[4] 연쇄
execute as @a at @s if block ~ ~-0.001 ~ minecraft:magenta_glazed_terracotta[facing=west] run tp @s ~0.3 ~ ~
방법을 아시는분은 꼭 알려주세요!
최적화도 가능하시면.. ㅎㅎ
슈퍼레몬
14 일 전그냥 걸었을때 밑에블럭 감지해서 루프 돌리면 안되나요?
LEMONY1199
14 일 전해보려고 했는데.. 자꾸 오류떠서요..
슈퍼레몬
14 일 전코드랑 오류 보내주세요
LEMONY1199
14 일 전그리고 계속 작동되게 하고싶은데 걸었을때로 하면 걸을때만 작동해서여..
슈퍼레몬
14 일 전Loop 나 while 쓰세요
LEMONY1199
14 일 전on walk:
if block below player is magenta_glazed_terracotta:
if facing of player is north:
teleport player to location of player offset by 0.3 in the z direction
else if facing of player is south:
teleport player to location of player offset by -0.3 in the z direction
else if facing of player is east:
teleport player to location of player offset by -0.3 in the x direction
else if facing of player is west:
teleport player to location of player offset by 0.3 in the x direction
LEMONY1199
14 일 전참고로 챗지피티랑 같이 만든거라 오류가..
LEMONY1199
14 일 전오류는 on walk: 하나 뜨네요
슈퍼레몬
14 일 전일단 스크에서는 언더바를 사용하지 않습니다.
슈퍼레몬
14 일 전On walk on 블럭
슈퍼레몬
14 일 전안되시면 sk info버전 보여주세요
LEMONY1199
14 일 전디스코드로 보내드렸습니다