TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ IsAMaterial

bool [] Terraria.ID.ItemID.Sets.IsAMaterial = Factory.CreateBoolSet()
static

Indicates that an item should show the material tooltip. Typically this means that the item is used in at least 1 recipe, but some items such as coins and void bag hide the tooltip for aesthetic reasons.

Definition at line 379 of file ItemID.cs.

Referenced by Terraria.ModLoader.NPCShopDatabase.FinishSetup(), Terraria.ID.ContentSamples.FixItemsAfterRecipesAreAdded(), Terraria.Item.SetDefaults(), Terraria.Recipe.UpdateItemVariants(), Terraria.Recipe.UpdateMaterialFieldForAllRecipes(), and Terraria.Recipe.UpdateWhichItemsAreMaterials().