mirror of
https://github.com/TeamMidnightDust/BetterLeavesLite.git
synced 2025-12-16 20:35:08 +01:00
Compare commits
5 Commits
dev-9.3
...
cff1c35d29
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cff1c35d29 | ||
|
|
d64113846e | ||
|
|
0b3142022c | ||
|
|
15cae3502f | ||
|
|
29ab1008dc |
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@@ -43,6 +43,7 @@ jobs:
|
|||||||
version: ${{ inputs.version }}
|
version: ${{ inputs.version }}
|
||||||
version-type: release
|
version-type: release
|
||||||
loaders: minecraft
|
loaders: minecraft
|
||||||
|
changelog-file: CHANGELOG.*
|
||||||
|
|
||||||
game-versions: |
|
game-versions: |
|
||||||
>=1.20
|
>=1.20
|
||||||
@@ -52,7 +53,7 @@ jobs:
|
|||||||
- name: Upload programmer art version
|
- name: Upload programmer art version
|
||||||
uses: Kir-Antipov/mc-publish@v3.3
|
uses: Kir-Antipov/mc-publish@v3.3
|
||||||
with:
|
with:
|
||||||
modrinth-id: wip
|
modrinth-id: QXePegVz
|
||||||
modrinth-featured: true
|
modrinth-featured: true
|
||||||
modrinth-unfeature-mode: subset
|
modrinth-unfeature-mode: subset
|
||||||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
@@ -60,12 +61,13 @@ jobs:
|
|||||||
curseforge-id: 1247519
|
curseforge-id: 1247519
|
||||||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||||
|
|
||||||
files: ./Better-Leaves-(Programmer-Art)-${{ inputs.version }}.zip
|
files: ./Better-Leaves-\(Programmer-Art\)-${{ inputs.version }}.zip
|
||||||
|
|
||||||
name: Better Leaves (Programmer Art) ${{ inputs.version }} - 1.20+
|
name: Better Leaves (Programmer Art) ${{ inputs.version }} - 1.20+
|
||||||
version: ${{ inputs.version }}
|
version: ${{ inputs.version }}
|
||||||
version-type: release
|
version-type: release
|
||||||
loaders: minecraft
|
loaders: minecraft
|
||||||
|
changelog-file: CHANGELOG.*
|
||||||
|
|
||||||
game-versions: |
|
game-versions: |
|
||||||
>=1.20
|
>=1.20
|
||||||
|
|||||||
50
.github/workflows/publish_programmer.yml
vendored
Normal file
50
.github/workflows/publish_programmer.yml
vendored
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
name: Build & Publish Resourcepack (only Programmer Art Edition)
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: 'The version name'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up Python 3.10
|
||||||
|
uses: actions/setup-python@v3
|
||||||
|
with:
|
||||||
|
python-version: "3.10"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
|
- name: Compile Programmer Art Edition
|
||||||
|
run: python gen_pack.py -m -p ${{ inputs.version }} §7Programmer Edition
|
||||||
|
- name: Upload programmer art version
|
||||||
|
uses: Kir-Antipov/mc-publish@v3.3
|
||||||
|
with:
|
||||||
|
modrinth-id: QXePegVz
|
||||||
|
modrinth-featured: true
|
||||||
|
modrinth-unfeature-mode: subset
|
||||||
|
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
|
|
||||||
|
curseforge-id: 1247519
|
||||||
|
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||||
|
|
||||||
|
files: ./Better-Leaves-\(Programmer-Art\)-${{ inputs.version }}.zip
|
||||||
|
|
||||||
|
name: Better Leaves (Programmer Art) ${{ inputs.version }} - 1.20+
|
||||||
|
version: ${{ inputs.version }}
|
||||||
|
version-type: release
|
||||||
|
loaders: minecraft
|
||||||
|
changelog-file: CHANGELOG.*
|
||||||
|
|
||||||
|
game-versions: |
|
||||||
|
>=1.20
|
||||||
|
game-version-filter: releases
|
||||||
|
dependencies: |
|
||||||
|
cull-leaves(recommended)
|
||||||
50
.github/workflows/publish_regular.yml
vendored
Normal file
50
.github/workflows/publish_regular.yml
vendored
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
name: Build & Publish Resourcepack (only Regular Edition)
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: 'The version name'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up Python 3.10
|
||||||
|
uses: actions/setup-python@v3
|
||||||
|
with:
|
||||||
|
python-version: "3.10"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
|
- name: Compile Regular Edition
|
||||||
|
run: python gen_pack.py -m ${{ inputs.version }} Vanilla Edition
|
||||||
|
- name: Upload regular version
|
||||||
|
uses: Kir-Antipov/mc-publish@v3.3
|
||||||
|
with:
|
||||||
|
modrinth-id: uvpymuxq
|
||||||
|
modrinth-featured: true
|
||||||
|
modrinth-unfeature-mode: subset
|
||||||
|
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
|
|
||||||
|
curseforge-id: 380969
|
||||||
|
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||||
|
|
||||||
|
files: ./Better-Leaves-${{ inputs.version }}.zip
|
||||||
|
|
||||||
|
name: Better Leaves ${{ inputs.version }} - 1.20+
|
||||||
|
version: ${{ inputs.version }}
|
||||||
|
version-type: release
|
||||||
|
loaders: minecraft
|
||||||
|
changelog-file: CHANGELOG.*
|
||||||
|
|
||||||
|
game-versions: |
|
||||||
|
>=1.20
|
||||||
|
game-version-filter: releases
|
||||||
|
dependencies: |
|
||||||
|
cull-leaves(recommended)
|
||||||
11
CHANGELOG.md
Normal file
11
CHANGELOG.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
- Added compatibility for:
|
||||||
|
- Chipped
|
||||||
|
- Eternal Starlight
|
||||||
|
- BetterEnd (Cave Bush Leaves & Lucernia Leaves)
|
||||||
|
- Enderscape
|
||||||
|
- Improved model variety
|
||||||
|
- Allow leaves to have different top and bottom textures
|
||||||
|
|
||||||
|
- Build-Process:
|
||||||
|
- Refactored the Python script into multiple files, improving code readability and maintainability
|
||||||
|
- Use the `-d <zip-url|modrinth-slug>` argument to download resourcepack zips or automatically grab the latest Modrinth release of a pack
|
||||||
@@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 15,
|
"pack_format": 15,
|
||||||
"supported_formats": [15, 99],
|
"supported_formats": [15, 255],
|
||||||
|
"min_format": 15,
|
||||||
|
"max_format": 255,
|
||||||
"description": "§2Version ${version} §a${edition}\n§e©Motschen ${year} | MIT Licence"
|
"description": "§2Version ${version} §a${edition}\n§e©Motschen ${year} | MIT Licence"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 15,
|
"pack_format": 15,
|
||||||
"supported_formats": [15, 99],
|
"supported_formats": [15, 255],
|
||||||
"description": "§2Version 9.3 §aVanilla Edition\n§e©Motschen 2025 | MIT Licence"
|
"min_format": 15,
|
||||||
|
"max_format": 255,
|
||||||
|
"description": "§2Version 9.4 §a§aVanilla Edition\n§e©Motschen 2025 | MIT Licence"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user