Put method generaton helpers in new class.
Don't crash if there's a null return from the container-specific slot map.
Add some mod compatiblity work, Galacticraft inventory works again.