Skip to main content

tag_name

Function tag_name 

Source
pub fn tag_name(kind: &str, id: &str) -> String
Expand description

A tag’s name in the player’s language — kind the content’s (item, block, entity, fluid, biome), id the tag’s (yog:ingots/iron): the translation recipe viewers show (tag.item.yog.ingots.iron), else the id itself.