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

◆ FitsFoodPlatter()

static bool Terraria.GameContent.Tile_Entities.TEFoodPlatter.FitsFoodPlatter ( Item i)
inlinestatic

Definition at line 171 of file TEFoodPlatter.cs.

172 {
173 if (i.stack > 0)
174 {
175 return ItemID.Sets.IsFood[i.type];
176 }
177 return false;
178 }
static bool[] IsFood
If true for a given item type (F:Terraria.Item.type), then that item is food. Food items can be pla...
Definition ItemID.cs:446

References Terraria.ID.ItemID.Sets.IsFood, Terraria.Item.stack, and Terraria.Item.type.

Referenced by Terraria.GameContent.Tile_Entities.TEFoodPlatter.OnPlayerInteraction().

+ Here is the caller graph for this function: