Stage 1 of porting a mod to a new version is to get the thing compiling. Once this is done you can move on to getting the game to launch, managing to create a world, and then a wealth of tests to ensure all the features work.
NeoForge 1.21.4
NeoForge for Minecraft 1.21.4