-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stonecutting recipes for various blocks: quartz crete, smooth quartz crete, glass.
- Loading branch information
1 parent
0832dc9
commit bb31c48
Showing
21 changed files
with
181 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,33 @@ | ||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
|
||
name: Java CI with Gradle | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths-ignore: | ||
- '.github/**' | ||
- '**.md' | ||
- '.gitignore' | ||
- 'LICENSE' | ||
pull_request: | ||
paths-ignore: | ||
- '.github/**' | ||
- '**.md' | ||
- '.gitignore' | ||
- 'LICENSE' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
gradle: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
cache: gradle | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build | ||
- name: Publish artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Package | ||
path: build/libs | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
- name: Make gradlew executable | ||
run: chmod +x ./gradlew | ||
- name: Execute Gradle build | ||
run: ./gradlew build | ||
- name: 'MC Publish' | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
modrinth-id: McLbj2dz | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
modrinth-featured: true | ||
curseforge-id: 960132 | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
github-generate-changelog: true | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 0 additions & 87 deletions
87
src/main/java/com/theomenden/prefabricated/recipe/ConditionedCuttingRecipe.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/resources/data/prefabricated/recipes/glass_slab_reverse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "prefabricated:condition_crafting_shaped", | ||
"config": "Glass Recipes", | ||
"group": "Glass Recipes", | ||
"pattern": [ | ||
"#", | ||
"#" | ||
], | ||
"key": { | ||
"#": { | ||
"item": "prefabricated:block_glass_slab" | ||
} | ||
}, | ||
"result": { | ||
"item": "minecraft:glass", | ||
"count": 1 | ||
} | ||
} | ||
|
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/glass_slabs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "minecraft:glass" | ||
}, | ||
"result": "prefabricated:block_glass_slab", | ||
"count": 2 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/glass_stairs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "minecraft:glass" | ||
}, | ||
"result": "prefabricated:block_glass_stairs", | ||
"count": 1 | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/resources/data/prefabricated/recipes/glasspane_to_slab.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "prefabricated:condition_crafting_shaped", | ||
"config": "Glass Recipes", | ||
"group": "Glass Recipes", | ||
"pattern": [ | ||
"##", | ||
"##" | ||
], | ||
"key": { | ||
"#": { | ||
"item": "minecraft:glass_pane" | ||
} | ||
}, | ||
"result": { | ||
"item": "prefabricated:block_glass_slab", | ||
"count": 1 | ||
} | ||
} | ||
|
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_bricks_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_bricks", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_pillar_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_pillar", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_slabs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_slab", | ||
"count": 2 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_smooth_slabs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_smooth_slab", | ||
"count": 2 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_smooth_stairs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_smooth_stairs", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_smooth_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_smooth", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_smooth_wall_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_smooth_wall", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_stairs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_stairs", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/prefabricated/recipes/quartz_crete_wall_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_wall", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
...ata/prefabricated/recipes/smooth_quartz_crete_quartz_crete_smooth_slabs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete_smooth" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_smooth_slab", | ||
"count": 2 | ||
} |
8 changes: 8 additions & 0 deletions
8
...ta/prefabricated/recipes/smooth_quartz_crete_quartz_crete_smooth_stairs_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete_smooth" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_smooth_stairs", | ||
"count": 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
...in/resources/data/prefabricated/recipes/smooth_quartz_crete_smooth_wall_stonecutting.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "minecraft:stonecutting", | ||
"ingredient": { | ||
"item": "prefabricated:block_quartz_crete_smooth" | ||
}, | ||
"result": "prefabricated:block_quartz_crete_smooth_wall", | ||
"count": 1 | ||
} |