The button constructor now takes a lambda reference for what happens.
https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/industry/client/gui/FilterGuiContainer.java#L91
I just mapped it back to actionPerformed, but because its a lambda, you can make each button take in a method that only matters for that button.