aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/goodgenerator/loader/Loaders.java
diff options
context:
space:
mode:
authorMadMan310 <66886359+MadMan310@users.noreply.github.com>2022-11-29 01:50:58 -0800
committerGitHub <noreply@github.com>2022-11-29 10:50:58 +0100
commitf985e28ae553428945f3ce3841ac036c98266128 (patch)
tree278c857c13493a8d0fdaebfb9a3d9cb90d07a774 /src/main/java/goodgenerator/loader/Loaders.java
parent766af258761d0cc88d44169d06ae47198218078e (diff)
downloadGT5-Unofficial-f985e28ae553428945f3ce3841ac036c98266128.tar.gz
GT5-Unofficial-f985e28ae553428945f3ce3841ac036c98266128.tar.bz2
GT5-Unofficial-f985e28ae553428945f3ce3841ac036c98266128.zip
Component Assembly Line (#102)
* Initial Commit * Added recipe generator for components LV-IV * Added recipe generator for components LuV and beyond This one took a LONG time to make work... * Added structure and recipe processing * Added Recipes for Controller and Casings * Cleanup * Assline gives proper amount same as assembler * tooltip fix * add support for BW glass and warded glass * Added proper NEI handler * spotless * Spotless apply for branch componentAssemblyLine for #102 (#103) * Update build-and-test.yml * fix missing hatch element (#92) * fix missing hatch element * spotlessApply (#93) Co-authored-by: Yang Xizhi <60341015+GlodBlock@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix bunch of yottank issues (#94) * yot tank/hatch fix * dep * Add better naq fuel recipes to combat fusion spam (#91) * Add higher tier naq fuel recipes * Fix Hypogen (hopefully) * Spotless >:( * Slightly change tooltip on the Precise Assembler (#95) 0.03 mm changed to 7nm * fix 0 stack of nuclear rod (#98) * naq fuel change (#96) * naq fuel change * Spotless apply for branch naqfuel for #96 (#97) * Slightly change tooltip on the Precise Assembler (#95) 0.03 mm changed to 7nm * spotlessApply Co-authored-by: MadMan310 <66886359+MadMan310@users.noreply.github.com> Co-authored-by: Yang Xizhi <60341015+GlodBlock@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: MadMan310 <66886359+MadMan310@users.noreply.github.com> * Naq Fuel 1,2,3 Changes (#99) * Naq Emulsion line changes * Mk1 recipe change * Fuel value changes * Mk2 fuel recipe changes * Radiation proof plate recipe changes * Fix sludge dust centrifuge amounts * Remove Hafnium recipe for now * Spotless * thorium balance change (#76) * Add implementation for tank info getter (#101) * Add void excess option to yotta fluid tank (#100) * Add void excess option to yotta fluid tank * derp * Added own localization of void excess toggle messages * Update build.gradle * update bc * spotlessApply Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: Yang Xizhi <60341015+GlodBlock@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Co-authored-by: MadMan310 <66886359+MadMan310@users.noreply.github.com> Co-authored-by: xSkewer <43712386+xSkewer@users.noreply.github.com> Co-authored-by: Maxim <maxim235@gmx.de> Co-authored-by: GitHub GTNH Actions <> * cleanup handler * Overhauled recipe generator, added circuit wraps, buffed output efficiency * Structure re-tiering * Gravi -> Nuclear for UHV components (due to overflowing) * spotless * added new casings * removed some debug info and added dep * Fixed magnetic samarium fluid and other autogenerations * fixed recipe tiering * Removed Nuclear Star, to be replaced by the GT5U version * spotless * fixed recipe handling Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: Yang Xizhi <60341015+GlodBlock@users.noreply.github.com> Co-authored-by: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Co-authored-by: xSkewer <43712386+xSkewer@users.noreply.github.com> Co-authored-by: Maxim <maxim235@gmx.de>
Diffstat (limited to 'src/main/java/goodgenerator/loader/Loaders.java')
-rw-r--r--src/main/java/goodgenerator/loader/Loaders.java44
1 files changed, 42 insertions, 2 deletions
diff --git a/src/main/java/goodgenerator/loader/Loaders.java b/src/main/java/goodgenerator/loader/Loaders.java
index e2c6a92dbf..0251c6753b 100644
--- a/src/main/java/goodgenerator/loader/Loaders.java
+++ b/src/main/java/goodgenerator/loader/Loaders.java
@@ -109,9 +109,27 @@ public class Loaders {
GoodGenerator.MOD_ID + ":ciruits/2",
GoodGenerator.MOD_ID + ":ciruits/3",
GoodGenerator.MOD_ID + ":ciruits/4",
- GoodGenerator.MOD_ID + ":ciruits/5"
+ GoodGenerator.MOD_ID + ":ciruits/5",
});
+ public static final Item circuitWrap = new MyItems("circuitWrap", GoodGenerator.GG, new String[] {
+ GoodGenerator.MOD_ID + ":wraps/0",
+ GoodGenerator.MOD_ID + ":wraps/1",
+ GoodGenerator.MOD_ID + ":wraps/2",
+ GoodGenerator.MOD_ID + ":wraps/3",
+ GoodGenerator.MOD_ID + ":wraps/4",
+ GoodGenerator.MOD_ID + ":wraps/5",
+ GoodGenerator.MOD_ID + ":wraps/6",
+ GoodGenerator.MOD_ID + ":wraps/7",
+ GoodGenerator.MOD_ID + ":wraps/8",
+ GoodGenerator.MOD_ID + ":wraps/9",
+ GoodGenerator.MOD_ID + ":wraps/10",
+ GoodGenerator.MOD_ID + ":wraps/11",
+ GoodGenerator.MOD_ID + ":wraps/12",
+ GoodGenerator.MOD_ID + ":wraps/13",
+ GoodGenerator.MOD_ID + ":wraps/14"
+ });
+
public static final Block MAR_Casing =
new Casing("MAR_Casing", new String[] {GoodGenerator.MOD_ID + ":MAR_Casing"});
public static final Block FRF_Casings =
@@ -179,7 +197,22 @@ public class Loaders {
public static Block essentiaHatch;
public static Block essentiaOutputHatch;
public static Block essentiaOutputHatch_ME;
-
+ public static final Block componentAssemblylineCasing = new Casing("componentAssemblyLineCasing", new String[] {
+ GoodGenerator.MOD_ID + ":compAsslineCasing/0", // LV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/1", // MV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/2", // HV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/3", // EV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/4", // IV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/5", // LuV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/6", // ZPM
+ GoodGenerator.MOD_ID + ":compAsslineCasing/7", // UV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/8", // UHV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/9", // UEV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/10", // UIV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/11", // UMV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/12", // UXV
+ GoodGenerator.MOD_ID + ":compAsslineCasing/13" // MAX
+ });
public static ItemStack MAR;
public static ItemStack FRF;
public static ItemStack UCFE;
@@ -198,6 +231,7 @@ public class Loaders {
public static ItemStack[] NeutronAccelerators = new ItemStack[9];
public static ItemStack[] Generator_Diesel = new ItemStack[2];
+ public static ItemStack CompAssline;
// public static Item Isotope = new NuclearMetaItemGenerator();
public static void GTMetaTileRegister() {
@@ -249,6 +283,9 @@ public class Loaders {
1114, "basicgenerator.diesel.tier.05", "Ultimate Chemical Energy Releaser", 5)
.getStackForm(1L);
Loaders.CT = new CoolantTower(IDOffset + 24, "CoolantTower", "Coolant Tower").getStackForm(1L);
+ Loaders.CompAssline = new ComponentAssemblyLine(
+ IDOffset + 25, "ComponentAssemblyLine", "Component Assembly Line")
+ .getStackForm(1L);
CrackRecipeAdder.registerPipe(30995, MyMaterial.incoloy903, 15000, 8000, true);
CrackRecipeAdder.registerWire(32749, MyMaterial.signalium, 12, 131072, 16, true);
CrackRecipeAdder.registerWire(32737, MyMaterial.lumiium, 8, 524288, 64, true);
@@ -273,6 +310,7 @@ public class Loaders {
GameRegistry.registerBlock(yottaFluidTankCasing, MyItemBlocks.class, "yottaFluidTankCasing");
GameRegistry.registerBlock(
supercriticalFluidTurbineCasing, MyItemBlocks.class, "supercriticalFluidTurbineCasing");
+ GameRegistry.registerBlock(componentAssemblylineCasing, MyItemBlocks.class, "componentAssemblylineCasing");
GameRegistry.registerBlock(pressureResistantWalls, MyItemBlocks.class, "pressureResistantWalls");
GameRegistry.registerBlock(preciseUnitCasing, MyItemBlocks.class, "preciseUnitCasing");
GameRegistry.registerBlock(compactFusionCoil, MyItemBlocks.class, "compactFusionCoil");
@@ -307,6 +345,7 @@ public class Loaders {
GameRegistry.registerItem(highEnergyMixture, "highEnergyMixture", GoodGenerator.MOD_ID);
GameRegistry.registerItem(saltyRoot, "saltyRoot", GoodGenerator.MOD_ID);
GameRegistry.registerItem(huiCircuit, "huiCircuit", GoodGenerator.MOD_ID);
+ GameRegistry.registerItem(circuitWrap, "circuitWrap", GoodGenerator.MOD_ID);
}
public static void compactMod() {
@@ -385,6 +424,7 @@ public class Loaders {
public static void completeLoad() {
RecipeLoader_02.FinishLoadRecipe();
MaterialFix.addRecipeForMultiItems();
+ ComponentAssemblyLineRecipeLoader.run();
}
public static void initLoadRecipes() {