Skip to content

Commit

Permalink
MagneticDomainConstructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Nxer committed Nov 5, 2023
1 parent 1de4930 commit d51c2a4
Show file tree
Hide file tree
Showing 10 changed files with 544 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public enum GTCMItemList implements IItemContainer {
MagneticDrivePressureFormer,
PhysicalFormSwitcher,
MagneticMixer,
MagneticDomainConstructor,

// single block Machines
InfiniteAirHatch,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import gregtech.api.logic.ProcessingLogic;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_ExtendedPowerMultiBlockBase;
import gregtech.api.render.TextureFactory;
import gregtech.api.util.GTPP_Recipe;
import gregtech.api.util.GT_HatchElementBuilder;
import gregtech.api.util.GT_Multiblock_Tooltip_Builder;
import gregtech.api.util.GT_Recipe;
Expand Down Expand Up @@ -81,7 +82,7 @@ public float getSpeedBonus() {

@Override
public GT_Recipe.GT_Recipe_Map getRecipeMap() {
return GT_Recipe.GT_Recipe_Map.sMultiblockMixerRecipes;
return GTPP_Recipe.GTPP_Recipe_Map.sMultiblockMixerRecipes_GT;
}

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

import static com.GTNH_Community.gtnhcommunitymod.util.TextLocalization.NameInfiniteAirHatch;
import static com.GTNH_Community.gtnhcommunitymod.util.TextLocalization.NameIntensifyChemicalDistorter;
import static com.GTNH_Community.gtnhcommunitymod.util.TextLocalization.NameMagneticDomainConstructor;
import static com.GTNH_Community.gtnhcommunitymod.util.TextLocalization.NameMagneticDrivePressureFormer;
import static com.GTNH_Community.gtnhcommunitymod.util.TextLocalization.NameMagneticMixer;
import static com.GTNH_Community.gtnhcommunitymod.util.TextLocalization.NameMiracleTop;
Expand All @@ -12,6 +13,7 @@

import com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList;
import com.GTNH_Community.gtnhcommunitymod.common.machine.GT_TileEntity_IntensifyChemicalDistorter;
import com.GTNH_Community.gtnhcommunitymod.common.machine.GT_TileEntity_MagneticDomainConstructor;
import com.GTNH_Community.gtnhcommunitymod.common.machine.GT_TileEntity_MagneticDrivePressureFormer;
import com.GTNH_Community.gtnhcommunitymod.common.machine.GT_TileEntity_MagneticMixer;
import com.GTNH_Community.gtnhcommunitymod.common.machine.GT_TileEntity_MiracleTop;
Expand All @@ -27,7 +29,9 @@ public class MachineLoader {
public static ItemStack MagneticDrivePressureFormer;
public static ItemStack PhysicalFormSwitcher;
public static ItemStack MagneticMixer;
public static ItemStack MagneticDomainConstructor;

// Single Block
public static ItemStack InfiniteAirHatch;

public static void loadMachines() {
Expand Down Expand Up @@ -70,6 +74,13 @@ public static void loadMachines() {
MagneticMixer = new GT_TileEntity_MagneticMixer(19006, "NameMagneticMixer", NameMagneticMixer).getStackForm(1);
GTCMItemList.MagneticMixer.set(MagneticMixer);

//
MagneticDomainConstructor = new GT_TileEntity_MagneticDomainConstructor(
19007,
"NameMagneticDomainConstructor",
NameMagneticDomainConstructor).getStackForm(1);
GTCMItemList.MagneticDomainConstructor.set(MagneticDomainConstructor);

// endregion

// region Single block Machine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public static void IMCSender() {
sendCatalyst("gt.recipe.extruder", "gregtech:gt.blockmachines:19004", -10);
sendCatalyst("gt.recipe.fluidextractor", "gregtech:gt.blockmachines:19005", -10);
sendCatalyst("gt.recipe.fluidsolidifier", "gregtech:gt.blockmachines:19005", -10);
sendCatalyst("gt.recipe.largemixer", "gregtech:gt.blockmachines:19006", -10);
sendCatalyst("gtpp.recipe.multimixer", "gregtech:gt.blockmachines:19006", -10);
sendCatalyst("gt.recipe.polarizer", "gregtech:gt.blockmachines:19007", -10);
sendCatalyst("gt.recipe.electromagneticseparator", "gregtech:gt.blockmachines:19007", -10);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

import static com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList.InfiniteAirHatch;
import static com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList.IntensifyChemicalDistorter;
import static com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList.MagneticDomainConstructor;
import static com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList.MagneticDrivePressureFormer;
import static com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList.MagneticMixer;
import static com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList.PhysicalFormSwitcher;
import static com.GTNH_Community.gtnhcommunitymod.common.GTCMItemList.SpaceWarper;
import static com.dreammaster.gthandler.CustomItemList.ElectromagneticSeparatorUHV;
import static com.dreammaster.gthandler.CustomItemList.FluidExtractorUV;
import static com.dreammaster.gthandler.CustomItemList.FluidSolidifierUV;
import static com.dreammaster.gthandler.CustomItemList.MixerUV;
import static com.dreammaster.gthandler.CustomItemList.PolarizerUHV;
import static com.dreammaster.gthandler.CustomItemList.Transformer_MAX_UXV;
import static com.dreammaster.gthandler.CustomItemList.Transformer_UIV_UEV;
import static com.dreammaster.gthandler.CustomItemList.Transformer_UMV_UIV;
Expand Down Expand Up @@ -782,6 +785,34 @@ public void loadRecipes() {
.duration(20*30)
.addTo(GT_Recipe.GT_Recipe_Map.sAssemblerRecipes);
// endregion

// region MagneticDomainConstructor
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.getIntegratedCircuit(10),
GT_OreDictUnificator.get(OrePrefixes.frameGt, Materials.CosmicNeutronium, 16),
ElectromagneticSeparatorUHV.get(16),

PolarizerUHV.get(16),
ItemList.Field_Generator_UV.get(3),
ItemList.Robot_Arm_UHV.get(8),

new Object[]{OrePrefixes.circuit.get(Materials.Bio),16},
GT_OreDictUnificator.get(OrePrefixes.plate,Materials.BlackPlutonium,64),
GT_OreDictUnificator.get(OrePrefixes.wireGt04,Materials.SuperconductorUHV,16)
)
.fluidInputs(new FluidStack(solderPlasma,144*64))
.itemOutputs(MagneticDomainConstructor.get(1))
.noFluidOutputs()
.noOptimize()
.eut(RECIPE_UHV)
.duration(20*320)
.addTo(GT_Recipe.GT_Recipe_Map.sAssemblerRecipes);


// endregion


}
// spotless:on
}
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public void loadRecipes() {
.itemOutputs(ItemList.Circuit_OpticalMainframe.get(1))
.noFluidOutputs()
.eut(RECIPE_UEV)
.duration(20*300)
.duration(20*500)
.addTo(MT);

// Optical Computer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,22 @@ public class TextLocalization {
public static final String Tooltip_MagneticMixer_03 = texter("Has parallel equivalent to Perfect Overclock.", "Tooltip_MagneticMixer_03");
public static final String Tooltip_MagneticMixer_04 = texter("Additional 20%% reduction in time per Voltage Tier, multiplication calculus.", "Tooltip_MagneticMixer_04");

// endregion

// region MagneticDomainConstructor
public static final String NameMagneticDomainConstructor = texter("Magnetic Domain Constructor","NameMagneticDomainConstructor");
public static final String Tooltip_MagneticDomainConstructor_MachineType = texter("Electromagnetic Separator | Electromagnetic Polarizer","Tooltip_MagneticDomainConstructor_MachineType");
public static final String Tooltip_MagneticDomainConstructor_00 = texter("Controller block for the Magnetic Domain Constructor","Tooltip_MagneticDomainConstructor_00");
public static final String Tooltip_MagneticDomainConstructor_01 = texter(EnumChatFormatting.DARK_GRAY + "Don't give up your imagination.","Tooltip_MagneticDomainConstructor_01");
public static final String Tooltip_MagneticDomainConstructor_02 = texter("Controlling the magnetic domains inside the crystal, yes that's it.","Tooltip_MagneticDomainConstructor_02");
public static final String Tooltip_MagneticDomainConstructor_03 = texter("8x Parallel per Ring.(Don't use a lot of blueprints when first scanning.)","Tooltip_MagneticDomainConstructor_03");
public static final String Tooltip_MagneticDomainConstructor_04 = texter("Additional 10%% reduction in time per Voltage Tier, multiplication calculus.","Tooltip_MagneticDomainConstructor_04");


// endregion

// region InfiniteAirHatch
public static final String NameInfiniteAirHatch = texter(
"Infinite Air Hatch",
"NameInfiniteAirHatch"
);
public static final String NameInfiniteAirHatch = texter("Infinite Air Hatch", "NameInfiniteAirHatch");

// endregion
}
Expand Down
9 changes: 9 additions & 0 deletions src/main/resources/assets/gtnhcommunitymod/lang/en_US.lang
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,12 @@ Tooltip_MagneticMixer_04=Additional 20%% reduction in time per Voltage Tier, mul
Tooltip_MagneticMixer_03=Has parallel equivalent to Perfect Overclock.
textUseBlueprint=Use §9Blue§bprint§r to preview
Tooltip_MagneticMixer_02=Looks more like a tumble washing machine.
MagneticDomainConstructor.modeMsg.0=Electromagnetic Separator Mode
MagneticDomainConstructor.modeMsg.1=Electromagnetic Polarizer Mode
Tooltip_MagneticDomainConstructor_MachineType=Electromagnetic Separator | Electromagnetic Polarizer
NameMagneticDomainConstructor=Magnetic Domain Constructor
Tooltip_MagneticDomainConstructor_00=Controller block for the Magnetic Domain Constructor
Tooltip_MagneticDomainConstructor_02=Controlling the magnetic domains inside the crystal, yes that's it.
Tooltip_MagneticDomainConstructor_01=§8Don't give up your imagination.
Tooltip_MagneticDomainConstructor_04=Additional 10%% reduction in time per Voltage Tier, multiplication calculus.
Tooltip_MagneticDomainConstructor_03=8x Parallel per Ring.(Don't use a lot of blueprints when first scanning.)
9 changes: 9 additions & 0 deletions src/main/resources/assets/gtnhcommunitymod/lang/zh_CN.lang
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,12 @@ Tooltip_MagneticMixer_02=看起来更像一个滚筒洗衣机.
Tooltip_MagneticMixer_03=拥有与无损超频等效的并行(但有损超频).
Tooltip_MagneticMixer_04=电压每提高1级, 额外降低20%%配方耗时, 叠乘计算.
textUseBlueprint=用§9蓝§b图§r预览
MagneticDomainConstructor.modeMsg.0=电磁离析机模式
MagneticDomainConstructor.modeMsg.1=磁化机模式
Tooltip_MagneticDomainConstructor_MachineType=电磁离析机 | 磁化机
NameMagneticDomainConstructor=磁畴构建器
Tooltip_MagneticDomainConstructor_00=磁畴构建器的控制器方块
Tooltip_MagneticDomainConstructor_01=§8不要放弃你的幻想.
Tooltip_MagneticDomainConstructor_02=操控晶体内部的磁畴子, 就是这样.
Tooltip_MagneticDomainConstructor_03=每环增加8并行.(不要一开始就用很多§9蓝§b图§7去扫描.)
Tooltip_MagneticDomainConstructor_04=电压每提高1级, 额外降低10%%配方耗时, 叠乘计算.

0 comments on commit d51c2a4

Please sign in to comment.