Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
change the des text and setup the new machine
Browse files Browse the repository at this point in the history
  • Loading branch information
GlodBlock committed Jun 4, 2021
1 parent 6eb272c commit ac05aa1
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ public boolean checkRecipe_EM(ItemStack aStack){
ArrayList<FluidStack> tFluids = getStoredFluids();
ArrayList<ItemStack> tItems = getStoredInputs();
Collection<GT_Recipe> tRecipes = MyRecipeAdder.instance.FRF.mRecipeList;
long maxVoltage = getMaxInputVoltage();

for (int i = 0; i < tFluids.size() - 1; i++) {
for (int j = i + 1; j < tFluids.size(); j++) {
Expand Down Expand Up @@ -253,7 +252,7 @@ public boolean checkRecipe_EM(ItemStack aStack){
for (GT_Recipe recipe : tRecipes){
checkCoil();
if (recipe.mSpecialValue > Tier) continue;
if (recipe.isRecipeInputEqual(true, inFluids, inItems) && recipe.mEUt <= maxVoltage){
if (recipe.isRecipeInputEqual(true, inFluids, inItems)){
mEUt = recipe.mEUt;
mMaxProgresstime = recipe.mDuration / (1 << (Tier - recipe.mSpecialValue));
this.mOutputFluids = recipe.mFluidOutputs;
Expand Down
62 changes: 62 additions & 0 deletions src/main/java/GoodGenerator/Blocks/TEs/MegaPlasmaTurbine.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
package GoodGenerator.Blocks.TEs;


import com.github.bartimaeusnek.crossmod.tectech.TecTechEnabledMulti;
import com.github.technus.tectech.mechanics.constructable.IConstructable;
import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_EnergyMulti;
import com.github.technus.tectech.thing.metaTileEntity.hatch.GT_MetaTileEntity_Hatch_EnergyTunnel;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Energy;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_MultiBlockBase;
import gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeTurbine_Plasma;
import net.minecraft.item.ItemStack;

import java.util.List;

public class MegaPlasmaTurbine extends GT_MetaTileEntity_LargeTurbine_Plasma implements TecTechEnabledMulti, IConstructable {

public MegaPlasmaTurbine(String name){super(name);}

public MegaPlasmaTurbine(int id, String name, String nameRegional){
super(id,name,nameRegional);
}

@Override
public void construct(ItemStack itemStack, boolean b) {

}

@Override
public String[] getStructureDescription(ItemStack itemStack) {
return new String[0];
}

@Override
public List<GT_MetaTileEntity_Hatch_Energy> getVanillaEnergyHatches() {
return this.mEnergyHatches;
}

@Override
public List<GT_MetaTileEntity_Hatch_EnergyTunnel> getTecTechEnergyTunnels() {
return null;
}

@Override
public List<GT_MetaTileEntity_Hatch_EnergyMulti> getTecTechEnergyMultis() {
return null;
}

@Override
public long[] getCurrentInfoData() {
return new long[0];
}

@Override
public String[] getInfoDataArray(GT_MetaTileEntity_MultiBlockBase multiBlockBase) {
return new String[0];
}

@Override
public boolean isMachineBlockUpdateRecursive() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public String[] getDescription() {
.addInfo("Controller block for the Naquadah Reactor")
.addInfo("Environmental Friendly!")
.addInfo("Generate power with the High-energy liquid.")
.addInfo("Input liquid nuclear fuel and liquid naquadah fuel.")
.addInfo("Input liquid nuclear fuel or liquid naquadah fuel.")
.addInfo("The reactor will explode when there are more than ONE types of fuel in the hatch!")
.addInfo("Consume coolant 50mb/t to increase the efficiency:")
.addInfo("IC2 Coolant 105%, Super Coolant 150%, Cryotheum 275%")
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/GoodGenerator/Loader/RecipeLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -1124,12 +1124,12 @@ public static void InitLoadRecipe(){
MyMaterial.radioactiveSludge.get(OrePrefixes.dust,1),
null,null,
Materials.Radon.getGas(5),
GT_OreDictUnificator.get(OrePrefixes.dustSmall,Materials.Calcium,8),
GT_OreDictUnificator.get(OrePrefixes.dustSmall,Materials.Calcium,4),
GT_OreDictUnificator.get(OrePrefixes.dustSmall,Materials.Calcium,2),
GT_OreDictUnificator.get(OrePrefixes.dustSmall,Materials.Calcium,1),
GT_OreDictUnificator.get(OrePrefixes.dustSmall,Materials.Naquadah,1),
GT_OreDictUnificator.get(OrePrefixes.dustSmall,Materials.Uranium,1),
GT_OreDictUnificator.get(OrePrefixes.dustSmall,Materials.Plutonium,1),
WerkstoffLoader.Tellurium.get(OrePrefixes.dustSmall,1),
WerkstoffLoader.Tiberium.get(OrePrefixes.dustSmall,1),
new int[]{10000,9500,8000,2500,2000,2000},
100,
120
Expand Down

0 comments on commit ac05aa1

Please sign in to comment.