In 1.21, registries were changed to use HolderGetters and Holders instead of just a Registry that yo ucould call getOptional on. Required updating, otherwise jigsaws will not generate at all.
I think the issue is for all of 1.21, maybe just 1.21.2 and up