Just some advice next time. It was good that you included your code, most of the time you need to provide code so we can help, however we can't do much based on just code. This time it was easy, because the error jumped out and was obvious to someone who knew what they were looking at, but one example could be some code which has multiple errors, and you haven't specified which one you're wanting help with, nor a crash log.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.