mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-13 17:04:02 +00:00
+ update to Java 8 + added GUI for Solars (in different colors) + changed Terra/Aer solar beeing dynamic (from y=5 to y=220|x1 to x3) + changed Ordo/Perditio solar generating at night/day (x0.75/x2) + changed Aqua solar generation (x1 at day, x2 under water, x3 while rain x6 while thunderstorm) + changed Ignis solar generation (x1 at day, x2 in Nether, x3 when fed with 10Ignis Centivis) + version number increase (1.2.7.0 -> 1.2.7.1)
28 lines
716 B
Java
28 lines
716 B
Java
package emt.tile.solar.order;
|
|
|
|
import emt.init.EMTBlocks;
|
|
import emt.util.EMTConfigHandler;
|
|
import ic2.api.energy.prefab.BasicSource;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class TileEntityDoubleOrderSolar extends TileEntityOrderSolar {
|
|
|
|
public TileEntityDoubleOrderSolar() {
|
|
super();
|
|
energySource = new BasicSource(this, 100000, 4);
|
|
output = EMTConfigHandler.doubleCompressedSolarOutput;
|
|
this.maxstorage=this.getEUCapacity();
|
|
}
|
|
|
|
@Override
|
|
public ItemStack getWrenchDrop(EntityPlayer entityPlayer) {
|
|
return new ItemStack(EMTBlocks.emtSolars, 1, 10);
|
|
}
|
|
|
|
@Override
|
|
public String getInventoryName() {
|
|
return "Double Compressed Ordo Solar";
|
|
}
|
|
}
|