태그가 대상에게 붙질 않음
분명 오류는 없다는데 대상을 찾지 못했다라는 오류 마나도 나오지 않음
밑은 커맨드임
반복, 무조건
execute at @a[nbt={Inventory:[{id:"minecraft:knowledge_book",compone
nts:{"minecraft:item_name":'"시즈파인 안전장치"'}}]}] run tag @s add sizfine
run 뒤에 실행할 명령어가 tag인데, 혹시나 해서 say로 바꿔봤더니
say는 또 작동을 해
@s로 커맨드를 작동시킨 대상을 찾지 못하는걸까?
at는 대상의 위치를 지정함. as는 대상을 정하는거고 tag는 대상이 필요함 /execute as @a if items entity @s container.* minecraft:knowledge_book[minecraft:item_name='"시즈파인 안전장치"'] run tag @s add sizfine
이해했음 ㄳ !