Minecraft:Decorated pot pattern: Difference between revisions
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| Line 61: | Line 61: | ||
|- | |- | ||
|} | |} | ||
Some [[Minecraft:decorated pot]]s are naturally generated in trial chambers, with one of these items defining the texture. Additionally, it is possible to craft a decorated pot using any of these items via the vanilla {{cd|decorate_pot}} recipe. | |||
=== Data component === | === Data component === | ||
| Line 68: | Line 70: | ||
An item with this component also defines the decorated pot side used in item models; when using the {{cd|special}} item model, set the type to [[Minecraft:Items_model_definition#decorated_pot|{{cd|decorated_pot}}]], by the {{DCL|pot_decorations}} component. | An item with this component also defines the decorated pot side used in item models; when using the {{cd|special}} item model, set the type to [[Minecraft:Items_model_definition#decorated_pot|{{cd|decorated_pot}}]], by the {{DCL|pot_decorations}} component. | ||
Items without the component, use the asset ID {{cd|decorated_pot_side}}. | In addition to the use of commands, an item's {{cd|pot_decorations}} component can be defined as the result of a recipe of the {{cd|[[Minecraft:Recipe_(Java_Edition)#crafting_decorated_pot|crafting_decorated_pot]]}} type. The {{cd|shards}} block entity NBT tag can be set by placing a decorated pot that has the {{cd|pot_decorations}} component. | ||
Items without the component, use the asset ID {{cd|decorated_pot_side}} in the corresponding side. The same applies when the side is not defined, or when the {{cd|shards}} NBT tag (for blocks) or the {{cd|pot_decorations}} component is not defined, using that side texture for all faces. | |||
[[File:Decorated Pot (side texture).png|40px|class=pixel-image]] | [[File:Decorated Pot (side texture).png|40px|class=pixel-image]] | ||
Revision as of 11:04, 7 July 2026
Template:Exclusive Template:In development
Decorated pot pattern defines the texture of the Minecraft:decorated pot side, provided by each item via the Template:DCL data component.
Usage
Vanilla usages
List of pattern usage in vanilla. The 'Item' column lists the item whose Template:Cd component data contains a specific pattern. The 'Pattern' column shows the pattern name (with the Template:Cd namespace omitted). The 'Asset ID' column lists the Template:Cd defined for each pattern, and the 'Texture' column shows the texture associated with that asset ID.
Some Minecraft:decorated pots are naturally generated in trial chambers, with one of these items defining the texture. Additionally, it is possible to craft a decorated pot using any of these items via the vanilla Template:Cd recipe.
Data component
When used on the Template:Cd of the [[Minecraft:Decorated_Pot#Block_data|Template:Cd]] block entity, the item with the Template:DCL data component defines the corresponding side of the block.
An item with this component also defines the decorated pot side used in item models; when using the Template:Cd item model, set the type to [[Minecraft:Items_model_definition#decorated_pot|Template:Cd]], by the Template:DCL component.
In addition to the use of commands, an item's Template:Cd component can be defined as the result of a recipe of the Template:Cd type. The Template:Cd block entity NBT tag can be set by placing a decorated pot that has the Template:Cd component.
Items without the component, use the asset ID Template:Cd in the corresponding side. The same applies when the side is not defined, or when the Template:Cd NBT tag (for blocks) or the Template:Cd component is not defined, using that side texture for all faces.
Definition
Decorated pot pattern can be defined in Minecraft:data packs, as part of the directory structure below.
JSON format
Decorated pot pattern have the following format:
- Template:Nbt The root object.
- Template:Nbt: A asset id from texture in assets\minecraft\textures\entity\decorated_pot\<asset_id>.png.