Skip to content

Commit

Permalink
Updated Modmenu compatibility
Browse files Browse the repository at this point in the history
- Compatible with Modmenu 1.15+
  • Loading branch information
Hugman76 committed Feb 2, 2021
1 parent 3cf0749 commit 41dbb84
Show file tree
Hide file tree
Showing 28 changed files with 23 additions and 928 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_major.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build and release
run: ./gradlew generateChangelog build curseforge github modrinth --stacktrace -PlastTag="${{ steps.previous-tag.outputs.tag }}" -PcurrentTag="${{ steps.current-tag.outputs.tag }}"
run: ./gradlew downloadTranslations generateChangelog build curseforge github modrinth --stacktrace --parallel -PlastTag="${{ steps.previous-tag.outputs.tag }}" -PcurrentTag="${{ steps.current-tag.outputs.tag }}"
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build and release
run: ./gradlew generateChangelog build curseforge github modrinth --stacktrace -PlastTag="${{ steps.previous-tag.outputs.tag }}" -PcurrentTag="${{ steps.current-tag.outputs.tag }}"
run: ./gradlew downloadTranslations generateChangelog build curseforge github modrinth --stacktrace --parallel -PlastTag="${{ steps.previous-tag.outputs.tag }}" -PcurrentTag="${{ steps.current-tag.outputs.tag }}"
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build and release
run: ./gradlew generateChangelog build curseforge github modrinth --stacktrace -PlastTag="${{ steps.previous-tag.outputs.tag }}" -PcurrentTag="${{ steps.current-tag.outputs.tag }}"
run: ./gradlew downloadTranslations generateChangelog build curseforge github modrinth --stacktrace --parallel -PlastTag="${{ steps.previous-tag.outputs.tag }}" -PcurrentTag="${{ steps.current-tag.outputs.tag }}"
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
Expand Down
15 changes: 10 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
plugins {
id 'fabric-loom' version '0.5-SNAPSHOT' apply false
id 'maven-publish'
}

apply from: 'https://raw.githubusercontent.com/DawnTeamMC/DawnTeamMC/master/build_template.gradle'

repositories {
Expand All @@ -8,12 +13,12 @@ repositories {
}

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
minecraft "com.mojang:minecraft:${minecraft_version}"
mappings "net.fabricmc:yarn:${yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"

modApi "com.github.DawnTeamMC:DawnAPI:v${project.dawn_version}"
modApi "com.github.DawnTeamMC:DawnAPI:${dawn_version}"

compileOnly "com.google.code.findbugs:jsr305:3.0.2"
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ yarn_mappings=1.16.5+build.3
loader_version=0.11.1
fabric_version=0.30.0+1.16
# https://github.com/DawnTeamMC/DawnAPI
dawn_version=1.6.2
dawn_version=e562776

# Changelog Options
use_project_username=false
Expand Down
126 changes: 0 additions & 126 deletions src/main/resources/assets/wild_explorer/lang/de_de.json

This file was deleted.

1 change: 1 addition & 0 deletions src/main/resources/assets/wild_explorer/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"modmenu.descriptionTranslation.wild_explorer": "Fancy and simplistic animals, biomes, structures and more!",
"block.wild_explorer.oak_leaf_pile": "Oak Leaf Pile",
"block.wild_explorer.spruce_leaf_pile": "Spruce Leaf Pile",
"block.wild_explorer.birch_leaf_pile": "Birch Leaf Pile",
Expand Down
40 changes: 0 additions & 40 deletions src/main/resources/assets/wild_explorer/lang/es_ar.json

This file was deleted.

40 changes: 0 additions & 40 deletions src/main/resources/assets/wild_explorer/lang/es_cl.json

This file was deleted.

40 changes: 0 additions & 40 deletions src/main/resources/assets/wild_explorer/lang/es_ec.json

This file was deleted.

Loading

0 comments on commit 41dbb84

Please sign in to comment.