Skip to content

Extra Features

lychee:tag

You can use lychee:tag in Ingredient or ItemStack to assign a NBT tag to the item. When used in Ingredient, it is expected that this is only for better presentation in JEI / REI.

Example

{
    "item": "diamond_sword",
    "lychee:tag": {
        "display": {
            "Name": "{\"text\":\"Lychee\"}"
        }
    }
}

String tag value is also supported.

lychee:biome_tag

You can use lychee:biome_tag in LocationPredicate to specify biome tag.

lychee:lightning_immune

This entity-type tag is used to make entity immune to lightning damage and to prevent them from starting fires when struck by lightning.

lychee:lightning_fire_immune

This entity-type tag is used to prevent entity from starting fires when struck by lightning.