question: static void calculate ( ) { for ( byte levelByte : itemLevels ) { short level = ( short ) ( levelByte & 0xFF ) ; if ( level < 10 ) { continue ; } int countIndex = 0 ; for ( short countByte : fullCounts ) { short count = ( short ) ( countByte & 0xFF ) ; int finalLevel = level ; if ( finalLevel % 5 == 0 ) { finalLevel -- ; } int pointLevel = ( int ) itemLevels [ ( finalLevel / 5 ) ] ; int feedPoints = Math . max ( 0 , pointLevel - 5 ) / 5 * 8 ; pointValues [ finalLevel / 5 ] [ countIndex ++ ] = getPoints ( feedPoints , count ) ; } } }
target:  Calculate point values for each item levels and each max feed count