Skip to content

Commit

Permalink
Move to Multiloader mod template to support Forge and Neoforge
Browse files Browse the repository at this point in the history
- Update to Minecraft 1.20.2 (Forge 48.1.0)
- all classes were moved from cech12.bucketlib to de.cech12.bucketlib package
- changed the property methods with forge config objects to suppliers
- removed deprecated property methods: blockedFluids, blockedEntities, blockedBlocks (please use the deniedX methods instead)
  • Loading branch information
cech12 committed Dec 21, 2023
1 parent 4a9aa26 commit fcf3e9b
Show file tree
Hide file tree
Showing 123 changed files with 1,282 additions and 749 deletions.
15 changes: 13 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,22 @@ body:
description: What version of Minecraft were you running?
validations:
required: true
- type: dropdown
id: modLoader
attributes:
label: Mod Loader
description: What mod loader were you using?
options:
- Fabric
- Forge
- NeoForge
validations:
required: true
- type: input
id: modLoaderVersion
attributes:
label: Forge Version
description: What version of Forge were you using?
label: Mod Loader Version
description: What mod loader version were you using?
validations:
required: true
- type: input
Expand Down
48 changes: 41 additions & 7 deletions .github/workflows/cicd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,21 @@ jobs:
needs: codeql
if: startsWith(github.ref, 'refs/tags/')
name: Publish Github
uses: cech12/MinecraftModActions/.github/workflows/publish-github.yml@main
uses: cech12/MinecraftModActions/.github/workflows/multi-publish-github.yml@main
with:
java-version: 17
mod-name: Bucket Lib
mod-id: bucketlib
publish-api: true
publish-sources: true
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-curseforge:
publish-forge-on-curseforge:
needs: publish-github
if: startsWith(github.ref, 'refs/tags/')
name: Publish Curseforge
name: Publish Forge on Curseforge
uses: cech12/MinecraftModActions/.github/workflows/publish-curseforge.yml@main
with:
java-version: 17
subproject: forge
curseforge-id: 560156
game-versions: |
1.20.2
Expand All @@ -65,13 +64,14 @@ jobs:
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}
publish-modrinth:
publish-forge-on-modrinth:
needs: publish-github
if: startsWith(github.ref, 'refs/tags/')
name: Publish Modrinth
name: Publish Forge on Modrinth
uses: cech12/MinecraftModActions/.github/workflows/publish-modrinth.yml@main
with:
java-version: 17
subproject: forge
modrinth-id: DItE655o
game-versions: |
1.20.2
Expand All @@ -81,3 +81,37 @@ jobs:
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
modrinth-token: ${{ secrets.MODRINTH_API_KEY }}
publish-neoforge-on-curseforge:
needs: publish-github
if: startsWith(github.ref, 'refs/tags/')
name: Publish Neoforge on Curseforge
uses: cech12/MinecraftModActions/.github/workflows/publish-curseforge.yml@main
with:
java-version: 17
subproject: neoforge
curseforge-id: 560156
game-versions: |
1.20.2
release-type: release
loaders: |
neoforge
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}
publish-neoforge-on-modrinth:
needs: publish-github
if: startsWith(github.ref, 'refs/tags/')
name: Publish Neoforge on Modrinth
uses: cech12/MinecraftModActions/.github/workflows/publish-modrinth.yml@main
with:
java-version: 17
subproject: neoforge
modrinth-id: DItE655o
game-versions: |
1.20.2
release-type: release
loaders: |
neoforge
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
modrinth-token: ${{ secrets.MODRINTH_API_KEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build
# other
eclipse
run
runs
run-data

# Files from Forge MDK
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Forge Recommended Versioning](https://mcforge.readthedocs.io/en/latest/conventions/versioning/).

## [1.20.2-3.0.0.0] - 2023-12-21
### Changed
- Move to Multiloader mod template to support Forge and Neoforge
- Update to Minecraft 1.20.2 (Forge 48.1.0)
- all classes were moved from cech12.bucketlib to de.cech12.bucketlib package
- changed the property methods with forge config objects to suppliers

### Removed
- removed deprecated property methods: blockedFluids, blockedEntities, blockedBlocks (please use the deniedX methods instead)

## [1.20.2-2.4.0.4] - 2023-11-05
### Fixed
- dedicated servers could not start with version 1.20.2-2.4.0.3
Expand Down
Loading

0 comments on commit fcf3e9b

Please sign in to comment.