lucunji / portalsupercacheforge112 Goto Github PK
View Code? Open in Web Editor NEWYour nether portals become suuuuuper faaaaaast
License: Other
Your nether portals become suuuuuper faaaaaast
License: Other
MC Version: 1.12.2
Forge Version: 14.23.5.2860
Mod Version: [Alpha] 0.2
Instructions to recreate the error are at the bottom of this report
Description: Whenever the player uses any command to teleport from the nether to the overworld and vice versa, an error is thrown in latest.log. HOWEVER, this issue is more complex than I first thought; After the error appears in the latest.log file (which you can see at the bottom of this issue) leaving the world and joining another world will cause no nether portals to generate in either dimension and the error will no longer appear in latest.log as seen in the below screenshots.
Position of the portal as seen in the top right.
...no Portal generates, which is not supposed to happen. This happens whenever you join another world beforehand then try to enter the nether on a different world.
I perform the /spawn command while in the nether and end up at these coordinates.
Still no portal, which is what's supposed to happen when executing /home and /spawn, but I still don't end up at the correct coordinates...
...portal now generates correctly in the nether...
...but now using /home and /spawn to teleport between dimensions takes me to the overworld portal at spawn when near the newly-generated portal in the nether.
Going a few hundred blocks away from the portal in the nether, I use /spawn...
...and a portal generates in the overworld and I'm at random coordinates yet again.
Everything shown and described here was tested in Singleplayer only. I have no idea why any of this happens but it's pretty dang annoying to have happen all the time. Removing PortalSuperCache fixes all the issues listed here.
The Error made in latest.log:
java.lang.NullPointerException: null
at com.lucunji.superportalcache.SuperCacheTeleporter.placeInExistingPortal(SuperCacheTeleporter.java:108) ~[SuperCacheTeleporter.class:?]
at net.minecraft.world.Teleporter.placeInPortal(Teleporter.java:37) ~[anc.class:?]
at net.minecraft.world.Teleporter.placeEntity(Teleporter.java:436) ~[anc.class:?]
at net.minecraft.server.management.PlayerList.transferEntityToWorld(PlayerList.java:721) ~[pl.class:?]
at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:624) ~[pl.class:?]
at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:611) ~[pl.class:?]
at com.lucunji.superportalcache.PortalEventHandler.onPlayerTeleport(PortalEventHandler.java:140) ~[PortalEventHandler.class:?]
at com.lucunji.superportalcache.PortalEventHandler.onPortalTeleport(PortalEventHandler.java:54) ~[PortalEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_887_PortalEventHandler_onPortalTeleport_EntityTravelToDimensionEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
at net.minecraftforge.common.ForgeHooks.onTravelToDimension(ForgeHooks.java:1073) [ForgeHooks.class:14.23.5.2860]
at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:663) [oq.class:?]
at com.feed_the_beast.ftblib.lib.math.TeleporterDimPos.teleport(TeleporterDimPos.java:81) [TeleporterDimPos.class:?]
at com.feed_the_beast.ftbutilities.data.FTBUtilitiesPlayerData$TeleportTask.execute(FTBUtilitiesPlayerData.java:123) [FTBUtilitiesPlayerData$TeleportTask.class:?]
at com.feed_the_beast.ftbutilities.data.FTBUtilitiesPlayerData$Timer.teleport(FTBUtilitiesPlayerData.java:79) [FTBUtilitiesPlayerData$Timer.class:?]
at com.feed_the_beast.ftbutilities.command.tp.CmdHome.execute(CmdHome.java:125) [CmdHome.class:?]
at com.feed_the_beast.ftbutilities.ranks.CommandOverride.execute(CommandOverride.java:83) [CommandOverride.class:?]
at net.minecraft.command.CommandHandler.tryExecute(CommandHandler.java:119) [bj.class:?]
at net.minecraft.command.CommandHandler.executeCommand(CommandHandler.java:91) [bj.class:?]
at net.minecraft.network.NetHandlerPlayServer.handleSlashCommand(NetHandlerPlayServer.java:962) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.processChatMessage(NetHandlerPlayServer.java:941) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.processPacket(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.processPacket(SourceFile:9) [la.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
at net.minecraft.util.Util.runTask(SourceFile:529) [h.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185) [chd.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
How to recreate the above error:
Launch the game with the following mods active: FTB Utilities, FTB Library, and PortalSuperCache (the versions of each installed mod shouldn't matter)
Create a new world and enter the nether
Once in the nether, simply leave the world and relaunch Minecraft
Join back into the world, move at least 128 blocks away from where you entered the nether at, and use /spawn (or /home if you used /sethome before entering the nether)
You should see "An unknown error occurred while attempting to perform this command" show up in chat followed by the world around you looking something like this if you have Nothirium installed:
Either that or you'll just be stuck on the "Loading Terrain" Screen like I was during standalone testing.
Check your latest.log and the error should be there
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.