Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Using Minecraft textures in Mineclonia

For when you want to look as close to Minecraft as possible, you can adapt a texture pack. There's multiple ways to do it. You can read my raw research notes down below. This is the official way I accomplished it to my satisfaction.

Building the texture pack

Adapting Minecraft texture

Download the conversion tool from https://codeberg.org/ostech/craft_to_clonia_textures. I compiled the source but binaries are also provided. Run it once to build a config.json and input directory.

Download the original textures from somewhere. I used https://github.com/Faithful-Pack/Default-Java but the Internet suggests that https://mcversions.net/ is a main place for that too. I placed them in new subdirectory input/, so input/Default-Java.

Here is my config.json.

{
"DefinedInput": false,
"DefinedOutput": true,
"ExportMinetest_Game": false,
"ExportMineclonia": true,
"InputDir": "./input",
"OutputDir": "/home/bgstack15/Downloads/converted4"
}

To use the configured OutputDir, you need to set DefinedOutput=true. Then run it, and place the new directory in ~/.var/app/net.minetest.Minetest/.minetest/textures. I called mine mc01 and customized the texture_pack.conf.

For my own systems, I tarballed it as .

References

  1. Faithful-Pack/Default-Java: The latest default textures of Minecraft Java Edition
  2. Minecraft Texture Pack - Page 2 - Luanti Forums

Research and alternatives

  1. get source assets from https://github.com/Faithful-Pack/Default-Java and used mineclonia tools/Texture_Converter.py which got almost everything. Made grass and water gray instead of green/blue.
  2. used same source assets, and project https://forum.luanti.org/viewtopic.php?p=443213#p443213

Comments