Hi!
I'd like to create a tank-like block, which works fine. But I struggle with binding the fluid's texture to the renderer. Is there a way to get a resource location from an IIcon or to bind an IIcon to an Tile Entity Renderer?
My only idea to do so would be to get the IIcon's icon name (TextureAtlasSprite#getIconName()) and then create a new Resource Location with that. But that doesn't work, since it doesn't give the textures domain or "path", only the file's name.
Thanks in advance