The 1.21.1 neoforge version requires the sodium dynamic lights mod, which is incompatible with lamb dynamic lights. This is probably a feature thats you're working on, and using lamb DL is probably more complex than sodium DL which is why the beta version requires the sodium version.