Started by
Mrcubix17
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I was Creating my mods and added a way to enter in my dimension different that the simple portal way.
My Mod, wich is in developement, is based on black holes who does differents things...
One of them is the new way i added to travel to my new dimension, using Player collision event.
But when i collide, firstly, the dimension load, and after some second, the game crash, here is the crash log, and the log of the game:
Crash-Log:
---- Minecraft Crash Report ----
// Shall we play a game?
Time: 3/1/18 6:56 PM
Description: Colliding entity with block
java.lang.NullPointerException: Colliding entity with block
at net.minecraft.world.Teleporter.placeInExistingPortal(Teleporter.java:136)
at net.minecraft.world.Teleporter.placeInPortal(Teleporter.java:36)
at net.minecraft.server.management.PlayerList.transferEntityToWorld(PlayerList.java:724)
at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:631)
at net.minecraft.server.management.PlayerList.changePlayerDimension(PlayerList.java:618)
at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:679)
at mod.mcreator.mcreator_blockBlackHole$BlockBlockBlackHole.onEntityCollidedWithBlock(mcreator_blockBlackHole.java:144)
at net.minecraft.entity.Entity.doBlockCollisions(Entity.java:1137)
at net.minecraft.entity.Entity.move(Entity.java:1055)
at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:2065)
at net.minecraft.entity.player.EntityPlayer.moveEntityWithHeading(EntityPlayer.java:1944)
at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2504)
at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:566)
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2296)
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:259)
at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:371)
at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:176)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:218)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:309)
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:197)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:818)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.world.Teleporter.placeInExistingPortal(Teleporter.java:136)
at net.minecraft.world.Teleporter.placeInPortal(Teleporter.java:36)
at net.minecraft.server.management.PlayerList.transferEntityToWorld(PlayerList.java:724)
at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:631)
at net.minecraft.server.management.PlayerList.changePlayerDimension(PlayerList.java:618)
at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:679)
at mod.mcreator.mcreator_blockBlackHole$BlockBlockBlackHole.onEntityCollidedWithBlock(mcreator_blockBlackHole.java:144)
-- Block being collided with --
Details:
Block: testenvironmentmod:blockblackhole
Block location: World: (-304,23,317), Chunk: (at 0,1,13 in -19,19; contains blocks -304,0,304 to -289,255,319), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Stacktrace:
at net.minecraft.entity.Entity.doBlockCollisions(Entity.java:1137)
-- Entity being checked for collision --
Details:
Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
Entity ID: 124
Entity Name: Player194
Entity's Exact location: -303.00, 23.77, 318.00
Entity's Block location: World: (-303,23,318), Chunk: (at 1,1,14 in -19,19; contains blocks -304,0,304 to -289,255,319), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.entity.Entity.move(Entity.java:1055)
at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:2065)
at net.minecraft.entity.player.EntityPlayer.moveEntityWithHeading(EntityPlayer.java:1944)
at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2504)
at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:566)
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2296)
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:259)
-- Player being ticked --
Details:
Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
Entity ID: 124
Entity Name: Player194
Entity's Exact location: -303.00, 23.77, 318.00
Entity's Block location: World: (-303,23,318), Chunk: (at 1,1,14 in -19,19; contains blocks -304,0,304 to -289,255,319), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:371)
at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:176)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:218)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:309)
-- Ticking connection --
Details:
Connection: net.minecraft.network.NetworkManager@d5e5c3f
Stacktrace:
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:197)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:818)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.11.2
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 577632096 bytes (550 MB) / 1019740160 bytes (972 MB) up to 1895825408 bytes (1808 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 14
FML: MCP 9.38 Powered by Forge 13.20.1.2386 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA minecraft{1.11.2} [Minecraft] (minecraft.jar)
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2386.jar)
UCHIJAAAA forge{13.20.1.2386} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2386.jar)
UCHIJAAAA testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar)
Loaded coremods (and transformers):
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP['Player194'/124, l='New World', x=-303.00, y=23.77, z=318.00]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
Log:
[18:55:21] [Client thread/INFO]: Setting user: Player194
[18:55:27] [Client thread/WARN]: Skipping bad option: lastServer:
[18:55:27] [Client thread/INFO]: LWJGL Version: 2.9.4
[18:55:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testenvironmentmod
[18:55:37] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:55:37] [Thread-8/INFO]: Initializing LWJGL OpenAL
[18:55:37] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:55:37] [Thread-8/INFO]: OpenAL initialized.
[18:55:37] [Sound Library Loader/INFO]: Sound engine started
[18:55:43] [Client thread/INFO]: Created: 16x16 textures-atlas
[18:55:44] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testenvironmentmod
[18:55:48] [Client thread/INFO]: SoundSystem shutting down...
[18:55:48] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[18:55:48] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:55:48] [Thread-10/INFO]: Initializing LWJGL OpenAL
[18:55:48] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:55:48] [Thread-10/INFO]: OpenAL initialized.
[18:55:48] [Sound Library Loader/INFO]: Sound engine started
[18:55:53] [Client thread/INFO]: Created: 512x512 textures-atlas
[18:55:55] [Client thread/WARN]: Skipping bad option: lastServer:
[18:55:57] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[18:56:05] [Server thread/INFO]: Starting integrated minecraft server version 1.11.2
[18:56:05] [Server thread/INFO]: Generating keypair
[18:56:06] [Server thread/INFO]: Preparing start region for level 0
[18:56:07] [Server thread/INFO]: Changing view distance to 6, from 10
[18:56:09] [Server thread/INFO]: Player194[local:E:664e3098] logged in with entity id 124 at (-276.33597987918336, 8.243247106020148, 324.2861534600313)
[18:56:09] [Server thread/INFO]: Player194 joined the game
[18:56:10] [Server thread/INFO]: Saving and pausing game...
[18:56:10] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[18:56:10] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[18:56:10] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[18:56:10] [Server thread/INFO]: Saving chunks for level 'New World'/maliciousDimensiontest
[18:56:11] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@2ae18d04[id=1de0626e-6c80-37c2-856b-2a8735302b74,name=Player194,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[YggdrasilAuthenticationService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?]
at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3056) [Minecraft.class:?]
at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_101]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
[18:56:19] [Server thread/INFO]: Player194 has just earned the achievement [Taking Inventory]
[18:56:19] [Client thread/INFO]: [CHAT] Player194 has just earned the achievement [Taking Inventory]
[18:56:32] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Colliding entity with block
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_101]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_101]
at net.minecraft.util.Util.runTask(Util.java:30) [Util.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:754) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) [IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: net.minecraft.util.ReportedException: Colliding entity with block
at net.minecraft.entity.Entity.move(Entity.java:1062) ~[Entity.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:511) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.CPacketPlayer.processPacket(CPacketPlayer.java:36) ~[CPacketPlayer.class:?]
at net.minecraft.network.play.client.CPacketPlayer$Position.processPacket(CPacketPlayer.java:85) ~[CPacketPlayer$Position.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_101]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_101]
at net.minecraft.util.Util.runTask(Util.java:29) ~[Util.class:?]
... 5 more
Caused by: java.lang.NullPointerException
at net.minecraft.world.Teleporter.placeInExistingPortal(Teleporter.java:136) ~[Teleporter.class:?]
at net.minecraft.world.Teleporter.placeInPortal(Teleporter.java:39) ~[Teleporter.class:?]
at net.minecraft.server.management.PlayerList.transferEntityToWorld(PlayerList.java:724) ~[PlayerList.class:?]
at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:631) ~[PlayerList.class:?]
at net.minecraft.server.management.PlayerList.changePlayerDimension(PlayerList.java:618) ~[PlayerList.class:?]
at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:679) ~[EntityPlayerMP.class:?]
at mod.mcreator.mcreator_blockBlackHole$BlockBlockBlackHole.onEntityCollidedWithBlock(mcreator_blockBlackHole.java:144) ~[mcreator_blockBlackHole$BlockBlockBlackHole.class:?]
at net.minecraft.entity.Entity.doBlockCollisions(Entity.java:1137) ~[Entity.class:?]
at net.minecraft.entity.Entity.move(Entity.java:1055) ~[Entity.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayer(NetHandlerPlayServer.java:511) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.CPacketPlayer.processPacket(CPacketPlayer.java:36) ~[CPacketPlayer.class:?]
at net.minecraft.network.play.client.CPacketPlayer$Position.processPacket(CPacketPlayer.java:85) ~[CPacketPlayer$Position.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_101]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_101]
at net.minecraft.util.Util.runTask(Util.java:29) ~[Util.class:?]
... 5 more
[18:56:32] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Colliding entity with block
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:212) ~[NetworkSystem.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:818) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) ~[IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: java.lang.NullPointerException
at net.minecraft.world.Teleporter.placeInExistingPortal(Teleporter.java:136) ~[Teleporter.class:?]
at net.minecraft.world.Teleporter.placeInPortal(Teleporter.java:36) ~[Teleporter.class:?]
at net.minecraft.server.management.PlayerList.transferEntityToWorld(PlayerList.java:724) ~[PlayerList.class:?]
at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:631) ~[PlayerList.class:?]
at net.minecraft.server.management.PlayerList.changePlayerDimension(PlayerList.java:618) ~[PlayerList.class:?]
at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:679) ~[EntityPlayerMP.class:?]
at mod.mcreator.mcreator_blockBlackHole$BlockBlockBlackHole.onEntityCollidedWithBlock(mcreator_blockBlackHole.java:144) ~[mcreator_blockBlackHole$BlockBlockBlackHole.class:?]
at net.minecraft.entity.Entity.doBlockCollisions(Entity.java:1137) ~[Entity.class:?]
at net.minecraft.entity.Entity.move(Entity.java:1055) ~[Entity.class:?]
at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:2065) ~[EntityLivingBase.class:?]
at net.minecraft.entity.player.EntityPlayer.moveEntityWithHeading(EntityPlayer.java:1944) ~[EntityPlayer.class:?]
at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2504) ~[EntityLivingBase.class:?]
at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:566) ~[EntityPlayer.class:?]
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2296) ~[EntityLivingBase.class:?]
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:259) ~[EntityPlayer.class:?]
at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:371) ~[EntityPlayerMP.class:?]
at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:176) ~[NetHandlerPlayServer.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:218) ~[NetworkDispatcher$1.class:?]
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:309) ~[NetworkManager.class:?]
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:197) ~[NetworkSystem.class:?]
... 5 more
[18:56:32] [Server thread/ERROR]: This crash report has been saved to: D:\Pylo\MCreator175\forge\run\.\crash-reports\crash-2018-03-01_18.56.32-server.txt
[18:56:32] [Server thread/INFO]: Stopping server
[18:56:32] [Server thread/INFO]: Saving players
[18:56:32] [Server thread/INFO]: Saving worlds
[18:56:32] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[18:56:32] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[18:56:32] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[18:56:32] [Server thread/INFO]: Saving chunks for level 'New World'/maliciousDimensiontest
[18:56:33] [Client Shutdown Thread/INFO]: Stopping server
[18:56:33] [Client Shutdown Thread/INFO]: Saving players
Mcreator Version: 1.7.5 For Minecraft 1.11.2
Hope some of you can help me fix that problem.
Edited by Mrcubix17 on Sun, 03/04/2018 - 15:17
Fixed it by myself (again), just random bugs on mcreator (again...)
I'm Quite excited to see this mod. Sound interesting!
how did you fix it?