The Skybox4mc project provides a simple CLI tool to convert UV maps to cubemaps. Additionally, it creates a Minecraft ressource pack to use this UV map in game so you don't have to build it yourself. The ressource pack is compatible with OptiFine and FabricSkyboxes.
- Download the latest release
- Extract the files
- Done
General case: call <path to the Skybox4mc executable> <additional parameters>.
The tool has up to 6 optional parameters:
inputImagePathspecifies the path to the input image. Default:./inputImage.jpg.outputArchivePathspecifies the path to the output archive. Default:./outputArchive.zip.outputImageTileDimensionsspecifies the dimensions of the output image tiles. Default:2048.previewImageDimensionsspecifies the dimensions of the preview image. Default:256.packFormatspecifies the Minecraft ressource pack format. Default:1corresponds to a pack made for Minecraft1.8.9. More information available on the wiki.packDescriptionspecifies a custom pack description.
!!! The additional parameters need to be specified in the right order.