Closed LatvianModder closed 4 years ago
https://github.com/blay09/NetherPortalFix/blob/1.12/src/main/java/net/blay09/mods/netherportalfix/NetherPortalFix.java#L145-L195
These methods are old, Forge has added ITeleporter and fixed issues with cross-dimension teleportation when using entity.changeDimension(int dimension, ITeleporter); You can see https://github.com/LatvianModder/FTBLib/blob/master/src/main/java/com/feed_the_beast/ftblib/lib/math/TeleporterDimPos.java#L81 for example. Just came here after I got reported an issue with this mod and old methods may be the cause. (https://github.com/LatvianModder/FTBUtilities/issues/577#issuecomment-440283753)
entity.changeDimension(int dimension, ITeleporter);
Fixed in 1.14+ by using the new ServerPlayerEntity.teleport() method.
https://github.com/blay09/NetherPortalFix/blob/1.12/src/main/java/net/blay09/mods/netherportalfix/NetherPortalFix.java#L145-L195
These methods are old, Forge has added ITeleporter and fixed issues with cross-dimension teleportation when using
entity.changeDimension(int dimension, ITeleporter);
You can see https://github.com/LatvianModder/FTBLib/blob/master/src/main/java/com/feed_the_beast/ftblib/lib/math/TeleporterDimPos.java#L81 for example. Just came here after I got reported an issue with this mod and old methods may be the cause. (https://github.com/LatvianModder/FTBUtilities/issues/577#issuecomment-440283753)