Implement "tilefromtexture" def command and all required components.