Joostmod/Treasure Goblin

The Treasure Goblin is a rare Hardmode. It spawns stationary, but will run away from players once attacked. While fleeing, it will run up walls and occasionally drop coins. If the Treasure Goblin finds itself stuck, it will open a portal to escape from.

It can be detected with the Lifeform Analyzer. The goblin also appears on the minimap.