Skip to content

Commit

Permalink
add back the decomposable parts of brine chain so that people can get…
Browse files Browse the repository at this point in the history
… their stuff back
  • Loading branch information
screret committed Jan 4, 2025
1 parent b48d25a commit f5ad467
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/gregtechceu/gtceu/common/data/GTBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
import com.tterrag.registrate.util.nullness.NonNullBiConsumer;
import com.tterrag.registrate.util.nullness.NonNullFunction;
import com.tterrag.registrate.util.nullness.NonNullSupplier;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -246,6 +247,11 @@ private static void registerDuctPipeBlock(int index) {
GTCEu.id("block/casings/solid/machine_casing_palladium_substation"));
public static final BlockEntry<Block> CASING_TEMPERED_GLASS = createGlassCasingBlock("tempered_glass",
GTCEu.id("block/casings/transparent/tempered_glass"), () -> RenderType::translucent);
@Deprecated(forRemoval = true, since = "1.7.0")
@ApiStatus.ScheduledForRemoval(inVersion = "1.8.0")
public static final BlockEntry<Block> CASING_STAINLESS_EVAPORATION = createCasingBlock(
"stainless_evaporation_casing",
GTCEu.id("block/casings/solid/machine_casing_stainless_evaporation"));

public static final ImmutableMap<Material, BlockEntry<Block>> MATERIALS_TO_CASINGS;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

import appeng.api.networking.pathing.ChannelMode;
import appeng.core.AEConfig;
import org.jetbrains.annotations.ApiStatus;

import java.util.ArrayList;
import java.util.Comparator;
Expand Down Expand Up @@ -496,6 +497,7 @@ public class GTMultiMachines {

@SuppressWarnings("removal")
@Deprecated(forRemoval = true, since = "1.7.0")
@ApiStatus.ScheduledForRemoval(inVersion = "1.8.0")
public static final MultiblockMachineDefinition EVAPORATION_PLANT = REGISTRATE
.multiblock("evaporation_plant", WorkableElectricMultiblockMachine::new)
.langValue("Evaporation Tower")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import com.gregtechceu.gtceu.api.data.chemical.material.MarkerMaterials;
import com.gregtechceu.gtceu.api.data.chemical.material.Material;
import com.gregtechceu.gtceu.api.data.chemical.material.properties.PropertyKey;
import com.gregtechceu.gtceu.api.data.chemical.material.stack.ItemMaterialInfo;
import com.gregtechceu.gtceu.api.data.chemical.material.stack.MaterialStack;
import com.gregtechceu.gtceu.api.data.chemical.material.stack.UnificationEntry;
import com.gregtechceu.gtceu.api.machine.MachineDefinition;
Expand Down Expand Up @@ -715,6 +716,14 @@ private static void registerAssemblerRecipes(Consumer<FinishedRecipe> provider)
.outputItems(
GTBlocks.CASING_PALLADIUM_SUBSTATION.asStack(ConfigHolder.INSTANCE.recipes.casingsPerCraft))
.duration(50).save(provider);
// TODO remove in 1.8.0
// noinspection removal
ChemicalHelper.registerMaterialInfo(GTBlocks.CASING_STAINLESS_EVAPORATION.asItem(),
new ItemMaterialInfo(
new MaterialStack(StainlessSteel, M * 8), // stainless casing
new MaterialStack(AnnealedCopper, M * 4), // double wire
new MaterialStack(PolyvinylChloride, M * 2) // fluid
));

ASSEMBLER_RECIPES.recipeBuilder("casing_ptfe_inert").EUt(16).inputItems(GTBlocks.CASING_STEEL_SOLID.asStack())
.inputFluids(Polytetrafluoroethylene.getFluid(216)).circuitMeta(6)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,15 @@ public static void init(Consumer<FinishedRecipe> provider) {
'B',
new UnificationEntry(TagPrefix.pipeLargeFluid, GTMaterials.StainlessSteel), 'C', CustomTags.EV_CIRCUITS,
'F', GTItems.ELECTRIC_PUMP_HV);
// TODO remove in 1.8.0
// noinspection removal
ChemicalHelper.registerMaterialInfo(GTMultiMachines.EVAPORATION_PLANT.getItem(),
VanillaRecipeHelper.getRecyclingIngredients(1, "CBC", "FMF", "CBC",
'M', GTMachines.HULL[HV].asStack(),
'B', new UnificationEntry(TagPrefix.wireGtDouble, GTMaterials.Kanthal),
'C', CustomTags.HV_CIRCUITS,
'F', GTItems.ELECTRIC_PUMP_HV));

VanillaRecipeHelper.addShapedRecipe(provider, true, "cracking_unit", GTMultiMachines.CRACKER.asStack(), "CEC",
"PHP",
"CEC", 'C', GTBlocks.COIL_CUPRONICKEL.asStack(), 'E', GTItems.ELECTRIC_PUMP_HV.asStack(), 'P',
Expand Down

0 comments on commit f5ad467

Please sign in to comment.