public override void KillMultiTile(int i, int j, int frameX, int frameY)
        {
            TileEntities.SimpleBloodAnalyzer analyzer = Utility.GetTileEntity <TileEntities.SimpleBloodAnalyzer>(i, j);
            PanelUI.Instance.CloseUI(analyzer);

            Item.NewItem(i * 16, j * 16, 48, 32, ModContent.ItemType <Items.SimpleBloodAnalyzer>());
            analyzer.Kill(i, j);
        }
        public override void SpecialDraw(int i, int j, SpriteBatch spriteBatch)
        {
            TileEntities.SimpleBloodAnalyzer analyzer = Utility.GetTileEntity <TileEntities.SimpleBloodAnalyzer>(i, j);
            if (analyzer?.npcType == null || !Main.tile[i, j].IsTopLeft())
            {
                return;
            }

            Vector2 position = new Point16(i, j).ToScreenCoordinates();

            spriteBatch.Draw(Main.magicPixel, new Rectangle((int)(position.X + 18), (int)(position.Y + 2), 12, 28), new Color(145, 7, 0));
        }
        public override bool NewRightClick(int i, int j)
        {
            if (Main.LocalPlayer.HeldItem.modItem is Syringe syringe && syringe.npcType != null)
            {
                TileEntities.SimpleBloodAnalyzer analyzer = Utility.GetTileEntity <TileEntities.SimpleBloodAnalyzer>(i, j);

                if (analyzer.npcType == null)
                {
                    analyzer.npcType = syringe.npcType;
                    syringe.npcType  = null;
                }
            }

            return(true);
        }