본문으로 건너뛰기

아이템 컴포넌트 레퍼런스 (4/11)

MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 레퍼런스를 발췌한 쪽이다. 원문의 상대 링크는 제거했다.

(출처: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_icon.md)

Items Documentation - minecraft:icon​

Determines the icon to represent the item in the UI and elsewhere.

[!Note] This item requires a format version of at least 1.20.0.

Alternate Simple Representations​

This item can also be represented as a String.

Icon Properties​

NameDefault ValueTypeDescriptionExample Values
texturesnot setTextures itemThis map contains the different textures that can be used for the item's icon.Black Bundle: {"default":"bundle_black"}, Blue Bundle: {"default":"bundle_blue"}, Brown Bundle: {"default":"bundle_brown"}
texturenot setStringDeprecated - no longer in use. This contains a single texture for the items icon.Apple: "apple", Breeze Rod: "breeze_rod", Ominous Trial Key: "ominous_trial_key"
textures​

This map contains the different textures that can be used for the item's icon. Default will contain the actual icon texture. Armor trim textures and palettes can be specified here as well. The icon textures are the keys from the resource_pack/textures/item_texture.json 'texture_data' object associated with the texture file.

Textures​

Textures Properties​

JSON path: textures

NameDefault ValueTypeDescriptionExample Values
defaultnot setStringBlack Bundle: "bundle_black"

Samples​

"minecraft:icon": "oak_slab"

Apple​

"minecraft:icon": {
"texture": "apple"
}

Black Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_black"
}
}

Blue Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_blue"
}
}

Breeze Rod​

"minecraft:icon": {
"texture": "breeze_rod"
}

Brown Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_brown"
}
}

Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle"
}
}

Cyan Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_cyan"
}
}

Gray Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_gray"
}
}

Green Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_green"
}
}

Light Blue Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_light_blue"
}
}

Light Gray Bundle​

"minecraft:icon": {
"textures": {
"default": "bundle_light_gray"
}
}

(출처: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_interact_button.md)

Items Documentation - minecraft:interact_button​

A boolean or string that determines if the interact button is shown in touch controls, and what text is displayed on the button. When set to 'true', the default 'Use Item' text will be used.

출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13