-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
122 additions
and
4 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
Binary file not shown.
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
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
68 changes: 68 additions & 0 deletions
68
src/main/java/gregtechfoodoption/recipe/chain/RussianChain.java
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,68 @@ | ||
package gregtechfoodoption.recipe.chain; | ||
|
||
import gregtech.api.recipes.ModHandler; | ||
import gregtech.api.recipes.RecipeMaps; | ||
import gregtech.api.unification.OreDictUnifier; | ||
import gregtech.api.unification.material.Materials; | ||
import gregtech.api.unification.ore.OrePrefix; | ||
import gregtechfoodoption.GTFOMaterialHandler; | ||
import gregtechfoodoption.item.GTFOMetaItem; | ||
import gregtechfoodoption.recipe.GTFORecipeMaps; | ||
import gregtechfoodoption.utils.GTFOUtils; | ||
import net.minecraft.init.Blocks; | ||
import net.minecraft.item.ItemStack; | ||
|
||
public class RussianChain { | ||
public static void init() { | ||
ModHandler.addShapelessRecipe("pelmeni_hand", GTFOMetaItem.UNCOOKED_PELMENI.getStackForm(), GTFOMetaItem.DOUGH.getStackForm(), OreDictUnifier.get(OrePrefix.dust, Materials.Meat)); | ||
ModHandler.addShapelessRecipe("pelmeni_hand_3", GTFOMetaItem.UNCOOKED_PELMENI.getStackForm(3), GTFOMetaItem.DOUGH.getStackForm(3), OreDictUnifier.get(OrePrefix.dust, Materials.Meat), new ItemStack(Blocks.BROWN_MUSHROOM)); | ||
|
||
|
||
GTFORecipeMaps.CUISINE_ASSEMBLER_RECIPES.recipeBuilder().EUt(24).duration(100) | ||
.inputs(GTFOMetaItem.DOUGH.getStackForm()) | ||
.input(OrePrefix.dust, Materials.Meat) | ||
.circuitMeta(1) | ||
.outputs(GTFOMetaItem.UNCOOKED_PELMENI.getStackForm()) | ||
.buildAndRegister(); | ||
GTFORecipeMaps.CUISINE_ASSEMBLER_RECIPES.recipeBuilder().EUt(24).duration(100) | ||
.inputs(GTFOMetaItem.DOUGH.getStackForm(3)) | ||
.input(OrePrefix.dust, Materials.Meat) | ||
.input(Blocks.BROWN_MUSHROOM) | ||
.circuitMeta(2) | ||
.outputs(GTFOMetaItem.UNCOOKED_PELMENI.getStackForm(3)) | ||
.buildAndRegister(); | ||
|
||
RecipeMaps.CENTRIFUGE_RECIPES.recipeBuilder().EUt(16).duration(1600) | ||
.fluidInputs(Materials.Milk.getFluid(8000)) | ||
.circuitMeta(2) | ||
.fluidOutputs(GTFOMaterialHandler.LacticAcidBacteria.getFluid(2)) | ||
.buildAndRegister(); | ||
|
||
|
||
RecipeMaps.MIXER_RECIPES.recipeBuilder().EUt(4).duration(12000) | ||
.fluidInputs(GTFOMaterialHandler.PasteurizedMilk.getFluid(8000)) | ||
.notConsumable(GTFOMaterialHandler.LacticAcidBacteria.getFluid(8)) | ||
.fluidOutputs(GTFOMaterialHandler.SourCream.getFluid(8000)) | ||
.buildAndRegister(); | ||
|
||
GTFORecipeMaps.CUISINE_ASSEMBLER_RECIPES.recipeBuilder().EUt(24).duration(100) | ||
.inputs(GTFOMetaItem.UNCOOKED_PELMENI.getStackForm(), GTFOMaterialHandler.GratedHorseradishRoot.getItemStack(), GTFOMaterialHandler.BlackPepper.getItemStack()) | ||
.fluidInputs(GTFOMaterialHandler.SourCream.getFluid(100)) | ||
.outputs(GTFOMetaItem.UNCOOKED_PELMENI.getStackForm()) | ||
.buildAndRegister(); | ||
|
||
GTFORecipeMaps.MULTICOOKER_RECIPES.recipeBuilder().EUt(24).duration(2000) | ||
.inputs(GTFOMetaItem.UNCOOKED_PELMENI.getStackForm()) | ||
.fluidInputs(Materials.Water.getFluid(500)) | ||
.outputs(GTFOMetaItem.PELMENI.getStackForm()) | ||
.circuitMeta(1) | ||
.buildAndRegister(); | ||
GTFORecipeMaps.MULTICOOKER_RECIPES.recipeBuilder().EUt(24).duration(2000) | ||
.inputs(GTFOMetaItem.UNCOOKED_SEASONED_PELMENI.getStackForm(8)) | ||
.fluidInputs(Materials.Water.getFluid(1000)) | ||
.outputs(GTFOMetaItem.SEASONED_PELMENI.getStackForm(8)) | ||
.circuitMeta(2) | ||
.buildAndRegister(); | ||
|
||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/gregtech/models/item/metaitems/component/pelmeni_uncooked.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,6 @@ | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "gregtech:items/metaitems/component/pelmeni_uncooked" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
.../resources/assets/gregtech/models/item/metaitems/component/pelmeni_uncooked_seasoned.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,6 @@ | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "gregtech:items/metaitems/component/pelmeni_uncooked_seasoned" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/gregtech/models/item/metaitems/food/pelmeni.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,6 @@ | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "gregtech:items/metaitems/food/pelmeni" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/gregtech/models/item/metaitems/food/pelmeni_seasoned.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,6 @@ | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "gregtech:items/metaitems/food/pelmeni_seasoned" | ||
} | ||
} |
Binary file added
BIN
+5.38 KB
...sources/assets/gregtech/textures/items/metaitems/component/pelmeni_uncooked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.51 KB
...ssets/gregtech/textures/items/metaitems/component/pelmeni_uncooked_seasoned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.46 KB
src/main/resources/assets/gregtech/textures/items/metaitems/food/pelmeni.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.55 KB
...in/resources/assets/gregtech/textures/items/metaitems/food/pelmeni_seasoned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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