mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-18 11:29:30 +00:00
Unify IProgressTile usage, only implement where needed.
Tons of cleanup everywhere, implement final methods in TileEntityEio
This commit is contained in:
1 parent
adabb82f72
commit
57f665a03e
49 files changed
+176
-196
No files matched your search
@@ -197,8 +197,6 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
|
||||
|
||||
public abstract boolean isActive();
|
||||
|
||||
public abstract float getProgress();
|
||||
|
||||
public String getSoundName() {
|
||||
return null;
|
||||
}
|
||||
@@ -229,18 +227,12 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int getProgressScaled(int scale) {
|
||||
int result = (int) (getProgress() * scale);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
// --- Process Loop
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
|
||||
public void doUpdate() {
|
||||
if(worldObj == null) { // sanity check
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user