setItemName
inline fun ItemStack.setItemName(baseText: String? = null, builder: LiteralTextBuilder.() -> Unit = {})(source)
Opens a LiteralTextBuilder to change the minecraft:item_name
item component of the item stack. Names set by minecraft:item_name
would behave as the default name of this item (for example it will not show up when hovering an item frame with this item stack in it). Sets DataComponents.ITEM_NAME.