public ItemData(Item NewItem) { Name = NewItem.Name; //MyTexture = NewItem.MyTexture; Durability = NewItem.Durability; Quantity = NewItem.Quantity; MaxQuantity = NewItem.MaxQuantity; BlockIndex = NewItem.BlockIndex; MyItemType = NewItem.MyItemType; ModelId = NewItem.ModelId; MyItemType = NewItem.MyItemType; MyTextureId = NewItem.GetTextureIndex(); Damage = NewItem.Damage; }