Skip to content

Commit ddd01ba

Browse files
committed
Add recipe for empty focal frame
1 parent 0c39cc2 commit ddd01ba

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Forge/src/main/kotlin/gay/object/hexdebug/forge/datagen/HexDebugRecipes.kt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ import java.util.function.Consumer
1717

1818
class HexDebugRecipes(output: PackOutput) : PaucalRecipeProvider(output, HexDebug.MODID) {
1919
override fun buildRecipes(writer: Consumer<FinishedRecipe>) {
20+
// debugger
2021
flyswatter(HexDebugItems.DEBUGGER.value, Items.GOLD_INGOT, HexItems.ARTIFACT)
2122
.unlockedBy("has_item", hasItem(HexTags.Items.STAVES))
2223
.save(writer)
2324

25+
// evaluator
2426
flyswatter(HexDebugItems.EVALUATOR.value, HexBlocks.SLATE_BLOCK)
2527
.unlockedBy("has_item", hasItem(HexTags.Items.STAVES))
2628
.save(writer)
2729

30+
// splicing table
2831
ShapedRecipeBuilder.shaped(RecipeCategory.MISC, HexDebugBlocks.SPLICING_TABLE.value)
2932
.define('P', HexBlocks.EDIFIED_PLANKS)
3033
.define('C', HexItems.CHARGED_AMETHYST)
@@ -37,6 +40,16 @@ class HexDebugRecipes(output: PackOutput) : PaucalRecipeProvider(output, HexDebu
3740
.pattern("SGS")
3841
.unlockedBy("has_item", hasItem(HexItems.FOCUS))
3942
.save(writer)
43+
44+
// empty focal frame
45+
ShapedRecipeBuilder.shaped(RecipeCategory.MISC, HexDebugBlocks.FOCUS_HOLDER.value)
46+
.define('S', HexBlocks.SLATE_BLOCK)
47+
.define('G', Items.GOLD_NUGGET)
48+
.pattern("GSG")
49+
.pattern("S S")
50+
.pattern("GSG")
51+
.unlockedBy("has_item", hasItem(HexItems.FOCUS))
52+
.save(writer)
4053
}
4154

4255
@Suppress("SameParameterValue")

0 commit comments

Comments
 (0)