Decorated pot pattern definition
A decorated pot pattern defines the texture of the decorated pot side, provided by each item via the provides_pottery_pattern data component.
Usage
[edit | edit source]Vanilla usages
[edit | edit source]List of pattern usage in vanilla. The 'Item' column lists the item whose provides_pottery_pattern component data contains a specific pattern. The 'Pattern' column shows the pattern name (with the minecraft: namespace omitted). The 'Asset ID' column lists the asset_id defined for each pattern, and the 'Texture' column shows the texture associated with that asset ID.
| Item | Pattern | Asset ID | Texture |
|---|---|---|---|
| angler | angler_pottery_pattern | ||
| archer | archer_pottery_pattern | ||
| arms_up | arms_up_pottery_pattern | ||
| blade | blade_pottery_pattern | ||
| brewer | brewer_pottery_pattern | ||
| burn | burn_pottery_pattern | ||
| danger | danger_pottery_pattern | ||
| explorer | explorer_pottery_pattern | ||
| flow | flow_pottery_pattern | ||
| friend | friend_pottery_pattern | ||
| guster | guster_pottery_pattern | ||
| heart | heart_pottery_pattern | ||
| heartbreak | heartbreak_pottery_pattern | ||
| howl | howl_pottery_pattern | ||
| miner | miner_pottery_pattern | ||
| mourner | mourner_pottery_pattern | ||
| plenty | plenty_pottery_pattern | ||
| prize | prize_pottery_pattern | ||
| scrape | scrape_pottery_pattern | ||
| sheaf | sheaf_pottery_pattern | ||
| shelter | shelter_pottery_pattern | ||
| skull | skull_pottery_pattern | ||
| snort | snort_pottery_pattern |
Some 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 decorate_pot recipe.
Data component
[edit | edit source]When used on the shards of the decorated_pot block entity, the item with the provides_pottery_pattern 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 special item model, set the type to decorated_pot, by the pot_decorations component.
In addition to the use of commands, an item's pot_decorations component can be defined as the result of a recipe of the crafting_decorated_pot type. The shards block entity NBT tag can be set by placing a decorated pot that has the pot_decorations component.
Items without the component, use the asset ID decorated_pot_side in the corresponding side. The same applies when the side is not defined, or when the shards NBT tag (for blocks) or the pot_decorations component is not defined, using that side texture for all faces.
Definition
[edit | edit source]Decorated pot pattern can be defined in data packs, as part of the directory structure below.
data pack name.zip or
data pack name
pack.mcmeta
data
namespace
decorated_pot_pattern
<name>.json
- More directories…
JSON format
[edit | edit source]Decorated pot pattern have the following format:
- [NBT Compound / JSON Object] The root object.
- [String] asset_id: A asset id from texture in assets\minecraft\textures\entity\decorated_pot\<asset_id>.png.
History
[edit | edit source]| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 26.3 | snap4 | Decorated pot patterns can now be defined in data packs. | |||||