|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| Color Terraria.Item.color |
Draws the item sprite with a colored tint. Gel and Sharkfin use this to spawn different colored items from the same ItemID. NetMessage.SendData(88, ...) needs to be used to sync this if not done in SetDefaults.
Defaults to P:Microsoft.Xna.Framework.Color.Transparent
Definition at line 506 of file Item.cs.
Referenced by Terraria.DataStructures.ItemSyncPersistentStats.CopyFrom(), Terraria.UI.ItemSlot.DrawItemIcon(), Terraria.DataStructures.PlayerDrawLayers.DrawPlayer_27_HeldItem(), Terraria.ModLoader.Config.UI.ItemDefinitionOptionElement.DrawSelf(), Terraria.GameContent.Drawing.TileDrawing.DrawSpecialTilesLegacy(), Terraria.Item.GetAlpha(), Terraria.Item.GetColor(), Terraria.Item.ResetStats(), Terraria.Item.SetDefaults1(), Terraria.Item.SetDefaults4(), Terraria.Item.SetDefaults5(), and Terraria.Item.UpdateItem_VisualEffects().