Changed to a more componenty system. Not entirely sure about this, but it works well enough. Also much more separated from Minecraft internals.