mirror of
https://github.com/GTNewHorizons/ThaumicEnergistics.git
synced 2026-10-25 20:32:27 +00:00
add blue light for drive and ME chest (#75)
This commit is contained in:
1 parent
1830c85fbc
commit
93bed91c09
1 file changed
+7
-2
@@ -57,8 +57,8 @@ public class ItemEssentiaCell extends Item implements ICellHandler {
|
||||
/**
|
||||
* Status of the cell.
|
||||
*/
|
||||
private static final int CELL_STATUS_MISSING = 0, CELL_STATUS_HAS_ROOM = 1, CELL_STATUS_TYPES_FULL = 2,
|
||||
CELL_STATUS_FULL = 3;
|
||||
private static final int CELL_STATUS_MISSING = 0, CELL_STATUS_EMPTY = 1, CELL_STATUS_HAS_ROOM = 2,
|
||||
CELL_STATUS_TYPES_FULL = 3, CELL_STATUS_FULL = 4;
|
||||
|
||||
/**
|
||||
* Icons for each type.
|
||||
@@ -262,6 +262,11 @@ public class ItemEssentiaCell extends Item implements ICellHandler {
|
||||
return ItemEssentiaCell.CELL_STATUS_TYPES_FULL;
|
||||
}
|
||||
|
||||
// Total Empty
|
||||
if (cellHandler.getUsedBytes() == 0) {
|
||||
return ItemEssentiaCell.CELL_STATUS_EMPTY;
|
||||
}
|
||||
|
||||
// Full bytes?
|
||||
if (cellHandler.getUsedBytes() == cellHandler.getTotalBytes()) {
|
||||
return ItemEssentiaCell.CELL_STATUS_FULL;
|
||||
|
||||
Reference in new issue
Block a user