mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Adjusted Reconstructor explosion lens values, texture
This commit is contained in:
parent
c55991f5e0
commit
c545b162ff
4 changed files with 5 additions and 4 deletions
|
@ -40,8 +40,8 @@ public class BlockAtomicReconstructor extends BlockContainerBase implements IAct
|
||||||
public BlockAtomicReconstructor(){
|
public BlockAtomicReconstructor(){
|
||||||
super(Material.rock);
|
super(Material.rock);
|
||||||
this.setHarvestLevel("pickaxe", 0);
|
this.setHarvestLevel("pickaxe", 0);
|
||||||
this.setHardness(6F);
|
this.setHardness(10F);
|
||||||
this.setResistance(20F);
|
this.setResistance(80F);
|
||||||
this.setStepSound(soundTypeStone);
|
this.setStepSound(soundTypeStone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -111,6 +111,7 @@ public class CreativeTab extends CreativeTabs{
|
||||||
add(InitBlocks.blockBlackLotus);
|
add(InitBlocks.blockBlackLotus);
|
||||||
|
|
||||||
add(InitItems.itemColorLens);
|
add(InitItems.itemColorLens);
|
||||||
|
add(InitItems.itemExplosionLens);
|
||||||
add(InitItems.itemLaserWrench);
|
add(InitItems.itemLaserWrench);
|
||||||
add(InitItems.itemChestToCrateUpgrade);
|
add(InitItems.itemChestToCrateUpgrade);
|
||||||
|
|
||||||
|
|
|
@ -70,9 +70,9 @@ public class TileEntityAtomicReconstructor extends TileEntityInventoryBase imple
|
||||||
|
|
||||||
//Detonation
|
//Detonation
|
||||||
if(currentLens == ReconstructorRecipeHandler.LensType.DETONATION){
|
if(currentLens == ReconstructorRecipeHandler.LensType.DETONATION){
|
||||||
int use = baseUse+800000;
|
int use = baseUse+500000;
|
||||||
if(this.storage.getEnergyStored() >= use){
|
if(this.storage.getEnergyStored() >= use){
|
||||||
this.worldObj.newExplosion(null, hitBlock.getX()+0.5, hitBlock.getY()+0.5, hitBlock.getZ()+0.5, 8F, true, true);
|
this.worldObj.newExplosion(null, hitBlock.getX()+0.5, hitBlock.getY()+0.5, hitBlock.getZ()+0.5, 10F, true, true);
|
||||||
this.storage.extractEnergy(use, false);
|
this.storage.extractEnergy(use, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 532 B |
Loading…
Reference in a new issue