https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/1.15.2/src/main/java/mod/dragonita/fantasymod/customthings/FullRainbowPickAxe.java#L50-L70
if only there was a better way to do it (hint: loop)
https://github.com/MisterProgrammer/DickMod/blob/master/src/main/java/com/example/DickMod/ForgeEventSubscriber.java#L17
you never add you cap to anything
can you post that error
https://github.com/DJ1TJOO/fantasy20/blob/master/src/main/java/nl/fantasynetworkmc/fantasy20/setup/GameEvents.java#L22
that is the wrong event bus
and EventBusSubscriber only subscribes static methods