Does Re-Logic allow the creation of Terraria fangames?

Hello, everyone! Hope you're all doing well.

The title already sums up my question. I couldn't find relevant discussions on this topic, and recently, I started considering the idea of creating a project inspired by Terraria. Maybe a card game, a traditional roguelike, or a turn-based RPG – I haven't decided yet.

However, I'm concerned about starting this project and unintentionally infringing copyright by using the game's sprites, music, or sound effects.

Does anyone have any insights on this? Thanks in advance!