Item Variants

Item variants are a new tooltip field used by similar items to group them together & shorten long item names.

List of Variants

baked

black

blue

brown

chipped

chiseled

coarse

cooked

cracked

cut

cyan

damaged

dead

deepslate

dried

enchanted

exposed

flowering

gray

green

large

light_blue

light_gray

lime

magenta

medium

mosaic

mossy

ochre

orange

oxidized

pearlescent

pink

polished

purple

raw

red

small

smooth

stripped

verdant

weathered

white

yelloyellow

Item Variant Definition

The JSON definition for variants is the same as tags:

Files are placed in assets/[namespace]/variants/

If adding a new variant type, the system will expect a translation for that variant:

  • variant.item.dried

When an item is listed inside a variant definition, it's backend translation key will expect a .variant suffix appended to it:

  • block.minecraft.dried_kelp_block -> block.minecraft.dried_kelp_block.variant

The variant system adds the translated variant key to the item's tooltip, under the name. It is expected that the item's variant translation simply removes the variant's name from it.

  • Dried Kelp Block -> Kelp Block

Last updated