Minecraft:Decorated pot pattern definition
More actions
Template:Exclusive Template:In development
A 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.