diff options
author | Dream-Master <dream-master@gmx.net> | 2020-03-23 12:17:09 +0100 |
---|---|---|
committer | Dream-Master <dream-master@gmx.net> | 2020-03-23 12:17:09 +0100 |
commit | 113dc732b2d25c3ed302bf6ee4c673a49405fc6b (patch) | |
tree | 3c4082810a9047a23cf170b5efb5205c2029aa2e /src/main/java/gregtech/common | |
parent | c759ae1b05589b411a603ffd2efa2c33b327540c (diff) | |
download | GT5-Unofficial-113dc732b2d25c3ed302bf6ee4c673a49405fc6b.tar.gz GT5-Unofficial-113dc732b2d25c3ed302bf6ee4c673a49405fc6b.tar.bz2 GT5-Unofficial-113dc732b2d25c3ed302bf6ee4c673a49405fc6b.zip |
First attemp to add Ore drilling Plant Luv and ZPM
Diffstat (limited to 'src/main/java/gregtech/common')
3 files changed, 124 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java index 093373bde4..42e3b2d9b4 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java @@ -20,9 +20,13 @@ public class GT_Block_Casings8 }
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Chemically Inert Machine Casing");
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "PTFE Pipe Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Mining Neutronium Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Mining Black Plutonium Casing");
ItemList.Casing_Chemically_Inert.set(new ItemStack(this, 1, 0));
ItemList.Casing_Pipe_Polytetrafluoroethylene.set(new ItemStack(this, 1, 1));
+ ItemList.Casing_MiningNeutronium.set(new ItemStack(this, 1, 2));
+ ItemList.Casing_MiningBlackPlutonium.set(new ItemStack(this, 1, 3));
}
@Override
@@ -33,6 +37,10 @@ public class GT_Block_Casings8 return Textures.BlockIcons.MACHINE_CASING_CHEMICALLY_INERT.getIcon();
case 1:
return Textures.BlockIcons.MACHINE_CASING_PIPE_POLYTETRAFLUOROETHYLENE.getIcon();
+ case 2:
+ return Textures.BlockIcons.MACHINE_CASING_MINING_NEUTRONIUM.getIcon();
+ case 3:
+ return Textures.BlockIcons.MACHINE_CASING_MINING_BLACKPLUTONIUM.getIcon();
}
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OreDrillingPlant5.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OreDrillingPlant5.java new file mode 100644 index 0000000000..aa23b9caf7 --- /dev/null +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OreDrillingPlant5.java @@ -0,0 +1,58 @@ +package gregtech.common.tileentities.machines.multi; + +import gregtech.api.enums.ItemList; +import gregtech.api.enums.Materials; +import gregtech.api.interfaces.metatileentity.IMetaTileEntity; +import gregtech.api.interfaces.tileentity.IGregTechTileEntity; + +public class GT_MetaTileEntity_OreDrillingPlant5 extends GT_MetaTileEntity_OreDrillingPlantBase { + public GT_MetaTileEntity_OreDrillingPlant5(int aID, String aName, String aNameRegional) { + super(aID, aName, aNameRegional); + mTier=5; + } + + public GT_MetaTileEntity_OreDrillingPlant5(String aName) { + super(aName); + mTier=5; + } + + @Override + public String[] getDescription() { + return getDescriptionInternal("LuV"); + } + + @Override + public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) { + return new GT_MetaTileEntity_OreDrillingPlant5(mName); + } + + @Override + protected ItemList getCasingBlockItem() { + return ItemList.Casing_MiningNeutronium; + } + + @Override + protected Materials getFrameMaterial() { + return Materials.Neutronium; + } + + @Override + protected int getCasingTextureIndex() { + return 50; + } + + @Override + protected int getRadiusInChunks() { + return 12; + } + + @Override + protected int getMinTier() { + return 6; + } + + @Override + protected int getBaseProgressTime() { + return 320; + } +} diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OreDrillingPlant6.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OreDrillingPlant6.java new file mode 100644 index 0000000000..55f56c17f4 --- /dev/null +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_OreDrillingPlant6.java @@ -0,0 +1,58 @@ +package gregtech.common.tileentities.machines.multi; + +import gregtech.api.enums.ItemList; +import gregtech.api.enums.Materials; +import gregtech.api.interfaces.metatileentity.IMetaTileEntity; +import gregtech.api.interfaces.tileentity.IGregTechTileEntity; + +public class GT_MetaTileEntity_OreDrillingPlant6 extends GT_MetaTileEntity_OreDrillingPlantBase { + public GT_MetaTileEntity_OreDrillingPlant6(int aID, String aName, String aNameRegional) { + super(aID, aName, aNameRegional); + mTier=5; + } + + public GT_MetaTileEntity_OreDrillingPlant6(String aName) { + super(aName); + mTier=5; + } + + @Override + public String[] getDescription() { + return getDescriptionInternal("ZPM"); + } + + @Override + public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) { + return new GT_MetaTileEntity_OreDrillingPlant6(mName); + } + + @Override + protected ItemList getCasingBlockItem() { + return ItemList.Casing_MiningBlackPlutonium; + } + + @Override + protected Materials getFrameMaterial() { + return Materials.BlackPlutonium; + } + + @Override + protected int getCasingTextureIndex() { + return 51; + } + + @Override + protected int getRadiusInChunks() { + return 15; + } + + @Override + protected int getMinTier() { + return 7; + } + + @Override + protected int getBaseProgressTime() { + return 160; + } +} |