I was messing around in the code and I don't think that movement uses that variable anymore. With the new attribute system it uses attribute modifiers. I just edited the entityplayer base class as I have changed it a bit already due to the fact it adds in a whole new system.
For the ore:
In your generate file add a switch statement of world.provider.dimensionID.
If it is your custom dimension id then add your generate method there.