How to replace tileset of selected objects in MineRL environments?

Can anyone advise how we can replace tileset of selected objects in MineRL environments?

Could you please share helpful links (like GitHub permalinks, etc.) that explain how to do this?

Can we change the tileset in prerecorded episodes from the Imitation Learning (human player) dataset?

We want to create a binary mask channel for some objects to test our approach. To do this, we plan to replace a set of tiles of some objects with a unique color in order to create masks for these objects using a simple color threshold. Or maybe there is an easier way to get such object related masks?