Jump to content

[1.10.2] NullPointerExeption when using onItemRightClick


Geometrically

Recommended Posts

I am experiencing an NPE whenever I use this code and I can't figure out why. The variable is being initialized in the constructor yet it is still none. Here are my log and my code.

[21:07:41] [main/INFO]: Extra: []
[21:07:41] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/juser/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[21:07:41] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:07:41] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:07:41] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:07:41] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[21:07:41] [main/INFO]: Forge Mod Loader version 12.18.3.2488 for Minecraft 1.10.2 loading
[21:07:41] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_121\jre
[21:07:42] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:07:42] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:07:42] [main/INFO]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[21:07:42] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[21:07:42] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:42] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:07:42] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:07:42] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:42] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:42] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:42] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:07:44] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[21:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:07:45] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:07:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:07:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:07:45] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:07:47] [Client thread/INFO]: Setting user: Player222
[21:07:53] [Client thread/WARN]: Skipping bad option: lastServer:
[21:07:53] [Client thread/INFO]: LWJGL Version: 2.9.4
[21:07:54] [Client thread/INFO]: [net.minecraftforge.fml.client.SplashProgress:start:225]: ---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.

Time: 9/29/17 9:07 PM
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.10.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_121, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 99957040 bytes (95 MB) / 394264576 bytes (376 MB) up to 1860698112 bytes (1774 MB)
	JVM Flags: 0 total; 
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: 
	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4549' Renderer: 'Intel(R) HD Graphics 4600'
[21:07:54] [Client thread/INFO]: MinecraftForge v12.18.3.2488 Initialized
[21:07:54] [Client thread/INFO]: Replaced 231 ore recipes
[21:07:54] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[21:07:54] [Client thread/INFO]: Searching C:\Users\juser\Desktop\Coding\Minecraft Mods\Alola\run\mods for mods
[21:07:55] [Client thread/WARN]: ****************************************
[21:07:55] [Client thread/WARN]: * The modid Alola is not the same as it's lowercase version. Lowercasing will be enforced in 1.11
[21:07:55] [Client thread/WARN]: *  at net.minecraftforge.fml.common.FMLModContainer.sanityCheckModId(FMLModContainer.java:145)
[21:07:55] [Client thread/WARN]: *  at net.minecraftforge.fml.common.FMLModContainer.<init>(FMLModContainer.java:130)
[21:07:55] [Client thread/WARN]: *  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[21:07:55] [Client thread/WARN]: *  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[21:07:55] [Client thread/WARN]: *  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[21:07:55] [Client thread/WARN]: *  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)...
[21:07:55] [Client thread/WARN]: ****************************************
[21:07:55] [Client thread/INFO]: Mod Alola is missing the required element 'name'. Substituting Alola
[21:07:56] [Client thread/INFO]: Forge Mod Loader has identified 4 mods to load
[21:07:56] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, Alola] at CLIENT
[21:07:56] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, Alola] at SERVER
[21:07:56] [Thread-6/INFO]: Using sync timing. 200 frames of Display.update took 70528626 nanos
[21:07:57] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Alola
[21:07:57] [Client thread/INFO]: Processing ObjectHolder annotations
[21:07:57] [Client thread/INFO]: Found 423 ObjectHolder annotations
[21:07:57] [Client thread/INFO]: Identifying ItemStackHolder annotations
[21:07:57] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[21:07:57] [Client thread/INFO]: Applying holder lookups
[21:07:57] [Client thread/INFO]: Holder lookups applied
[21:07:57] [Client thread/INFO]: Applying holder lookups
[21:07:57] [Client thread/INFO]: Holder lookups applied
[21:07:57] [Client thread/INFO]: Applying holder lookups
[21:07:57] [Client thread/INFO]: Holder lookups applied
[21:07:57] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[21:07:57] [Client thread/INFO]: Applying holder lookups
[21:07:57] [Forge Version Check/INFO]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[21:07:57] [Client thread/INFO]: Holder lookups applied
[21:07:57] [Client thread/INFO]: Injecting itemstacks
[21:07:57] [Client thread/INFO]: Itemstack injection complete
[21:07:57] [Forge Version Check/INFO]: [Forge] Found status: AHEAD Target: null
[21:08:02] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:08:02] [Thread-8/INFO]: Initializing LWJGL OpenAL
[21:08:02] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:08:02] [Thread-8/INFO]: OpenAL initialized.
[21:08:02] [Sound Library Loader/INFO]: Sound engine started
[21:08:09] [Client thread/INFO]: Max texture size: 8192
[21:08:09] [Client thread/INFO]: Created: 16x16 textures-atlas
[21:08:10] [Client thread/INFO]: Injecting itemstacks
[21:08:10] [Client thread/INFO]: Itemstack injection complete
[21:08:10] [Client thread/INFO]: Forge Mod Loader has successfully loaded 4 mods
[21:08:10] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Alola
[21:08:15] [Client thread/INFO]: SoundSystem shutting down...
[21:08:15] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[21:08:15] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:08:15] [Thread-10/INFO]: Initializing LWJGL OpenAL
[21:08:15] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:08:15] [Thread-10/INFO]: OpenAL initialized.
[21:08:16] [Sound Library Loader/INFO]: Sound engine started
[21:08:22] [Client thread/INFO]: Max texture size: 8192
[21:08:22] [Client thread/INFO]: Created: 512x512 textures-atlas
[21:08:23] [Client thread/ERROR]: Exception loading model for variant alola:alolan_key#inventory for item "alola:alolan_key", normal location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model alola:item/alolan_key with loader VanillaLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:328) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:148) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:132) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:113) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:799) [Minecraft.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:350) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:561) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: alola:models/item/alolan_key.json
	at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:118) ~[ModelLoader.class:?]
	at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:879) ~[ModelLoader$VanillaLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
	... 23 more
[21:08:23] [Client thread/ERROR]: Exception loading model for variant alola:alolan_key#inventory for item "alola:alolan_key", blockstate location exception: 
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model alola:alolan_key#inventory with loader VariantLoader.INSTANCE, skipping
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
	at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:336) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
	at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:148) ~[ModelLoader.class:?]
	at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:132) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:113) [SimpleReloadableResourceManager.class:?]
	at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:799) [Minecraft.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:350) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:561) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
	at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?]
	at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1195) ~[ModelLoader$VariantLoader.class:?]
	at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
	... 23 more
[21:08:23] [Client thread/WARN]: Skipping bad option: lastServer:
[21:08:24] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[21:09:09] [Server thread/INFO]: Starting integrated minecraft server version 1.10.2
[21:09:09] [Server thread/INFO]: Generating keypair
[21:09:09] [Server thread/INFO]: Injecting existing block and item data into this server instance
[21:09:09] [Server thread/INFO]: Applying holder lookups
[21:09:09] [Server thread/INFO]: Holder lookups applied
[21:09:09] [Server thread/INFO]: Loading dimension 0 (Test World) (net.minecraft.server.integrated.IntegratedServer@7f54b81)
[21:09:10] [Server thread/INFO]: Loading dimension 6 (Test World) (net.minecraft.server.integrated.IntegratedServer@7f54b81)
[21:09:10] [Server thread/INFO]: Loading dimension 1 (Test World) (net.minecraft.server.integrated.IntegratedServer@7f54b81)
[21:09:10] [Server thread/INFO]: Loading dimension -1 (Test World) (net.minecraft.server.integrated.IntegratedServer@7f54b81)
[21:09:10] [Server thread/INFO]: Preparing start region for level 0
[21:09:11] [Server thread/INFO]: Preparing spawn area: 37%
[21:09:12] [Server thread/INFO]: Preparing spawn area: 71%
[21:09:12] [Server thread/INFO]: Changing view distance to 12, from 10
[21:09:13] [Netty Local Client IO #0/INFO]: Server protocol version 2
[21:09:13] [Netty Server IO #1/INFO]: Client protocol version 2
[21:09:13] [Netty Server IO #1/INFO]: Client attempting to join with 4 mods : FML@8.0.99.99,Forge@12.18.3.2488,mcp@9.19,Alola@1.0
[21:09:13] [Netty Local Client IO #0/INFO]: [Netty Local Client IO #0] Client side modded connection established
[21:09:13] [Server thread/INFO]: [Server thread] Server side modded connection established
[21:09:13] [Server thread/INFO]: Player222[local:E:afb3adac] logged in with entity id 252 at (114.5, 68.0, 242.5)
[21:09:13] [Server thread/INFO]: Player222 joined the game
[21:09:15] [Server thread/INFO]: Saving and pausing game...
[21:09:15] [Server thread/INFO]: Saving chunks for level 'Test World'/Overworld
[21:09:15] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@48f51604[id=f61ca7c9-c051-37fb-bee7-11203541854b,name=Player222,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:65) ~[YggdrasilAuthenticationService.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [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:165) [YggdrasilMinecraftSessionService.class:?]
	at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3060) [Minecraft.class:?]
	at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [SkinManager$3.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
[21:09:15] [Server thread/INFO]: Saving chunks for level 'Test World'/Nether
[21:09:15] [Server thread/INFO]: Saving chunks for level 'Test World'/The End
[21:09:15] [Server thread/INFO]: Saving chunks for level 'Test World'/Alolan
[21:09:16] [Server thread/INFO]: Saving and pausing game...
[21:09:16] [Server thread/INFO]: Saving chunks for level 'Test World'/Overworld
[21:09:16] [Server thread/INFO]: Saving chunks for level 'Test World'/Nether
[21:09:16] [Server thread/INFO]: Saving chunks for level 'Test World'/The End
[21:09:16] [Server thread/INFO]: Saving chunks for level 'Test World'/Alolan
[21:09:22] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_121]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_121]
	at net.minecraft.util.Util.runTask(Util.java:29) [Util.class:?]
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:743) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:688) [MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) [IntegratedServer.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:537) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.NullPointerException
	at com.geometrically.alola.item.TileEntityTeleporter.tele(TileEntityTeleporter.java:102) ~[TileEntityTeleporter.class:?]
	at com.geometrically.alola.item.ItemAlolanKey.onItemRightClick(ItemAlolanKey.java:30) ~[ItemAlolanKey.class:?]
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:180) ~[ItemStack.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.processRightClick(PlayerInteractionManager.java:391) ~[PlayerInteractionManager.class:?]
	at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:740) ~[NetHandlerPlayServer.class:?]
	at net.minecraft.network.play.client.CPacketPlayerTryUseItem.processPacket(CPacketPlayerTryUseItem.java:43) ~[CPacketPlayerTryUseItem.class:?]
	at net.minecraft.network.play.client.CPacketPlayerTryUseItem.processPacket(CPacketPlayerTryUseItem.java:9) ~[CPacketPlayerTryUseItem.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_121]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_121]
	at net.minecraft.util.Util.runTask(Util.java:28) ~[Util.class:?]
	... 5 more
[21:09:22] [Server thread/INFO]: Stopping server
[21:09:22] [Server thread/INFO]: Saving players
[21:09:22] [Server thread/INFO]: Saving worlds
[21:09:22] [Server thread/INFO]: Saving chunks for level 'Test World'/Overworld
[21:09:22] [Server thread/INFO]: Saving chunks for level 'Test World'/Nether
[21:09:22] [Server thread/INFO]: Saving chunks for level 'Test World'/The End
[21:09:22] [Server thread/INFO]: Saving chunks for level 'Test World'/Alolan
[21:09:23] [Server thread/INFO]: Unloading dimension 0
[21:09:23] [Server thread/INFO]: Unloading dimension -1
[21:09:23] [Server thread/INFO]: Unloading dimension 1
[21:09:23] [Server thread/INFO]: Unloading dimension 6
[21:09:23] [Server thread/INFO]: Applying holder lookups
[21:09:23] [Server thread/INFO]: Holder lookups applied
[21:09:23] [Client thread/FATAL]: Unreported exception thrown!
java.lang.NullPointerException
	at com.geometrically.alola.item.TileEntityTeleporter.tele(TileEntityTeleporter.java:102) ~[TileEntityTeleporter.class:?]
	at com.geometrically.alola.item.ItemAlolanKey.onItemRightClick(ItemAlolanKey.java:30) ~[ItemAlolanKey.class:?]
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:180) ~[ItemStack.class:?]
	at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClick(PlayerControllerMP.java:527) ~[PlayerControllerMP.class:?]
	at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1629) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1118) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:406) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
[21:09:23] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: ---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 9/29/17 9:09 PM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at com.geometrically.alola.item.TileEntityTeleporter.tele(TileEntityTeleporter.java:102)
	at com.geometrically.alola.item.ItemAlolanKey.onItemRightClick(ItemAlolanKey.java:30)
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:180)
	at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClick(PlayerControllerMP.java:527)
	at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1629)
	at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1118)
	at net.minecraft.client.Minecraft.run(Minecraft.java:406)
	at net.minecraft.client.main.Main.main(Main.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at com.geometrically.alola.item.TileEntityTeleporter.tele(TileEntityTeleporter.java:102)
	at com.geometrically.alola.item.ItemAlolanKey.onItemRightClick(ItemAlolanKey.java:30)
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:180)
	at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClick(PlayerControllerMP.java:527)
	at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1629)
	at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [EntityPlayerSP['Player222'/252, l='MpServer', x=114.50, y=68.00, z=242.50]]
	Chunk stats: MultiplayerChunkCache: 511, 511
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (124,64,252), Chunk: (at 12,4,12 in 7,15; contains blocks 112,0,240 to 127,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 374 game time, 374 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 66 total; [EntityBat['Bat'/133, l='MpServer', x=80.75, y=44.10, z=162.75], EntityBat['Bat'/134, l='MpServer', x=80.75, y=43.10, z=163.59], EntityBat['Bat'/135, l='MpServer', x=78.70, y=49.94, z=170.81], EntityBat['Bat'/136, l='MpServer', x=83.55, y=50.07, z=172.30], EntitySquid['Squid'/137, l='MpServer', x=90.90, y=60.36, z=180.37], EntitySquid['Squid'/138, l='MpServer', x=88.75, y=60.83, z=184.61], EntitySquid['Squid'/139, l='MpServer', x=93.78, y=60.26, z=191.78], EntityCow['Cow'/140, l='MpServer', x=92.55, y=70.00, z=242.63], EntityCow['Cow'/141, l='MpServer', x=95.41, y=70.00, z=245.30], EntityCow['Cow'/142, l='MpServer', x=90.59, y=70.00, z=247.30], EntityCow['Cow'/143, l='MpServer', x=86.50, y=69.00, z=302.50], EntityCow['Cow'/144, l='MpServer', x=84.23, y=69.00, z=302.19], EntityCow['Cow'/145, l='MpServer', x=85.17, y=69.00, z=303.46], EntityCow['Cow'/146, l='MpServer', x=91.82, y=69.00, z=294.30], EntityCow['Cow'/147, l='MpServer', x=82.50, y=69.00, z=305.50], EntitySquid['Squid'/157, l='MpServer', x=100.87, y=61.46, z=201.83], EntityCow['Cow'/158, l='MpServer', x=101.37, y=69.00, z=243.41], EntitySpider['Spider'/159, l='MpServer', x=101.50, y=48.00, z=261.99], EntitySpider['Spider'/160, l='MpServer', x=101.50, y=48.00, z=264.09], EntitySpider['Spider'/161, l='MpServer', x=103.50, y=48.00, z=266.50], EntityCow['Cow'/162, l='MpServer', x=100.12, y=69.00, z=286.39], EntityCow['Cow'/163, l='MpServer', x=101.89, y=69.00, z=289.63], EntityCow['Cow'/164, l='MpServer', x=98.45, y=69.00, z=293.11], EntityCow['Cow'/169, l='MpServer', x=120.39, y=67.00, z=237.85], EntityCow['Cow'/170, l='MpServer', x=112.59, y=68.00, z=251.94], EntityCow['Cow'/171, l='MpServer', x=121.13, y=67.00, z=242.88], EntityCow['Cow'/172, l='MpServer', x=111.95, y=68.00, z=251.11], EntityBat['Bat'/173, l='MpServer', x=112.10, y=26.36, z=258.80], EntityBat['Bat'/174, l='MpServer', x=114.57, y=27.29, z=268.37], EntityCreeper['Creeper'/186, l='MpServer', x=159.50, y=53.00, z=169.54], EntityCreeper['Creeper'/191, l='MpServer', x=163.50, y=42.00, z=227.50], EntityZombie['Zombie'/192, l='MpServer', x=164.50, y=42.00, z=226.50], EntityItem['item.item.seeds'/193, l='MpServer', x=161.70, y=63.00, z=239.97], EntityBat['Bat'/194, l='MpServer', x=166.28, y=12.21, z=297.05], EntityEnderman['Enderman'/195, l='MpServer', x=162.96, y=22.00, z=322.70], EntityCow['Cow'/205, l='MpServer', x=191.50, y=64.00, z=208.50], EntityCow['Cow'/206, l='MpServer', x=187.30, y=63.00, z=210.31], EntityCow['Cow'/207, l='MpServer', x=187.52, y=64.00, z=212.51], EntityBat['Bat'/208, l='MpServer', x=188.49, y=47.12, z=260.94], EntitySkeleton['Skeleton'/91, l='MpServer', x=36.27, y=33.00, z=166.50], EntityZombie['Zombie'/92, l='MpServer', x=47.49, y=45.00, z=189.84], EntitySkeleton['Skeleton'/93, l='MpServer', x=45.50, y=45.00, z=185.50], EntityBat['Bat'/94, l='MpServer', x=39.14, y=43.31, z=197.85], EntityCreeper['Creeper'/95, l='MpServer', x=43.47, y=51.00, z=218.78], EntityCreeper['Creeper'/96, l='MpServer', x=43.50, y=51.00, z=222.50], EntityCreeper['Creeper'/97, l='MpServer', x=46.38, y=51.00, z=219.86], EntitySkeleton['Skeleton'/98, l='MpServer', x=45.73, y=16.00, z=232.55], EntityChicken['Chicken'/99, l='MpServer', x=44.34, y=65.00, z=296.89], EntityCreeper['Creeper'/229, l='MpServer', x=194.50, y=13.00, z=294.50], EntityBat['Bat'/105, l='MpServer', x=45.66, y=51.17, z=169.74], EntitySkeleton['Skeleton'/106, l='MpServer', x=50.50, y=45.00, z=185.50], EntityCreeper['Creeper'/107, l='MpServer', x=50.50, y=16.00, z=222.50], EntityZombie['Zombie'/108, l='MpServer', x=48.50, y=16.00, z=228.50], EntitySkeleton['Skeleton'/109, l='MpServer', x=57.55, y=16.00, z=249.72], EntitySkeleton['Skeleton'/110, l='MpServer', x=54.50, y=16.00, z=253.50], EntityCreeper['Creeper'/111, l='MpServer', x=55.50, y=16.00, z=249.50], EntityCreeper['Creeper'/112, l='MpServer', x=54.50, y=17.00, z=247.50], EntityItem['item.item.bone'/113, l='MpServer', x=55.88, y=18.00, z=256.88], EntitySkeleton['Skeleton'/114, l='MpServer', x=48.50, y=53.00, z=266.71], EntitySkeleton['Skeleton'/115, l='MpServer', x=51.21, y=53.00, z=266.51], EntityChicken['Chicken'/116, l='MpServer', x=57.46, y=64.00, z=300.50], EntityChicken['Chicken'/117, l='MpServer', x=52.50, y=68.00, z=303.50], EntityChicken['Chicken'/118, l='MpServer', x=51.41, y=67.00, z=301.90], EntitySquid['Squid'/122, l='MpServer', x=68.31, y=60.04, z=192.23], EntitySquid['Squid'/123, l='MpServer', x=72.44, y=59.00, z=190.20], EntityPlayerSP['Player222'/252, l='MpServer', x=114.50, y=68.00, z=242.50]]
	Retry entities: 0 total; []
	Server brand: fml,forge
	Server type: Integrated singleplayer server
Stacktrace:
	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:456)
	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2779)
	at net.minecraft.client.Minecraft.run(Minecraft.java:435)
	at net.minecraft.client.main.Main.main(Main.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
	Minecraft Version: 1.10.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_121, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 623967408 bytes (595 MB) / 968884224 bytes (924 MB) up to 1860698112 bytes (1774 MB)
	JVM Flags: 0 total; 
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	FML: MCP 9.32 Powered by Forge 12.18.3.2488 4 mods loaded, 4 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
	UCHIJAAAA	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
	UCHIJAAAA	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.3.2488.jar) 
	UCHIJAAAA	Forge{12.18.3.2488} [Minecraft Forge] (forgeSrc-1.10.2-12.18.3.2488.jar) 
	UCHIJAAAA	Alola{1.0} [Alola] (Alola) 
	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4549' Renderer: 'Intel(R) HD Graphics 4600'
	Launched Version: 1.10.2
	LWJGL: 2.9.4
	OpenGL: Intel(R) HD Graphics 4600 GL version 4.3.0 - Build 20.19.15.4549, Intel
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fml,forge'
	Type: Client (map_client.txt)
	Resource Packs: 
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 8x Intel(R) Core(TM) i7-4785T CPU @ 2.20GHz
[21:09:23] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\juser\Desktop\Coding\Minecraft Mods\Alola\run\.\crash-reports\crash-2017-09-29_21.09.23-client.txt

ItemAlolanKey.java

package com.geometrically.alola.item;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ActionResult;
import net.minecraft.util.EnumActionResult;
import net.minecraft.util.EnumHand;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ItemAlolanKey extends Item {

    private Entity entity;

    public ItemAlolanKey(){
        super();
        this.setRegistryName("alolan_key");
        this.setUnlocalizedName("mc:alolan_key");
        GameRegistry.register(this);
    }
    public ItemAlolanKey(Entity entityIn){
        this.entity = entityIn;
    }
    @Override
    public ActionResult<ItemStack> onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn, EnumHand hand) {
        EntityPlayerMP player1 = (EntityPlayerMP)entity;
        TileEntityTeleporter.tele(player1);
        System.out.println("Sent to the other Dimension");
        return ActionResult.newResult(EnumActionResult.PASS, itemStackIn);
    }
}

TileEntityTeleporter.java

package com.geometrically.alola.item;

import com.geometrically.alola.dimension.AlolanDimensionRegistry;
import com.geometrically.alola.dimension.AlolanTeleporter;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.TileEntity;

public class TileEntityTeleporter extends TileEntity
{

    private static final String S_PLAYER_X = "PlayerPrevX";
    private static final String S_PLAYER_Y = "PlayerPrevY";
    private static final String S_PLAYER_Z = "PlayerPrevZ";
    private static final String S_PLAYER_X2 = "PlayerPrevX2";
    private static final String S_PLAYER_Y2 = "PlayerPrevY2";
    private static final String S_PLAYER_Z2 = "PlayerPrevZ2";
    private static final String dme = "DimEnter";
    private static int offsetX;
    private static int offsetZ;
    public static double prevX;
    public static double prevY;
    public static double prevZ;
    public static double prevX2;
    public static double prevY2;
    public static double prevZ2;
    public static int dme2;

    public TileEntityTeleporter()
    {
        super();
    }


    @Override
    public void readFromNBT(NBTTagCompound nbt)
    {
        super.readFromNBT(nbt);
        this.prevX = nbt.getDouble(S_PLAYER_X);
        this.prevY = nbt.getDouble(S_PLAYER_Y);
        this.prevZ = nbt.getDouble(S_PLAYER_Z);
        this.prevX2 = nbt.getDouble(S_PLAYER_X2);
        this.prevY2 = nbt.getDouble(S_PLAYER_Y2);
        this.prevZ2 = nbt.getDouble(S_PLAYER_Z2);
        this.dme2 = nbt.getInteger(dme);
    }

    @Override
    public NBTTagCompound writeToNBT(NBTTagCompound nbt)
    {
        super.writeToNBT(nbt);
        nbt.setDouble(S_PLAYER_X, prevX);
        nbt.setDouble(S_PLAYER_Y, prevY);
        nbt.setDouble(S_PLAYER_Z, prevZ);
        nbt.setDouble(S_PLAYER_X2, prevX2);
        nbt.setDouble(S_PLAYER_Y2, prevY2);
        nbt.setDouble(S_PLAYER_Z2, prevZ2);
        nbt.setInteger(dme, 2);
        return nbt;
    }

    public static void setOverworldXYZ(double posX, double posY, double posZ)
    {
        prevX = posX;
        prevY = posY;
        prevZ = posZ;
    }

    public static void setTestXYZ(double posX2, double posY2, double posZ2)
    {
        prevX2 = posX2;
        prevY2 = posY2;
        prevZ2 = posZ2;
    }

    public static void setDme22()
    {

        dme2 = 2;

    }

    public static void setDme21()
    {

        dme2 = 0;

    }

    public boolean onPlayerActivate(EntityPlayer player)
    {

        return true;
    }

    public static void tele(EntityPlayer player)
    {

            EntityPlayerMP player1 = (EntityPlayerMP)player;
            MinecraftServer mcServer = player1.getServer();

            if(player1.timeUntilPortal > 0)
            {

                player1.timeUntilPortal = 10;

            }else if(player1.dimension != AlolanDimensionRegistry.alolanID){

                player1.timeUntilPortal = 10;

                if(prevX2 == 0.0 && prevY2 == 0.0 && prevZ2 == 0.0)
                {
                    player1.timeUntilPortal = 10;
                    setDme21();
                    setOverworldXYZ(player1.posX, player1.posY, player1.posZ);
                    mcServer.getPlayerList().transferPlayerToDimension(player1, AlolanDimensionRegistry.alolanID, new AlolanTeleporter(mcServer.worldServerForDimension(AlolanDimensionRegistry.alolanID), dme2, 0, 0 ,0));
                    setTestXYZ(player1.posX, player1.posY, player1.posZ);


                }else if(prevX2 != 0.0 && prevY2 != 0.0 && prevZ2 != 0.0){
                    player1.timeUntilPortal = 10;
                    setDme22();
                    setOverworldXYZ(player1.posX, player1.posY, player1.posZ);
                    mcServer.getPlayerList().transferPlayerToDimension(player1, AlolanDimensionRegistry.alolanID, new AlolanTeleporter(mcServer.worldServerForDimension(AlolanDimensionRegistry.alolanID), dme2, prevX2, prevY2, prevZ2));

                }

            }else if(player1.dimension == AlolanDimensionRegistry.alolanID){

                player1.timeUntilPortal = 10;
                setDme22();
                setTestXYZ(player1.posX, player1.posY, player1.posZ);
                mcServer.getPlayerList().transferPlayerToDimension(player1, 0, new AlolanTeleporter(mcServer.worldServerForDimension(0), dme2, prevX, prevY, prevZ));
            }

    }
}

 

Edited by Geometrically
Link to comment
Share on other sites

Your NPE is on this line:

MinecraftServer mcServer = player1.getServer();

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

On 9/29/2017 at 9:11 PM, Geometrically said:

Caused by: java.lang.NullPointerException at com.geometrically.alola.item.TileEntityTeleporter.tele(TileEntityTeleporter.java:102)

In general, when you have one of these errors, you may click on the java line number to open up the code and highlight the statement so you can see what thing(s) might be null. If it's not obvious, then you can set a breakpoint and run to that line in the debugger so you can examine everything for what's null.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have been trying to make a server with forge but I keep running into an issue. I have jdk 22 installed as well as Java 8. here is the debug file  
    • it crashed again     What the console says : [00:02:03] [Server thread/INFO] [Easy NPC/]: [EntityManager] Server started! [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {iceandfire:fire_dragon_roost=true, iceandfire:fire_lily=true, iceandfire:spawn_dragon_skeleton_fire=true, iceandfire:lightning_dragon_roost=true, iceandfire:spawn_dragon_skeleton_lightning=true, iceandfire:ice_dragon_roost=true, iceandfire:ice_dragon_cave=true, iceandfire:lightning_dragon_cave=true, iceandfire:cyclops_cave=true, iceandfire:spawn_wandering_cyclops=true, iceandfire:spawn_sea_serpent=true, iceandfire:frost_lily=true, iceandfire:hydra_cave=true, iceandfire:lightning_lily=true, iceandfireixie_village=true, iceandfire:myrmex_hive_jungle=true, iceandfire:myrmex_hive_desert=true, iceandfire:silver_ore=true, iceandfire:siren_island=true, iceandfire:spawn_dragon_skeleton_ice=true, iceandfire:spawn_stymphalian_bird=true, iceandfire:fire_dragon_cave=true, iceandfire:sapphire_ore=true, iceandfire:spawn_hippocampus=true, iceandfire:spawn_death_worm=true} [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {TROLL_S=true, HIPPOGRYPH=true, AMPHITHERE=true, COCKATRICE=true, TROLL_M=true, DREAD_LICH=true, TROLL_F=true} [00:02:03] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 41976 bytes (in 5 string chunks with the size of 10000) [00:02:03] [Server thread/INFO] [patchouli/]: Sending reload packet to clients [00:02:03] [Server thread/WARN] [voicechat/]: [voicechat] Running in offline mode - Voice chat encryption is not secure! [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Using server-ip as bind address: 0.0.0.0 [00:02:03] [Server thread/WARN] [ModernFix/]: Dedicated server took 22.521 seconds to load [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Voice chat server started at 0.0.0.0:25565 [00:02:03] [Server thread/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.player.Player from class tschipp.carryon.common.carry.CarryOnDataManager [00:02:03] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@2941ffd5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 0 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 1 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 2 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 3 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 4 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 6 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 7 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 8 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 9 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 10 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 11 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 12 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 13 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 14 [00:02:19] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@ebc7ef2 [00:02:19] [Server thread/INFO] [minecraft/PlayerList]: ZacAdos[/90.2.17.162:49242] logged in with entity id 1062 at (-1848.6727005281205, 221.0, -3054.2468255848935) [00:02:19] [Server thread/ERROR] [ModernFix/]: Skipping entity ID sync for com.talhanation.smallships.world.entity.ship.Ship: java.lang.NoClassDefFoundError: net/minecraft/client/CameraType [00:02:19] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos joined the game [00:02:19] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:19] [Server thread/INFO] [se.mi.te.da.DataManager/]: Sending data to client: ZacAdos [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Received secret request of - Gloop - ZacAdos (17) [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Sent secret to - Gloop - ZacAdos [00:02:21] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully authenticated player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully validated connection of player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Player - Gloop - ZacAdos (cc56befd-d376-3526-a760-340713c478bd) successfully connected to voice chat stop [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping the server [00:02:34] [Server thread/INFO] [mo.pl.ar.ArmourersWorkshop/]: stop local service [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [00:02:34] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: ZacAdos lost connection: Server closed [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos left the game [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (world): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopping IO worker... [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopped IO worker! [00:02:34] [Server thread/INFO] [Calio/]: Removing Dynamic Registries for: net.minecraft.server.dedicated.DedicatedServer@7dc879e1 [MineStrator Daemon]: Checking server disk space usage, this could take a few seconds... [MineStrator Daemon]: Updating process configuration files... [MineStrator Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [MineStrator Daemon]: Pulling Docker container image, this could take a few minutes to complete... [MineStrator Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx6302M -Dterminal.jline=false -Dterminal.ansi=true -Djline.terminal=jline.UnsupportedTerminal -p libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar:libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar=cpw.mods.securejarhandler --add-opens java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports java.base/sun.security.util=cpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns=java.naming -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher-1.1.2.jar,securejarhandler-2.1.4.jar,asm-commons-9.5.jar,asm-util-9.5.jar,asm-analysis-9.5.jar,asm-tree-9.5.jar,asm-9.5.jar,JarJarFileSystems-0.3.16.jar -DlibraryDirectory=libraries -DlegacyClassPath=libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar:libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar:libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar:libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar:libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar:libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar:libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar:libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar:libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar:libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar:libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar:libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar:libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar:libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar:libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar:libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar:libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar:libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar:libraries/net/minecraftforge/fmlloader/1.19.2-43.3.0/fmlloader-1.19.2-43.3.0.jar:libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-extra.jar:libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar:libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar:libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar:libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar:libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar:libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar:libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar:libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar:libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar:libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar:libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar:libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar:libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar:libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar:libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar:libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar:libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar:libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar:libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar:libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar cpw.mods.bootstraplauncher.BootstrapLauncher --launchTarget forgeserver --fml.forgeVersion 43.3.0 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [00:02:43] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [00:02:44] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection Latest log [29Mar2024 00:02:42.803] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [29Mar2024 00:02:42.805] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [29Mar2024 00:02:43.548] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [29Mar2024 00:02:43.876] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.878] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:44.033] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [29Mar2024 00:02:44.034] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [29Mar2024 00:02:44.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection
    • I am unable to do that. Brigadier is a mojang library that parses commands.
    • Hi, i appreciate the answer. I would love to do that, but we have active players with all their belongings in SSN. Also this mod is really handy and they would be mad if we removed it. Are you really certain that SSN is causing this? It would require lots of work to test it and SSN was not really an issue before we removed Fast Suite. Can it be related somehow? I will provide you with log before removing FS. PasteBin: https://pastebin.com/Y5EpLpNe (crash before removing Fast Suite, which I suspected to be a problem from some crash before)
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.