public static int levelIdToIndex(UUID levelId){
  return (int)levelId.getLeastSignificantBits();
}

public static int levelIdToIndex ( UUID levelId ) { return ( int ) levelId . getLeastSignificantBits ( ) ; }
converts the unique id to the level index .
