-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from Nxer/main
sync from main
- Loading branch information
Showing
15 changed files
with
549 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
322 changes: 322 additions & 0 deletions
322
...xer/TwistSpaceTechnology/common/machine/TST_CoreDeviceOfHumanPowerGenerationFacility.java
Large diffs are not rendered by default.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
src/main/java/com/Nxer/TwistSpaceTechnology/common/machine/TST_MegaVoidMiner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package com.Nxer.TwistSpaceTechnology.common.machine; | ||
|
||
import com.github.bartimaeusnek.crossmod.galacticgreg.GT_TileEntity_VoidMiner_Base; | ||
|
||
import gregtech.api.enums.ItemList; | ||
import gregtech.api.enums.Materials; | ||
import gregtech.api.interfaces.metatileentity.IMetaTileEntity; | ||
import gregtech.api.interfaces.tileentity.IGregTechTileEntity; | ||
|
||
public class TST_MegaVoidMiner extends GT_TileEntity_VoidMiner_Base { | ||
|
||
// region Class Constructor | ||
public TST_MegaVoidMiner(int aID, String aName, String aNameRegional, int tier) { | ||
super(aID, aName, aNameRegional, tier); | ||
} | ||
|
||
public TST_MegaVoidMiner(String aName, int tier) { | ||
super(aName, tier); | ||
} | ||
|
||
@Override | ||
public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) { | ||
return new TST_MegaVoidMiner(this.mName, this.TIER_MULTIPLIER); | ||
} | ||
// endregion | ||
|
||
// region Processing Logic | ||
|
||
// endregion | ||
|
||
// region Structure | ||
|
||
// endregion | ||
|
||
// region General | ||
|
||
@Override | ||
protected ItemList getCasingBlockItem() { | ||
return null; | ||
} | ||
|
||
@Override | ||
protected Materials getFrameMaterial() { | ||
return null; | ||
} | ||
|
||
@Override | ||
protected int getCasingTextureIndex() { | ||
return 0; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/com/Nxer/TwistSpaceTechnology/util/enums/TierName.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.Nxer.TwistSpaceTechnology.util.enums; | ||
|
||
public class TierName { | ||
|
||
public static final String[] VoltageName = { "ULV", "LV", "MV", "HV", "EV", "IV", "LuV", "ZPM", "UV", "UHV", "UEV", | ||
"UIV", "UMV", "UXV", "MAX", "ERROR" }; | ||
|
||
public static String getVoltageName(int tier) { | ||
if (tier < 0) throw new IllegalArgumentException("tier < 0"); | ||
if (tier >= VoltageName.length) return "ERROR"; | ||
return VoltageName[tier]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.