mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-17 11:05:15 +00:00
WIP Weather obelisk first pass
This commit is contained in:
1 parent
e17c938814
commit
045a04cc76
20 files changed
+395
-39
No files matched your search
@@ -15,7 +15,7 @@ import crazypants.vecmath.VecmathUtil;
|
||||
public abstract class AbstractPoweredMachineEntity extends AbstractMachineEntity implements IInternalPoweredTile {
|
||||
|
||||
// Power
|
||||
protected Capacitors capacitorType;
|
||||
private Capacitors capacitorType;
|
||||
|
||||
private int storedEnergyRF;
|
||||
protected float lastSyncPowerStored = -1;
|
||||
@@ -81,6 +81,10 @@ public abstract class AbstractPoweredMachineEntity extends AbstractMachineEntity
|
||||
return storedEnergyRF > 0;
|
||||
}
|
||||
|
||||
public Capacitors getCapacitorType() {
|
||||
return capacitorType;
|
||||
}
|
||||
|
||||
public ICapacitor getCapacitor() {
|
||||
return capacitorType.capacitor;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user