ModGeneric ported