Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] barnacle/crab/peenguin?/infra #213

Open
wants to merge 37 commits into
base: 1.19.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
98a07c4
Barnacle init
Faboslav Feb 24, 2024
e21ac27
Fixed spawns
Faboslav Feb 24, 2024
1537942
wip
Faboslav Mar 1, 2024
5d983e3
Merge branch '1.19.2' into 1.19.2-barnacle
Faboslav Mar 23, 2024
8098628
Removed bad code
Faboslav Mar 23, 2024
6f8583b
Working barnacle, test ambient sounds
Faboslav Mar 23, 2024
2a7031f
wip
Faboslav Mar 27, 2024
0c8f4e6
Fixed barnacle movement
Faboslav Apr 27, 2024
0b6cb9c
Crab setup
Faboslav May 4, 2024
f3cb444
Updated translations
Faboslav May 4, 2024
b4d9e84
Updated translations
Faboslav May 4, 2024
9863aff
Added crab claw
Faboslav May 5, 2024
6a505c4
Infra refactor
Faboslav May 7, 2024
8f55edb
Removed custom oxidizable/waxable logic, used vanilla instead
Faboslav May 7, 2024
2e6b861
Added Long Reach status effect and related potions
Faboslav May 7, 2024
e4a1eeb
Added crab wave feature, translations, loot tables
Faboslav May 8, 2024
451711f
Improved wave feature
Faboslav May 8, 2024
76ff38f
temp crab eggs
Faboslav May 11, 2024
5faec21
wip
Faboslav May 12, 2024
9a1b47d
Upgraded gradle and loom
Faboslav May 12, 2024
2fa1cf8
Working Long Reach status effectt
Faboslav May 12, 2024
6b6db74
Crab eggs
Faboslav May 19, 2024
5a3f16f
format, updated credits
Faboslav May 19, 2024
bab4a0d
Updated crab sounds, added tag and missing translatitons
Faboslav May 20, 2024
fd282d6
Placeholder penguin model
Faboslav May 20, 2024
a6d66a3
Penguin wip
Faboslav May 24, 2024
e29de3a
Fixed common namespace
Faboslav May 24, 2024
b154a1c
moved fabric
Faboslav May 24, 2024
77cf775
wip
Faboslav May 30, 2024
a25d7e2
wip
Faboslav May 30, 2024
1261656
wip
Faboslav Jun 3, 2024
585c0d4
wip
Faboslav Jun 21, 2024
4bfeb62
penguin
Faboslav Jul 5, 2024
fd77c5f
Merge branch '1.19.2' into 1.19.2-barnacle
Faboslav Jul 23, 2024
81a9be2
format
Faboslav Jul 23, 2024
8e2214f
Updated workflows
Faboslav Jul 23, 2024
680c822
Lowered lib version
Faboslav Jul 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
183 changes: 136 additions & 47 deletions .github/assets/curseforge/html/fabric.html

Large diffs are not rendered by default.

179 changes: 133 additions & 46 deletions .github/assets/curseforge/html/forge.html

Large diffs are not rendered by default.

45 changes: 21 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,24 @@ jobs:
value=$(echo $value | awk '{$1=$1;print}')

case "$key" in
mod_java_version) echo "JAVA_VERSION=$value" >> $GITHUB_OUTPUT ;;
minecraft_version) echo "MINECRAFT_VERSION=$value" >> $GITHUB_OUTPUT ;;
mod_name) echo "MOD_NAME=$value" >> $GITHUB_OUTPUT ;;
mod_version) echo "MOD_VERSION=$value" >> $GITHUB_OUTPUT ;;
enabled_platforms) echo "ENABLED_PLATFORMS=$value" >> $GITHUB_OUTPUT ;;
esac
done < gradle.properties

- name: "Set up JDK 17"
if: steps.gradle-properties.outputs.MINECRAFT_VERSION != '1.20.6' && steps.gradle-properties.outputs.MINECRAFT_VERSION != '1.21'
- name: "Set up JDK"
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin

- name: "Set up JDK 21"
if: steps.gradle-properties.outputs.MINECRAFT_VERSION == '1.20.6' || steps.gradle-properties.outputs.MINECRAFT_VERSION == '1.21'
uses: actions/setup-java@v4
with:
java-version: 21
java-version: ${{ steps.gradle-properties.outputs.JAVA_VERSION }}
distribution: temurin

- name: "Run gradle build"
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
generate-job-summary: false
gradle-version: wrapper
arguments: build
Expand All @@ -78,26 +72,29 @@ jobs:
with:
fetch-depth: 0

- name: "Set up JDK 17"
if: matrix.mod_loader.version != '1.20.6' && matrix.mod_loader.version != '1.21'
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: "Parse gradle properties"
id: gradle-properties
run: |
while IFS='=' read -r key value; do
key=$(echo $key | awk '{$1=$1;print}')
value=$(echo $value | awk '{$1=$1;print}')

case "$key" in
mod_java_version) echo "JAVA_VERSION=$value" >> $GITHUB_OUTPUT ;;
esac
done < gradle.properties

- name: "Set up JDK 21"
if: matrix.version == '1.20.6' || matrix.version == '1.21'
- name: "Set up JDK"
uses: actions/setup-java@v4
with:
java-version: 21
java-version: ${{ steps.gradle-properties.outputs.JAVA_VERSION }}
distribution: temurin

- name: "Setup Gradle and run build"
uses: gradle/gradle-build-action@v3
- name: "Setup Gradle"
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: true
gradle-version: wrapper
arguments: ${{ matrix.mod_loader }}:build

- name: "Accept eula"
run: mkdir -p ${{ matrix.mod_loader }}/run && echo "eula=true" > ${{ matrix.mod_loader }}/run/eula.txt
Expand All @@ -106,4 +103,4 @@ jobs:
uses: modmuss50/xvfb-action@v1
with:
run: ./.github/scripts/run-${{ matrix.script }}.sh ${{ matrix.mod_loader }}
shell: bash
shell: bash
32 changes: 9 additions & 23 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,12 @@ jobs:
include:
- mod_loader: "fabric"
supported_mod_loaders: [ "fabric", "quilt" ]
secondary_game_version: ""
curseforge_id: ${{ vars.CURSEFORGE_FABRIC_PROJECT_ID }}
modrinth_id: ${{ vars.MODRINTH_FABRIC_PROJECT_ID }}

- mod_loader: "forge"
supported_mod_loaders: [ "forge" ]
secondary_game_version: ""
curseforge_id: ${{ vars.CURSEFORGE_FORGE_PROJECT_ID }}
modrinth_id: ${{ vars.MODRINTH_FORGE_PROJECT_ID }}

- mod_loader: "neoforge"
supported_mod_loaders: [ "neoforge" ]
secondary_game_version: ""
curseforge_id: ${{ vars.CURSEFORGE_FORGE_PROJECT_ID }}
modrinth_id: ${{ vars.MODRINTH_FORGE_PROJECT_ID }}

steps:
- name: "Checkout repository"
Expand Down Expand Up @@ -71,7 +62,9 @@ jobs:
value=$(echo $value | awk '{$1=$1;print}')

case "$key" in
mod_java_version) echo "JAVA_VERSION=$value" >> $GITHUB_OUTPUT ;;
minecraft_version) echo "MINECRAFT_VERSION=$value" >> $GITHUB_OUTPUT ;;
min_minecraft_version) echo "MIN_MINECRAFT_VERSION=$value" >> $GITHUB_OUTPUT ;;
mod_name) echo "MOD_NAME=$value" >> $GITHUB_OUTPUT ;;
mod_version) echo "MOD_VERSION=$value" >> $GITHUB_OUTPUT ;;
esac
Expand Down Expand Up @@ -101,18 +94,11 @@ jobs:
name: ${{ steps.gradle-properties.outputs.MOD_NAME }} ${{ steps.gradle-properties.outputs.MOD_VERSION }} for Minecraft ${{ steps.gradle-properties.outputs.MINECRAFT_VERSION }}
bodyFile: RELEASE_CHANGELOG.md

- name: "Set up JDK 17"
if: steps.check-mod-loader.outputs.is_mod_loader_supported == 'true' && steps.gradle-properties.outputs.MINECRAFT_VERSION != '1.20.6' && steps.gradle-properties.outputs.MINECRAFT_VERSION != '1.21'
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin

- name: "Set up JDK 21"
if: steps.check-mod-loader.outputs.is_mod_loader_supported == 'true' && steps.gradle-properties.outputs.MINECRAFT_VERSION == '1.20.6' || steps.gradle-properties.outputs.MINECRAFT_VERSION == '1.21'
- name: "Set up JDK"
if: steps.check-mod-loader.outputs.is_mod_loader_supported == 'true'
uses: actions/setup-java@v4
with:
java-version: 21
java-version: ${{ steps.gradle-properties.outputs.JAVA_VERSION }}
distribution: temurin

- name: "Setup gradle and run build"
Expand All @@ -132,17 +118,17 @@ jobs:
github-tag: mc${{ steps.gradle-properties.outputs.MINECRAFT_VERSION }}-${{ steps.gradle-properties.outputs.MOD_VERSION }}
github-commitish: ${{ steps.gradle-properties.outputs.MINECRAFT_VERSION }}

curseforge-id: ${{ matrix.curseforge_id }}
curseforge-id: ${{ vars.CURSEFORGE_PROJECT_ID }}
curseforge-token: ${{ secrets.CURSEFORGE_RELEASE_TOKEN }}

modrinth-id: ${{ matrix.modrinth_id }}
modrinth-id: ${{ vars.MODRINTH_PROJECT_ID }}
modrinth-featured: true
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }}
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN}}

name: ${{ steps.gradle-properties.outputs.MOD_NAME }} ${{ steps.gradle-properties.outputs.MOD_VERSION }}
version: ${{ matrix.mod_loader }}-mc${{ steps.gradle-properties.outputs.MINECRAFT_VERSION }}-${{ steps.gradle-properties.outputs.MOD_VERSION }}
loaders: ${{ join(matrix.supported_mod_loaders, ' ') }}
game-versions: "${{ matrix.branch }}\n${{ matrix.secondary_game_version }}"
game-versions: "${{ steps.gradle-properties.outputs.MINECRAFT_VERSION }}\n${{ steps.gradle-properties.outputs.MIN_MINECRAFT_VERSION }}"
changelog-file: RELEASE_CHANGELOG.md
files: |
${{ matrix.mod_loader }}/build/libs/!(*-@(dev|dev-shadow|sources|javadoc)).jar
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,37 @@
- Updated translations

## 2.0.6

- Fixed crash on forge dedicated servers related to Moobloom variants
- Updated translations

## 2.0.5

- Improved compatibility for certain mods with tweaks in datapack driven Moobloom variant system
- Lowered fabric loader version requirement to 0.14.21

## 2.0.4

- Improved Copper Golems sections in ancient city center pieces

## 2.0.3

- Fixed Moobloom variants not working properly with dedicated servers
- Fixed NeoForge (both client and server should now work)

## 2.0.2

- Fixed crash related to Blaze/Wildfire/Illusioner (again)
- Reworked Moobloom variants to use datapacks instead of internal api
- Nerfed wildfire crown

## 2.0.1

- Fixed crash related to Blaze
- Fixed Mauler being immortal

## 2.0.0

- Fixed compatibility problems leading to client/server crashes related to Illusioner and Blaze interactions
- Fixed Mauler collider box scaling issues
- Boosted Mauler scaling allowing significant growth when fed with enchanted items
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ the [textures directory] for the textures. Get inspired, but please don't just c

This mod would not exist in the state as it is without the following people:

- [Furti Two] - Made some of the models and most of the textures
- [LlamaLad7] - Support with everything mixin related (conflicts, extending enums)
- [TelepathicGrunt] - Support with structure generation related stuff and things (and also with Forge)

Expand Down Expand Up @@ -64,4 +65,4 @@ This mod would not exist in the state as it is without the following people:

[LlamaLad7]: https://gist.github.com/LlamaLad7

[TelepathicGrunt]: https://github.com/TelepathicGrunt
[Furti Two]: https://www.curseforge.com/members/furti_two/projects
1 change: 1 addition & 0 deletions blockbench/barnacle/Barnacle.bbmodel

Large diffs are not rendered by default.

Loading
Loading