Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
matrix:
# Use these Java versions
java: [
21, # Current Java LTS
25, # Current Java LTS
]
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
steps:
- name: checkout repository
uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
- name: build
run: ./gradlew build
- name: capture build artifacts
if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java
if: ${{ matrix.java == '25' }} # Only upload artifacts built from latest java
uses: actions/upload-artifact@v4
with:
name: Artifacts
Expand Down
42 changes: 27 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,26 @@ base {
}

repositories {
mavenCentral()
maven {
name = "Fabric"
url = "https://maven.fabricmc.net/"
}
maven {
name = "TerraformersMC"
url = "https://maven.terraformersmc.com/"
}
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}

fabricApi {
Expand All @@ -24,14 +40,10 @@ fabricApi {
}

dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
//mappings loom.officialMojangMappings()
implementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
implementation("com.terraformersmc:modmenu:${project.modmenu_version}")
minecraft "com.mojang:minecraft:${project.minecraft_version}"
implementation "net.fabricmc:fabric-loader:${project.loader_version}"
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
implementation "maven.modrinth:modmenu:${project.modmenu_version}"
}

processResources {
Expand All @@ -43,17 +55,17 @@ processResources {
}

tasks.withType(JavaCompile).configureEach {
it.options.release = 25
it.options.encoding = "UTF-8"
it.options.release = 25
}

java {
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
// This ensures Gradle actually uses JDK 25 for everything
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}

jar {
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_the_recipe": {
"conditions": {
"recipe": "houseki:bauxite_crushing"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"houseki:bauxite_crushing"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_the_recipe": {
"conditions": {
"recipe": "houseki:cobblestone_crushing"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"houseki:cobblestone_crushing"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_aluminum": {
"conditions": {
"items": [
{
"items": "houseki:aluminum"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_aluminum": {
"conditions": {
"items": [
{
"items": "houseki:aluminum"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_aluminum": {
"conditions": {
"items": [
{
"items": "houseki:aluminum"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_aluminum": {
"conditions": {
"items": [
{
"items": "houseki:aluminum"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_aluminum": {
"conditions": {
"items": [
{
"items": "houseki:aluminum"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_aluminum": {
"conditions": {
"items": [
{
"items": "houseki:aluminum"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_cast_steel": {
"conditions": {
"items": [
{
"items": "houseki:cast_steel"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_cast_steel": {
"conditions": {
"items": [
{
"items": "houseki:cast_steel"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_cast_steel": {
"conditions": {
"items": [
{
"items": "houseki:cast_steel"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_cast_steel": {
"conditions": {
"items": [
{
"items": "houseki:cast_steel"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_cast_steel": {
"conditions": {
"items": [
{
"items": "houseki:cast_steel"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_cast_steel": {
"conditions": {
"items": [
{
"items": "houseki:cast_steel"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_jadeite": {
"conditions": {
"items": [
{
"items": "houseki:jadeite"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_jadeite": {
"conditions": {
"items": [
{
"items": "houseki:jadeite"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_jadeite": {
"conditions": {
"items": [
{
"items": "houseki:jadeite"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_jadeite": {
"conditions": {
"items": [
{
"items": "houseki:jadeite"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"parent": "minecraft:recipes/root",
"criteria": {
"has_jadeite": {
"conditions": {
"items": [
{
"items": "houseki:jadeite"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
Expand Down
Loading