rebar
Creates a new ItemStack for a RebarItem by setting the name and lore to the default translation keys, and setting the item's Rebar ID to the provided key.
fun rebar(stack: ItemStack, key: NamespacedKey, consumer: (ItemStackBuilder, Config) -> Any): ItemStackBuilder(source)
fun rebar(material: Material, key: NamespacedKey, consumer: (ItemStackBuilder, Config) -> Any): ItemStackBuilder(source)
Creates a new ItemStack for a RebarItem by setting the name and lore to the default translation keys, and setting the item's Rebar ID to the provided key.
The provided consumer is called with the created ItemStackBuilder and the Settings for the item, allowing you to further customize the item based on its config.