Implemented ME chest item + block model.

This commit is contained in:
Sebastian Hartte
2016-08-27 18:12:54 +02:00
parent 5465527ea0
commit 81984b3ad7
31 changed files with 330 additions and 23 deletions
@@ -70,22 +70,7 @@ public class DriveSlotsState
}
else
{
switch( chestOrDrive.getCellStatus( i ) )
{
default:
case 0:
slots[i] = DriveSlotState.EMPTY;
break;
case 1:
slots[i] = DriveSlotState.ONLINE;
break;
case 2:
slots[i] = DriveSlotState.TYPES_FULL;
break;
case 3:
slots[i] = DriveSlotState.FULL;
break;
}
slots[i] = DriveSlotState.fromCellStatus( chestOrDrive.getCellStatus( i ) );
}
}
return new DriveSlotsState( slots );