diff options
author | Daniel Mendes <70096037+Steelux8@users.noreply.github.com> | 2023-05-01 11:37:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 12:37:36 +0200 |
commit | 7b1d0870c7d3a7e9da007563fff6fbbd86567312 (patch) | |
tree | 9dff14d2600bf533d825768cf766a8a6c7b42f02 /src/main/java/gtPlusPlus/xmod/gregtech/registration | |
parent | 637dc68420055a8c8571e677576698b5101a5497 (diff) | |
download | GT5-Unofficial-7b1d0870c7d3a7e9da007563fff6fbbd86567312.tar.gz GT5-Unofficial-7b1d0870c7d3a7e9da007563fff6fbbd86567312.tar.bz2 GT5-Unofficial-7b1d0870c7d3a7e9da007563fff6fbbd86567312.zip |
Add the Nuclear Salt Processing Plant (#607)
* New multi class and calling the class
Enable the multi when loading
Config handler for the multi
More enabling
Multi controller recipe
Add necessary recipes to new, custom recipemap
Add function to generate new recipes
Declare item for the controller
Define recipe map for the multi
Render NEI page for the recipemap properly
Change P output from 7 to 6 in recipe
Spotless apply
* Revert Wildcard on compat handler
* Fixes in Salt Plant main class
* Remove run1 method
* Spotless apply
* add isInputSeparationButtonEnabled override
* spotlessApply (#615)
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/registration')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNuclearSaltProcessingPlant.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNuclearSaltProcessingPlant.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNuclearSaltProcessingPlant.java new file mode 100644 index 0000000000..4cd9b63567 --- /dev/null +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNuclearSaltProcessingPlant.java @@ -0,0 +1,21 @@ +package gtPlusPlus.xmod.gregtech.registration.gregtech; + +import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.processing.GregtechMetaTileEntity_NuclearSaltProcessingPlant; + +public class GregtechNuclearSaltProcessingPlant { + + public static void run() { + Logger.INFO("Gregtech5u Content | Registering Nuclear Salt Processing Plant Multiblock."); + if (CORE.ConfigSwitches.enableMultiblock_NuclearSaltProcessingPlant) { + // Nuclear Salt Processing Plant Multiblock + GregtechItemList.Nuclear_Salt_Processing_Plant.set( + new GregtechMetaTileEntity_NuclearSaltProcessingPlant( + 749, + "nuclearsaltprocessingplant.controller.tier.single", + "Nuclear Salt Processing Plant").getStackForm(1L)); + } + } +} |