From 5090a9d2c267448f2c07e5aa018220339588864b Mon Sep 17 00:00:00 2001 From: HoleFish <1594248739@qq.com> Date: Wed, 3 Jan 2024 13:54:02 +0800 Subject: [PATCH 1/7] Add debug uncertainty --- .../tectech/loader/thing/MachineLoader.java | 5 ++ .../technus/tectech/thing/CustomItemList.java | 1 + ...aTileEntity_Hatch_CreativeUncertainty.java | 58 +++++++++++++++++++ .../resources/assets/tectech/lang/en_US.lang | 2 + 4 files changed, 66 insertions(+) create mode 100644 src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java diff --git a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java index e0a373e67..bcbe69cac 100644 --- a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java +++ b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java @@ -287,6 +287,7 @@ import static com.github.technus.tectech.thing.CustomItemList.eM_energyWirelessTunnel7_UXV; import static com.github.technus.tectech.thing.CustomItemList.hatch_CreativeData; import static com.github.technus.tectech.thing.CustomItemList.hatch_CreativeMaintenance; +import static com.github.technus.tectech.thing.CustomItemList.hatch_CreativeUncertainty; import static com.github.technus.tectech.thing.CustomItemList.holder_Hatch; import static com.github.technus.tectech.thing.CustomItemList.rack_Hatch; import static com.github.technus.tectech.util.CommonValues.V; @@ -297,6 +298,7 @@ import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_Capacitor; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_CreativeData; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_CreativeMaintenance; +import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_CreativeUncertainty; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_DynamoMulti; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_DynamoTunnel; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_EnergyMulti; @@ -2234,6 +2236,9 @@ public void run() { new GT_MetaTileEntity_DebugStructureWriter(15499, "debug.tt.writer", "Debug Structure Writer", 14) .getStackForm(1L)); UnusedStuff.set(new ItemStack(Blocks.air)); + hatch_CreativeUncertainty.set( + new GT_MetaTileEntity_Hatch_CreativeUncertainty(15510, "debug.tt.certain", "Uncertainty Resolution", 10) + .getStackForm(1)); // =================================================================================================== // MetaTE init diff --git a/src/main/java/com/github/technus/tectech/thing/CustomItemList.java b/src/main/java/com/github/technus/tectech/thing/CustomItemList.java index 6f19d13a2..619594222 100644 --- a/src/main/java/com/github/technus/tectech/thing/CustomItemList.java +++ b/src/main/java/com/github/technus/tectech/thing/CustomItemList.java @@ -51,6 +51,7 @@ public enum CustomItemList implements IItemContainer { hatch_CreativeMaintenance, hatch_CreativeData, + hatch_CreativeUncertainty, Machine_OwnerDetector, Machine_BuckConverter_IV, Machine_BuckConverter_LuV, diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java new file mode 100644 index 000000000..73b9ab5ab --- /dev/null +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java @@ -0,0 +1,58 @@ +package com.github.technus.tectech.thing.metaTileEntity.hatch; + +import static net.minecraft.util.StatCollector.translateToLocal; + +import net.minecraft.util.EnumChatFormatting; + +import com.github.technus.tectech.util.CommonValues; + +import gregtech.api.interfaces.ITexture; +import gregtech.api.interfaces.metatileentity.IMetaTileEntity; +import gregtech.api.interfaces.tileentity.IGregTechTileEntity; + +public class GT_MetaTileEntity_Hatch_CreativeUncertainty extends GT_MetaTileEntity_Hatch_Uncertainty { + + public GT_MetaTileEntity_Hatch_CreativeUncertainty(int aID, String aName, String aNameRegional, int aTier) { + super(aID, aName, aNameRegional, aTier); + } + + public GT_MetaTileEntity_Hatch_CreativeUncertainty(String aName, int aTier, String[] aDescription, + ITexture[][][] aTextures) { + super(aName, aTier, aDescription, aTextures); + } + + @Override + public IMetaTileEntity newMetaEntity(IGregTechTileEntity iGregTechTileEntity) { + return new GT_MetaTileEntity_Hatch_CreativeUncertainty(mName, mTier, mDescriptionArray, mTextures); + } + + @Override + public String[] getDescription() { + return new String[] { CommonValues.TEC_MARK_EM, translateToLocal("gt.blockmachines.debug.tt.certain.desc.0"), // Feeling + // certain, + // isn't + // it? + EnumChatFormatting.AQUA.toString() + EnumChatFormatting.BOLD + + translateToLocal("gt.blockmachines.debug.tt.certain.desc.1") // Schrödinger's cat ran out of + // the box + }; + } + + @Override + public void regenerate() { + // no-op + } + + @Override + public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) { + if (aBaseMetaTileEntity.isServerSide() && (aTick % 100) == 0) { + if (mode == 0) { + aBaseMetaTileEntity.setActive(false); + status = -128; + } else { + aBaseMetaTileEntity.setActive(true); + compute(); + } + } + } +} diff --git a/src/main/resources/assets/tectech/lang/en_US.lang b/src/main/resources/assets/tectech/lang/en_US.lang index ea7e870d6..f08072f3e 100644 --- a/src/main/resources/assets/tectech/lang/en_US.lang +++ b/src/main/resources/assets/tectech/lang/en_US.lang @@ -963,6 +963,8 @@ gt.blockmachines.debug.tt.writer.name=Debug Structure Writer gt.blockmachines.debug.tt.writer.desc.0=Scans Blocks Around gt.blockmachines.debug.tt.writer.desc.1=Prints Multiblock NonTE structure check code gt.blockmachines.debug.tt.writer.desc.2=ABC axises aligned to machine front +gt.blockmachines.debug.tt.certain.desc.0=Feeling certain, isn't it? +gt.blockmachines.debug.tt.certain.desc.1=Schrödinger's cat ran out of the box GT5U.gui.text.computing=§aComputing GT5U.gui.text.providing_data=§aProviding Data From 07330c43a738acf0561c0dc703fe411db0681c17 Mon Sep 17 00:00:00 2001 From: HoleFish <1594248739@qq.com> Date: Wed, 3 Jan 2024 14:07:26 +0800 Subject: [PATCH 2/7] tier --- .../com/github/technus/tectech/loader/thing/MachineLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java index bcbe69cac..953306e9a 100644 --- a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java +++ b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java @@ -2237,7 +2237,7 @@ public void run() { .getStackForm(1L)); UnusedStuff.set(new ItemStack(Blocks.air)); hatch_CreativeUncertainty.set( - new GT_MetaTileEntity_Hatch_CreativeUncertainty(15510, "debug.tt.certain", "Uncertainty Resolution", 10) + new GT_MetaTileEntity_Hatch_CreativeUncertainty(15510, "debug.tt.certain", "Uncertainty Resolution", 14) .getStackForm(1)); // =================================================================================================== From a07954728a9e81de7018e3a3f22f21030a944830 Mon Sep 17 00:00:00 2001 From: HoleFish <1594248739@qq.com> Date: Sat, 13 Jan 2024 12:15:24 +0800 Subject: [PATCH 3/7] recipe and text --- .../recipe/ResearchStationAssemblyLine.java | 24 +++++++++++++++++++ ...aTileEntity_Hatch_CreativeUncertainty.java | 8 +++---- .../resources/assets/tectech/lang/en_US.lang | 4 ++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java b/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java index aa55361e7..2e6fe386a 100644 --- a/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java +++ b/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java @@ -25,9 +25,11 @@ import static gregtech.api.enums.Mods.Thaumcraft; import static gregtech.api.enums.Mods.TinkersGregworks; import static gregtech.api.util.GT_ModHandler.getModItem; +import static gregtech.api.util.GT_RecipeBuilder.INGOTS; import static gregtech.api.util.GT_RecipeBuilder.MINUTES; import static gregtech.api.util.GT_RecipeBuilder.SECONDS; +import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidRegistry; @@ -1222,6 +1224,28 @@ public void run() { 6000, 500000); + if (GTPlusPlus.isModLoaded()) { + // Debug uncertainty resolver + TT_recipeAdder.addResearchableAssemblylineRecipe( + CustomItemList.UncertaintyX_Hatch.get(1L), + 720_000_000, + 5_120, + 16_000_000, + 6, + new Object[] { CustomItemList.UncertaintyX_Hatch.get(1L), + CustomItemList.hatch_CreativeMaintenance.get(1), ItemList.Field_Generator_UIV.get(1L), + GregtechItemList.Laser_Lens_Special.get(4), + new Object[] { OrePrefixes.circuit.get(Materials.Piko), 1 }, + new Object[] { OrePrefixes.circuit.get(Materials.Piko), 1 }, + CustomItemList.DATApipe.get(64), CustomItemList.DATApipe.get(64), + ItemList.Cover_Screen.get(1), new ItemStack(Blocks.stone_button, 16) }, + new FluidStack[] { Materials.Iridium.getMolten(INGOTS * 100), + new FluidStack(ELEMENT.getInstance().NEPTUNIUM.getPlasma(), 20000), + new FluidStack(ELEMENT.getInstance().FERMIUM.getPlasma(), 20000) }, + CustomItemList.hatch_CreativeUncertainty.get(1), + 200 * 20, + (int) TierEU.RECIPE_UIV); + } } private void itemPartsUHVAsslineRecipes() { diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java index 73b9ab5ab..11828298d 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java @@ -30,11 +30,11 @@ public IMetaTileEntity newMetaEntity(IGregTechTileEntity iGregTechTileEntity) { public String[] getDescription() { return new String[] { CommonValues.TEC_MARK_EM, translateToLocal("gt.blockmachines.debug.tt.certain.desc.0"), // Feeling // certain, - // isn't - // it? + // for + // sure EnumChatFormatting.AQUA.toString() + EnumChatFormatting.BOLD - + translateToLocal("gt.blockmachines.debug.tt.certain.desc.1") // Schrödinger's cat ran out of - // the box + + translateToLocal("gt.blockmachines.debug.tt.certain.desc.1") // Schrödinger's cat escaped the + // box }; } diff --git a/src/main/resources/assets/tectech/lang/en_US.lang b/src/main/resources/assets/tectech/lang/en_US.lang index f08072f3e..7729cc63c 100644 --- a/src/main/resources/assets/tectech/lang/en_US.lang +++ b/src/main/resources/assets/tectech/lang/en_US.lang @@ -963,8 +963,8 @@ gt.blockmachines.debug.tt.writer.name=Debug Structure Writer gt.blockmachines.debug.tt.writer.desc.0=Scans Blocks Around gt.blockmachines.debug.tt.writer.desc.1=Prints Multiblock NonTE structure check code gt.blockmachines.debug.tt.writer.desc.2=ABC axises aligned to machine front -gt.blockmachines.debug.tt.certain.desc.0=Feeling certain, isn't it? -gt.blockmachines.debug.tt.certain.desc.1=Schrödinger's cat ran out of the box +gt.blockmachines.debug.tt.certain.desc.0=Feeling certain, for sure +gt.blockmachines.debug.tt.certain.desc.1=Schrödinger's cat escaped the box GT5U.gui.text.computing=§aComputing GT5U.gui.text.providing_data=§aProviding Data From a9cfc0e755acc299f0bac4f41f3989674b4f2c7e Mon Sep 17 00:00:00 2001 From: HoleFish <1594248739@qq.com> Date: Wed, 3 Jan 2024 13:54:02 +0800 Subject: [PATCH 4/7] Add debug uncertainty --- .../tectech/loader/thing/MachineLoader.java | 5 ++ .../technus/tectech/thing/CustomItemList.java | 1 + ...aTileEntity_Hatch_CreativeUncertainty.java | 58 +++++++++++++++++++ .../resources/assets/tectech/lang/en_US.lang | 2 + 4 files changed, 66 insertions(+) create mode 100644 src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java diff --git a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java index e0a373e67..bcbe69cac 100644 --- a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java +++ b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java @@ -287,6 +287,7 @@ import static com.github.technus.tectech.thing.CustomItemList.eM_energyWirelessTunnel7_UXV; import static com.github.technus.tectech.thing.CustomItemList.hatch_CreativeData; import static com.github.technus.tectech.thing.CustomItemList.hatch_CreativeMaintenance; +import static com.github.technus.tectech.thing.CustomItemList.hatch_CreativeUncertainty; import static com.github.technus.tectech.thing.CustomItemList.holder_Hatch; import static com.github.technus.tectech.thing.CustomItemList.rack_Hatch; import static com.github.technus.tectech.util.CommonValues.V; @@ -297,6 +298,7 @@ import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_Capacitor; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_CreativeData; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_CreativeMaintenance; +import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_CreativeUncertainty; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_DynamoMulti; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_DynamoTunnel; import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_EnergyMulti; @@ -2234,6 +2236,9 @@ public void run() { new GT_MetaTileEntity_DebugStructureWriter(15499, "debug.tt.writer", "Debug Structure Writer", 14) .getStackForm(1L)); UnusedStuff.set(new ItemStack(Blocks.air)); + hatch_CreativeUncertainty.set( + new GT_MetaTileEntity_Hatch_CreativeUncertainty(15510, "debug.tt.certain", "Uncertainty Resolution", 10) + .getStackForm(1)); // =================================================================================================== // MetaTE init diff --git a/src/main/java/com/github/technus/tectech/thing/CustomItemList.java b/src/main/java/com/github/technus/tectech/thing/CustomItemList.java index 6f19d13a2..619594222 100644 --- a/src/main/java/com/github/technus/tectech/thing/CustomItemList.java +++ b/src/main/java/com/github/technus/tectech/thing/CustomItemList.java @@ -51,6 +51,7 @@ public enum CustomItemList implements IItemContainer { hatch_CreativeMaintenance, hatch_CreativeData, + hatch_CreativeUncertainty, Machine_OwnerDetector, Machine_BuckConverter_IV, Machine_BuckConverter_LuV, diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java new file mode 100644 index 000000000..73b9ab5ab --- /dev/null +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java @@ -0,0 +1,58 @@ +package com.github.technus.tectech.thing.metaTileEntity.hatch; + +import static net.minecraft.util.StatCollector.translateToLocal; + +import net.minecraft.util.EnumChatFormatting; + +import com.github.technus.tectech.util.CommonValues; + +import gregtech.api.interfaces.ITexture; +import gregtech.api.interfaces.metatileentity.IMetaTileEntity; +import gregtech.api.interfaces.tileentity.IGregTechTileEntity; + +public class GT_MetaTileEntity_Hatch_CreativeUncertainty extends GT_MetaTileEntity_Hatch_Uncertainty { + + public GT_MetaTileEntity_Hatch_CreativeUncertainty(int aID, String aName, String aNameRegional, int aTier) { + super(aID, aName, aNameRegional, aTier); + } + + public GT_MetaTileEntity_Hatch_CreativeUncertainty(String aName, int aTier, String[] aDescription, + ITexture[][][] aTextures) { + super(aName, aTier, aDescription, aTextures); + } + + @Override + public IMetaTileEntity newMetaEntity(IGregTechTileEntity iGregTechTileEntity) { + return new GT_MetaTileEntity_Hatch_CreativeUncertainty(mName, mTier, mDescriptionArray, mTextures); + } + + @Override + public String[] getDescription() { + return new String[] { CommonValues.TEC_MARK_EM, translateToLocal("gt.blockmachines.debug.tt.certain.desc.0"), // Feeling + // certain, + // isn't + // it? + EnumChatFormatting.AQUA.toString() + EnumChatFormatting.BOLD + + translateToLocal("gt.blockmachines.debug.tt.certain.desc.1") // Schrödinger's cat ran out of + // the box + }; + } + + @Override + public void regenerate() { + // no-op + } + + @Override + public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) { + if (aBaseMetaTileEntity.isServerSide() && (aTick % 100) == 0) { + if (mode == 0) { + aBaseMetaTileEntity.setActive(false); + status = -128; + } else { + aBaseMetaTileEntity.setActive(true); + compute(); + } + } + } +} diff --git a/src/main/resources/assets/tectech/lang/en_US.lang b/src/main/resources/assets/tectech/lang/en_US.lang index ea7e870d6..f08072f3e 100644 --- a/src/main/resources/assets/tectech/lang/en_US.lang +++ b/src/main/resources/assets/tectech/lang/en_US.lang @@ -963,6 +963,8 @@ gt.blockmachines.debug.tt.writer.name=Debug Structure Writer gt.blockmachines.debug.tt.writer.desc.0=Scans Blocks Around gt.blockmachines.debug.tt.writer.desc.1=Prints Multiblock NonTE structure check code gt.blockmachines.debug.tt.writer.desc.2=ABC axises aligned to machine front +gt.blockmachines.debug.tt.certain.desc.0=Feeling certain, isn't it? +gt.blockmachines.debug.tt.certain.desc.1=Schrödinger's cat ran out of the box GT5U.gui.text.computing=§aComputing GT5U.gui.text.providing_data=§aProviding Data From faa46a264936522cf63ca63562244db345c1ee1c Mon Sep 17 00:00:00 2001 From: HoleFish <1594248739@qq.com> Date: Wed, 3 Jan 2024 14:07:26 +0800 Subject: [PATCH 5/7] tier --- .../com/github/technus/tectech/loader/thing/MachineLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java index bcbe69cac..953306e9a 100644 --- a/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java +++ b/src/main/java/com/github/technus/tectech/loader/thing/MachineLoader.java @@ -2237,7 +2237,7 @@ public void run() { .getStackForm(1L)); UnusedStuff.set(new ItemStack(Blocks.air)); hatch_CreativeUncertainty.set( - new GT_MetaTileEntity_Hatch_CreativeUncertainty(15510, "debug.tt.certain", "Uncertainty Resolution", 10) + new GT_MetaTileEntity_Hatch_CreativeUncertainty(15510, "debug.tt.certain", "Uncertainty Resolution", 14) .getStackForm(1)); // =================================================================================================== From e44f067b84e5da85cfcbb8eb8b6b70ab28583288 Mon Sep 17 00:00:00 2001 From: HoleFish <1594248739@qq.com> Date: Sat, 13 Jan 2024 12:15:24 +0800 Subject: [PATCH 6/7] recipe and text --- .../recipe/ResearchStationAssemblyLine.java | 24 +++++++++++++++++++ ...aTileEntity_Hatch_CreativeUncertainty.java | 8 +++---- .../resources/assets/tectech/lang/en_US.lang | 4 ++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java b/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java index aa55361e7..2e6fe386a 100644 --- a/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java +++ b/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java @@ -25,9 +25,11 @@ import static gregtech.api.enums.Mods.Thaumcraft; import static gregtech.api.enums.Mods.TinkersGregworks; import static gregtech.api.util.GT_ModHandler.getModItem; +import static gregtech.api.util.GT_RecipeBuilder.INGOTS; import static gregtech.api.util.GT_RecipeBuilder.MINUTES; import static gregtech.api.util.GT_RecipeBuilder.SECONDS; +import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidRegistry; @@ -1222,6 +1224,28 @@ public void run() { 6000, 500000); + if (GTPlusPlus.isModLoaded()) { + // Debug uncertainty resolver + TT_recipeAdder.addResearchableAssemblylineRecipe( + CustomItemList.UncertaintyX_Hatch.get(1L), + 720_000_000, + 5_120, + 16_000_000, + 6, + new Object[] { CustomItemList.UncertaintyX_Hatch.get(1L), + CustomItemList.hatch_CreativeMaintenance.get(1), ItemList.Field_Generator_UIV.get(1L), + GregtechItemList.Laser_Lens_Special.get(4), + new Object[] { OrePrefixes.circuit.get(Materials.Piko), 1 }, + new Object[] { OrePrefixes.circuit.get(Materials.Piko), 1 }, + CustomItemList.DATApipe.get(64), CustomItemList.DATApipe.get(64), + ItemList.Cover_Screen.get(1), new ItemStack(Blocks.stone_button, 16) }, + new FluidStack[] { Materials.Iridium.getMolten(INGOTS * 100), + new FluidStack(ELEMENT.getInstance().NEPTUNIUM.getPlasma(), 20000), + new FluidStack(ELEMENT.getInstance().FERMIUM.getPlasma(), 20000) }, + CustomItemList.hatch_CreativeUncertainty.get(1), + 200 * 20, + (int) TierEU.RECIPE_UIV); + } } private void itemPartsUHVAsslineRecipes() { diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java index 73b9ab5ab..11828298d 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeUncertainty.java @@ -30,11 +30,11 @@ public IMetaTileEntity newMetaEntity(IGregTechTileEntity iGregTechTileEntity) { public String[] getDescription() { return new String[] { CommonValues.TEC_MARK_EM, translateToLocal("gt.blockmachines.debug.tt.certain.desc.0"), // Feeling // certain, - // isn't - // it? + // for + // sure EnumChatFormatting.AQUA.toString() + EnumChatFormatting.BOLD - + translateToLocal("gt.blockmachines.debug.tt.certain.desc.1") // Schrödinger's cat ran out of - // the box + + translateToLocal("gt.blockmachines.debug.tt.certain.desc.1") // Schrödinger's cat escaped the + // box }; } diff --git a/src/main/resources/assets/tectech/lang/en_US.lang b/src/main/resources/assets/tectech/lang/en_US.lang index f08072f3e..7729cc63c 100644 --- a/src/main/resources/assets/tectech/lang/en_US.lang +++ b/src/main/resources/assets/tectech/lang/en_US.lang @@ -963,8 +963,8 @@ gt.blockmachines.debug.tt.writer.name=Debug Structure Writer gt.blockmachines.debug.tt.writer.desc.0=Scans Blocks Around gt.blockmachines.debug.tt.writer.desc.1=Prints Multiblock NonTE structure check code gt.blockmachines.debug.tt.writer.desc.2=ABC axises aligned to machine front -gt.blockmachines.debug.tt.certain.desc.0=Feeling certain, isn't it? -gt.blockmachines.debug.tt.certain.desc.1=Schrödinger's cat ran out of the box +gt.blockmachines.debug.tt.certain.desc.0=Feeling certain, for sure +gt.blockmachines.debug.tt.certain.desc.1=Schrödinger's cat escaped the box GT5U.gui.text.computing=§aComputing GT5U.gui.text.providing_data=§aProviding Data From e578f812969d8a04cd5f6a58e4deca88638345c3 Mon Sep 17 00:00:00 2001 From: HoleFish <1594248739@qq.com> Date: Sun, 21 Jan 2024 08:56:13 +0800 Subject: [PATCH 7/7] adjust recipe --- .../loader/recipe/ResearchStationAssemblyLine.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java b/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java index 2e6fe386a..ec96996f2 100644 --- a/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java +++ b/src/main/java/com/github/technus/tectech/loader/recipe/ResearchStationAssemblyLine.java @@ -29,7 +29,6 @@ import static gregtech.api.util.GT_RecipeBuilder.MINUTES; import static gregtech.api.util.GT_RecipeBuilder.SECONDS; -import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidRegistry; @@ -1228,18 +1227,17 @@ public void run() { // Debug uncertainty resolver TT_recipeAdder.addResearchableAssemblylineRecipe( CustomItemList.UncertaintyX_Hatch.get(1L), - 720_000_000, + 72_000_000, 5_120, 16_000_000, 6, - new Object[] { CustomItemList.UncertaintyX_Hatch.get(1L), + new Object[] { CustomItemList.eM_Computer_Bus.get(1), CustomItemList.hatch_CreativeMaintenance.get(1), ItemList.Field_Generator_UIV.get(1L), GregtechItemList.Laser_Lens_Special.get(4), - new Object[] { OrePrefixes.circuit.get(Materials.Piko), 1 }, - new Object[] { OrePrefixes.circuit.get(Materials.Piko), 1 }, + new Object[] { OrePrefixes.circuit.get(Materials.Piko), 2 }, CustomItemList.DATApipe.get(64), CustomItemList.DATApipe.get(64), - ItemList.Cover_Screen.get(1), new ItemStack(Blocks.stone_button, 16) }, - new FluidStack[] { Materials.Iridium.getMolten(INGOTS * 100), + ItemList.Cover_Screen.get(1) }, + new FluidStack[] { Materials.Iridium.getMolten(INGOTS * 100), new FluidStack(solderUEV, 2592), new FluidStack(ELEMENT.getInstance().NEPTUNIUM.getPlasma(), 20000), new FluidStack(ELEMENT.getInstance().FERMIUM.getPlasma(), 20000) }, CustomItemList.hatch_CreativeUncertainty.get(1),