개인 자료란 (JE)

  서버 커뮤니티

Profile 마그신 대표칭호 없음
Profile

질문하기 커맨드

오랜만에 마인크래프트 하는데 아이템 태그 관련해서 질문합니다.

2025.02.10 조회 수 57 추천 수 0
이해도 초보자 
게임버전 (JE) 1.21.3 
게임버전 (BE) 관련없음 

예전처럼 아이템을 얻을 때

/give @s minecraft:stone{Tags:["dd"]} 이런 식의 구문이 안 먹혀서

/give @s minecraft:stone[minecraft:custom_data={Tags:["dd"]}] 이렇게 쓴다는 것 까지는 이해를 했는데

이렇게 얻은 아이템은 커맨드에서 어찌 감지하나요?;; 왼손에 든 걸 감지하고 싶어서

execute as @a[nbt={Inventory:[{id:"minecraft:stone",Slot:-106b,tag:{Tags:["dd"]}}]}] at @s say 1

이렇게 했더니 실행이 안되네요; 그냥 tag:{"dd"}로 해도 마찬가지고.. custom_data:{Tags:["dd"]} 이렇게 해도 안되구요..

4개의 댓글

작은콘
2025.02.10

execute as @a[nbt={Inventory:[{id:"minecraft:stone",Slot:-106b,tag:{Tags:["dd"]}}]}] at @s run say 1

이것도 안되려나

노을넴
2025.02.10

위키는 찾아보셨나욘?

Sidite
2025.02.11

nbt={} 아이템 감지는 deprecated입니다. if items 사용하세요.

/execute as @a if items entity @s weapon.offhand *[minecraft:custom_data={Tags:["dd"]}] at @s run say Hello world!

마그신
2025.02.11
@Sidite

감사합니다!

뉴스 및 창작물
/files/thumbnails/528/169/004/262x150.crop.jpg?20260301145407

건축

정신병원 탈출맵을 제작중이예요 :> 2

SHALDOPlus

2026-03-01

2

/files/thumbnails/472/161/004/262x150.crop.jpg?20260208155607

나의 GPU ☠️💀 3

SHALDOPlus

2026-02-08

0

/files/thumbnails/602/157/004/262x150.crop.jpg?20260130141854

상품

《마인크래프트 대탈출 게임 만들기》 출간!

다코미

2026-01-30

0

/files/thumbnails/873/156/004/262x150.crop.jpg?20260128131439

상품

《마인크래프트 블록 완벽 가이드》 출간!

다코미

2026-01-28

0

/files/thumbnails/317/150/004/262x150.crop.jpg?20260110144415

건축

광화문 구 경기도청사(1988)

창공

2026-01-10

2