Skip to content

Commit

Permalink
various recipe fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungOnionMC committed Dec 31, 2024
1 parent 4f4cb8b commit 6ff0496
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,14 @@ private static void hardGlassRecipes(Consumer<FinishedRecipe> provider) {
VanillaRecipeHelper.addShapedRecipe(provider, "glass_pane", new ItemStack(Blocks.GLASS_PANE, 2), "sG", 'G',
new ItemStack(Blocks.GLASS));

for (DyeColor color : DyeColor.values()) {
String dyeName = color.getName();
VanillaRecipeHelper.addShapedRecipe(provider, dyeName + "_glass_pane",
new ItemStack(BuiltInRegistries.ITEM.get(new ResourceLocation(dyeName + "_stained_glass_pane")), 2),
"sG",
'G', BuiltInRegistries.ITEM.get(new ResourceLocation(dyeName + "_stained_glass")));
}

ALLOY_SMELTER_RECIPES.recipeBuilder("tinted_glass")
.inputItems(new ItemStack(Blocks.GLASS))
.inputItems(new ItemStack(Items.AMETHYST_SHARD, 4))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private static List<StoneTypeEntry> getDefaultEntries() {
.slab(Items.BRICK_SLAB)
.stair(Items.BRICK_STAIRS)
.wall(Items.BRICK_WALL)
.material(GTMaterials.Brick)
.material(GTMaterials.Brick, 4 * GTValues.M)
.registerAllUnificationInfo()
.build(),
new StoneTypeEntry.Builder(mcModID, "mud_brick")
Expand All @@ -238,7 +238,7 @@ private static List<StoneTypeEntry> getDefaultEntries() {
.slab(Items.NETHER_BRICK_SLAB)
.stair(Items.NETHER_BRICK_STAIRS)
.wall(Items.NETHER_BRICK_WALL)
.material(GTMaterials.Netherrack)
.material(GTMaterials.Netherrack, 4 * GTValues.M)
.registerAllUnificationInfo()
.build(),
new StoneTypeEntry.Builder(mcModID, "red_nether_brick")
Expand All @@ -255,14 +255,14 @@ private static List<StoneTypeEntry> getDefaultEntries() {
.chiselStone(Items.CHISELED_QUARTZ_BLOCK)
.slab(Items.QUARTZ_SLAB)
.stair(Items.QUARTZ_STAIRS)
.material(GTMaterials.NetherQuartz)
.material(GTMaterials.NetherQuartz, 4 * GTValues.M)
.registerAllUnificationInfo()
.build(),
new StoneTypeEntry.Builder(mcModID, "smooth_quartz")
.stone(Items.SMOOTH_QUARTZ)
.slab(Items.SMOOTH_QUARTZ_SLAB)
.stair(Items.SMOOTH_QUARTZ_STAIRS)
.material(GTMaterials.NetherQuartz)
.material(GTMaterials.NetherQuartz, 4 * GTValues.M)
.registerAllUnificationInfo()
.build(),
new StoneTypeEntry.Builder(mcModID, "cut_copper")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ private static void compressingRecipes(Consumer<FinishedRecipe> provider) {
.save(provider);

COMPRESSOR_RECIPES.recipeBuilder("sandstone").duration(300).EUt(2)
.inputItems(new ItemStack(Blocks.SAND, 2))
.inputItems(new ItemStack(Blocks.SAND, 4))
.outputItems(new ItemStack(Blocks.SANDSTONE))
.save(provider);

COMPRESSOR_RECIPES.recipeBuilder("red_sandstone").duration(300).EUt(2)
.inputItems(new ItemStack(Blocks.RED_SAND), 2)
.inputItems(new ItemStack(Blocks.RED_SAND), 4)
.outputItems(new ItemStack(Blocks.RED_SANDSTONE))
.save(provider);

Expand Down Expand Up @@ -587,8 +587,8 @@ private static void dyingCleaningRecipes(Consumer<FinishedRecipe> provider) {
.save(provider);

CUTTER_RECIPES.recipeBuilder("cut_" + dyeName + "_glass_to_pane").duration(20).EUt(VA[ULV])
.inputItems(BuiltInRegistries.ITEM.get(new ResourceLocation(dyeName + "_stained_glass")))
.outputItems(BuiltInRegistries.ITEM.get(new ResourceLocation(dyeName + "_stained_glass_pane")))
.inputItems(BuiltInRegistries.ITEM.get(new ResourceLocation(dyeName + "_stained_glass")), 3)
.outputItems(BuiltInRegistries.ITEM.get(new ResourceLocation(dyeName + "_stained_glass_pane")), 8)
.save(provider);

CHEMICAL_BATH_RECIPES.recipeBuilder("dye_candle_to_" + dyeName).duration(20).EUt(VA[ULV])
Expand Down

0 comments on commit 6ff0496

Please sign in to comment.