이해도 | 중급자 |
---|---|
게임버전 (JE) | 1.20.1 |
게임버전 (BE) | 관련없음 |
하나의 블록 디스플레이를 소환 하고 이 블록디스플레이가 플레이어를 따라 다니게 tp 시키는 것은 가능한데, 여러 블럭 디스플레이들을 Passengers명령어를 사용해서 소환하면 rotation은 tp가 되는데 position이 tp가 되지 않습니다. 이 문제를 어떻게 해결해야 할까요?
질문 요약: 여러 개의 블록 디스플레이가 플레이어를 따라다니게 하고 싶다.
-블록 디스플레이 소환 명령어-
execute align xyz run summon block_display ~ ~1 ~ {Passengers:[{id:"minecraft:block_display",block_state:{Name:"minecraft:iron_block",Properties:{}},Tags:["engine"],transformation:[1.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.2000f,0.0000f,0.0000f,-1.0000f,0.0000f,1.0000f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:iron_block",Properties:{}},Tags:["engine"],transformation:[1.0000f,0.0000f,0.0000f,0.0000f,0.0000f,1.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.2000f,1.0000f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:iron_block",Properties:{}},Tags:["engine"],transformation:[1.0000f,0.0000f,0.0000f,0.0000f,0.0000f,1.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.2000f,-0.1875f,0.0000f,0.0000f,0.0000f,1.0000f]}]}
-블록 디스플레이를 플레이어 에게 tp 시키는 명령어- (여기서 tag:engineown은 플레이어, tag:engine은 블록 디스플레이 입니다.)
execute as @e[tag=engineown] at @s run tp @e[tag=engine] ^ ^ ^ ~ ~
김형원
2023.08.08rotationㅇㅡㄴ tp가 되는데 position은 tp가 안 된다는게 무슨 말인가요?
각도는 돌아가지만, 위치는 변하지 않는다는 말인가요?
조틸럭스
2023.08.08네 그렇습니다
김형원
2023.08.08tp @e[tag=engine] @a[tag=engineown,limit=1]
이걸로 해보세요