Put the .jar file into input/mods, and the script will take care of extracting all textures with "leaves" in their name.
The _temp folder is purely symbolic here, it will only exist for a few milliseconds during the extraction process.
## Building
Download the latest stable Python 3 release from the official
website
- or using winget in PowerShell:
+ or using winget in PowerShell:
```bash
winget install -e --id Python.Python.3.13.1
@@ -74,16 +75,16 @@ You can get it on any modern operating system.
On most systems, Python should already be installed by default.
- Else, just install Python using your distro's package manager.
+ Else, just install Python using your distro's package manager.
- Arch Linux:
+ Arch Linux:
```bash
pacman -S python
```
In case you haven't already, install Homebrew according to the
official instructions.
- Now, you can just install python using the following command:
+ Now, you can just install python using the following command:
```bash
brew install python
@@ -91,8 +92,8 @@ You can get it on any modern operating system.
-Now that you have python installed, head back into the BetterLeavesLite directory.
-Here, you should now open a terminal window and run
+Now that you have python installed, head back into the BetterLeavesLite directory.
+Here, you should now open a terminal window and run
```bash
pip install -r requirements.txt
```
@@ -100,12 +101,12 @@ To build the pack, execute the script using the following command:
```bash
python3 gen_pack.py 1.0 Your Edition
```
-Replace "1.0" with your desired version number and "Your Edition" with the name you'd like to appear in the resourcepack description ingame.
+Replace "1.0" with your desired version number and "Your Edition" with the name you'd like to appear in the resourcepack description ingame.
And in no time, the script will generate a ready-to-use zip file with your desired content.
## Irregularities and Missing Textures Texture stitching allows you to use custom sub-textures while generating the bushy texture
+
+`input/assets/environmental/blue_wisteria_leaves_top.betterleaves.json`:
+```json
+{
+ "textureStitching": {
+ "1-3": "environmental:block/wisteria_leaves",
+ // Unspecified parts will use the regular leaf texture
+ "7-9": "environmental:block/blue_wisteria_leaves"
+ }
+ ...
+}
+```