Skip to content

Commit

Permalink
Fix recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed Apr 28, 2024
1 parent d2879cc commit 6c03c6b
Show file tree
Hide file tree
Showing 27 changed files with 46 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
run: ./gradlew downloadTranslations build
- name: capture build artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: chmod +x gradlew

- name: Build and publish with Gradle
run: ./gradlew build publish
run: ./gradlew downloadTranslations build publish
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
Expand Down
22 changes: 20 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
buildscript {
dependencies {
classpath "de.guntram.mcmod:crowdin-translate:1.4+1.19.3"
}
repositories {
maven {
name = 'CrowdinTranslate source'
url = "https://minecraft.guntram.de/maven/"
}
}
}

plugins {
id 'fabric-loom' version '1.6.+'
id 'maven-publish'
id "com.modrinth.minotaur" version "2.+"
id 'com.matthewprenger.cursegradle' version '1.4.0'
}

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21

archivesBaseName = project.archives_base_name
version = project.mod_version + "+" + project.minecraft_version
group = project.maven_group

apply plugin: 'de.guntram.mcmod.crowdin-translate'
crowdintranslate.crowdinProjectName = 'patbox-mods'
crowdintranslate.jsonSourceName = 'goml'
crowdintranslate.minecraftProjectName = '../data/goml'
crowdintranslate.verbose = false

loom {
accessWidenerPath = file("src/main/resources/goml.accesswidener")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ loader_version=0.15.10
fabric_version=0.97.5+1.20.5

# Mod Properties
mod_version = 1.12.0
mod_version = 1.12.1
maven_group = eu.pb4
archives_base_name = goml

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/angelic_aura.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"result": {
"item": "goml:angelic_aura",
"id": "goml:angelic_aura",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/chaos_zone.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"result": {
"item": "goml:chaos_zone",
"id": "goml:chaos_zone",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:crystal_claim_anchor",
"id": "goml:crystal_claim_anchor",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:crystal_upgrade_kit",
"id": "goml:crystal_upgrade_kit",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:emeradic_claim_anchor",
"id": "goml:emeradic_claim_anchor",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:emeradic_upgrade_kit",
"id": "goml:emeradic_upgrade_kit",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/ender_binding.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"result": {
"item": "goml:ender_binding",
"id": "goml:ender_binding",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"result": {
"item": "goml:explosion_controller",
"id": "goml:explosion_controller",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/force_field.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"result": {
"item": "goml:force_field",
"id": "goml:force_field",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:glistening_claim_anchor",
"id": "goml:glistening_claim_anchor",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:glistening_upgrade_kit",
"id": "goml:glistening_upgrade_kit",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/goggles.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"result": {
"item": "goml:goggles",
"id": "goml:goggles",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/greeter.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"result": {
"item": "goml:greeter",
"id": "goml:greeter",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/heaven_wings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"result": {
"item": "goml:heaven_wings",
"id": "goml:heaven_wings",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"result": {
"item": "goml:lake_spirit_grace",
"id": "goml:lake_spirit_grace",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
}
},
"result": {
"item": "goml:makeshift_claim_anchor"
"id": "goml:makeshift_claim_anchor"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/pvp_arena.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"result": {
"item": "goml:pvp_arena",
"id": "goml:pvp_arena",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:reinforced_claim_anchor",
"id": "goml:reinforced_claim_anchor",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:reinforced_upgrade_kit",
"id": "goml:reinforced_upgrade_kit",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/village_core.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"result": {
"item": "goml:village_core",
"id": "goml:village_core",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:withered_claim_anchor",
"id": "goml:withered_claim_anchor",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"result": {
"item": "goml:withered_upgrade_kit",
"id": "goml:withered_upgrade_kit",
"count": 1
}
}
2 changes: 1 addition & 1 deletion src/main/resources/data/goml/recipes/withering_seal.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"result": {
"item": "goml:withering_seal",
"id": "goml:withering_seal",
"count": 1
}
}

0 comments on commit 6c03c6b

Please sign in to comment.