-
Notifications
You must be signed in to change notification settings - Fork 100
Thick Rings Texture Script
In 1.12, the texture for thick rings was dynamically generated and use within the game. However in 1.16 the strict limitations put onto texture managment has made this a challenging task to achieve. Until this is successfully implemented we have come up with a way to continue using thick rings without generating a texture during run time so that addon developers can continue creating their own thick trees.
First of all you will need the texture of the thin version of the rings. For example, for oak, this is located in Minecraft's assets inside
assets/minecraft/textures/block/oak_log_top.png
- For Windows just download the first link, then extract the .rar using any program such as winrar or 7zip. Then navigate inside the folder and find the thickRings.exe file.
- For Mac and Linux you will have to have python installed and basic understanding of your OS' console. Download the second link then install the required libraries (numpy, cv2, tkinter). You will be then able to run the script through your console using the python3 command.
To actually generate the thick rings texture, you can either just execute the script/.exe and wait for it to open the explorer to locate your thin rings texture, or instead drag the texture on top of the file to make it generate them automatically, this also works through a shortcut.
Once your texture is generated it will appear in the same folder you executed the script in, all that is left to do is to use it in your addon/treepack. This file should always be placed in the same folder that its thin counterpart is found.
In the example given before with the oak log, you must then place the new generated image in
assets/minecraft/textures/block/oak_log_top_thick.png
Of course within your own resourcepack's assets or mod's assets.