Update of Portal mechanic - Still WIP

There is a lot to do on this mechanic.
The implementation of Portals is really over complicated.
Thanks Mojang. :(