Jump to content

Recommended Posts

Posted

I hate when this happens to me because it's usually because of a typo that the item isn't getting it's .json file. But i have been checking all the names for the past 15 minutes and i am sure everything is matching. I don't know where the problem is but the item is not getting the texture.

 

Main Mod Class: https://gist.github.com/Arjol27/0226afd009a7068410fdfa44b1e7538d

ItemRegistry Class: https://gist.github.com/Arjol27/fdb4726e7c5ff6817a625bf3741e4c59

The Item Class: https://gist.github.com/Arjol27/db98563fdbca7efde297fa271bbab1ae

ClientProxy: https://gist.github.com/Arjol27/57fc73175a621b6a3d37c0e3f23a4e41

The item json file: https://gist.github.com/Arjol27/563b30ac23b5ae04c2eb2e63ede64d7d

 

Posted

Your Gist links are invalid.

 

Post the FML log, it should tell you what the errors are.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Your Gist links are invalid.

 

Post the FML log, it should tell you what the errors are.

 

Does that have to do with the fact that i am getting a message on my github account telling me they think am a robot? I just contacted the staff though hopefully they fix that.

 

As for the log:

 

 

[10:48:56] [Client thread/INFO]: Setting user: Player375

[10:49:09] [Client thread/WARN]: Skipping bad option: lastServer:

[10:49:09] [Client thread/INFO]: LWJGL Version: 2.9.4

[10:49:21] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Divine Ascendancy

[10:49:29] [sound Library Loader/INFO]: Starting up SoundSystem...

[10:49:30] [Thread-8/INFO]: Initializing LWJGL OpenAL

[10:49:30] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[10:49:31] [Thread-8/INFO]: OpenAL initialized.

[10:49:31] [sound Library Loader/INFO]: Sound engine started

[10:49:44] [Client thread/INFO]: Created: 16x16 textures-atlas

[10:49:50] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Divine Ascendancy

[10:49:57] [Client thread/INFO]: SoundSystem shutting down...

[10:49:57] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

[10:49:57] [sound Library Loader/INFO]: Starting up SoundSystem...

[10:49:57] [Thread-10/INFO]: Initializing LWJGL OpenAL

[10:49:57] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[10:49:58] [Thread-10/INFO]: OpenAL initialized.

[10:49:58] [sound Library Loader/INFO]: Sound engine started

[10:50:07] [Client thread/INFO]: Created: 512x512 textures-atlas

[10:50:11] [Client thread/WARN]: Skipping bad option: lastServer:

[10:50:13] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

[10:50:20] [server thread/INFO]: Starting integrated minecraft server version 1.10.2

[10:50:20] [server thread/INFO]: Generating keypair

[10:50:22] [server thread/INFO]: Preparing start region for level 0

[10:50:24] [server thread/INFO]: Preparing spawn area: 0%

[10:50:25] [server thread/INFO]: Preparing spawn area: 18%

[10:50:26] [server thread/INFO]: Preparing spawn area: 58%

[10:50:28] [server thread/INFO]: Changing view distance to 6, from 10

[10:50:30] [Client thread/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@4474b865[id=3bdd7bc1-57b3-3ed1-a14e-cc7341dec1b1,name=Player375,properties={},legacy=false]

com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:71) ~[YggdrasilAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:168) [YggdrasilMinecraftSessionService.class:?]

at net.minecraft.client.Minecraft.launchIntegratedServer(Minecraft.java:2450) [Minecraft.class:?]

at net.minecraftforge.fml.client.FMLClientHandler.tryLoadExistingWorld(FMLClientHandler.java:723) [FMLClientHandler.class:?]

at net.minecraft.client.gui.GuiListWorldSelectionEntry.loadWorld(GuiListWorldSelectionEntry.java:249) [GuiListWorldSelectionEntry.class:?]

at net.minecraft.client.gui.GuiListWorldSelectionEntry.joinWorld(GuiListWorldSelectionEntry.java:203) [GuiListWorldSelectionEntry.class:?]

at net.minecraft.client.gui.GuiListWorldSelectionEntry.mousePressed(GuiListWorldSelectionEntry.java:167) [GuiListWorldSelectionEntry.class:?]

at net.minecraft.client.gui.GuiListExtended.mouseClicked(GuiListExtended.java:57) [GuiListExtended.class:?]

at net.minecraft.client.gui.GuiWorldSelection.mouseClicked(GuiWorldSelection.java:134) [GuiWorldSelection.class:?]

at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:617) [GuiScreen.class:?]

at net.minecraft.client.gui.GuiWorldSelection.handleMouseInput(GuiWorldSelection.java:49) [GuiWorldSelection.class:?]

at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:583) [GuiScreen.class:?]

at net.minecraft.client.Minecraft.runTick(Minecraft.java:1797) [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_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]

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_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]

at GradleStart.main(GradleStart.java:26) [start/:?]

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.ssl.Alerts.getSSLException(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.fatalSE(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.fatalSE(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.processLoop(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.process_record(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_111]

at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_111]

at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126) ~[HttpAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54) ~[YggdrasilAuthenticationService.class:?]

... 28 more

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.validator.PKIXValidator.doBuild(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.Validator.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.processLoop(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.process_record(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_111]

at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_111]

at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126) ~[HttpAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54) ~[YggdrasilAuthenticationService.class:?]

... 28 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source) ~[?:1.8.0_111]

at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source) ~[?:1.8.0_111]

at java.security.cert.CertPathBuilder.build(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.PKIXValidator.doBuild(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.Validator.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.processLoop(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.process_record(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_111]

at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_111]

at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126) ~[HttpAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54) ~[YggdrasilAuthenticationService.class:?]

... 28 more

[10:50:31] [server thread/INFO]: Player375[local:E:010bb151] logged in with entity id 160 at (193.95331504154393, 69.0, -210.89764754275055)

[10:50:31] [server thread/INFO]: Player375 joined the game

[10:50:33] [server thread/INFO]: Saving and pausing game...

[10:50:33] [server thread/INFO]: Saving chunks for level 'modtesting'/Overworld

[10:50:34] [server thread/INFO]: Saving chunks for level 'modtesting'/Nether

[10:50:34] [server thread/INFO]: Saving chunks for level 'modtesting'/The End

[10:50:34] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@e4a3dd5[id=3bdd7bc1-57b3-3ed1-a14e-cc7341dec1b1,name=Player375,properties={},legacy=false]

com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:71) ~[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(Unknown Source) [?:1.8.0_111]

at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_111]

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_111]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_111]

at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.ssl.Alerts.getSSLException(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.fatalSE(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.fatalSE(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.processLoop(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.process_record(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_111]

at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_111]

at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126) ~[HttpAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54) ~[YggdrasilAuthenticationService.class:?]

... 19 more

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.validator.PKIXValidator.doBuild(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.Validator.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.processLoop(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.process_record(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_111]

at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_111]

at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126) ~[HttpAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54) ~[YggdrasilAuthenticationService.class:?]

... 19 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source) ~[?:1.8.0_111]

at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source) ~[?:1.8.0_111]

at java.security.cert.CertPathBuilder.build(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.PKIXValidator.doBuild(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) ~[?:1.8.0_111]

at sun.security.validator.Validator.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.processLoop(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.Handshaker.process_record(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_111]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_111]

at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_111]

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_111]

at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126) ~[HttpAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54) ~[YggdrasilAuthenticationService.class:?]

... 19 more

[10:50:35] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3722ms behind, skipping 74 tick(s)

[10:50:40] [server thread/INFO]: Saving and pausing game...

[10:50:40] [server thread/INFO]: Saving chunks for level 'modtesting'/Overworld

[10:50:41] [server thread/INFO]: Saving chunks for level 'modtesting'/Nether

[10:50:41] [server thread/INFO]: Saving chunks for level 'modtesting'/The End

[10:52:21] [Client thread/INFO]: Stopping!

[10:52:21] [Client thread/INFO]: SoundSystem shutting down...

[10:52:21] [server thread/INFO]: Stopping server

[10:52:21] [server thread/INFO]: Saving players

[10:52:21] [server thread/INFO]: Saving worlds

[10:52:21] [server thread/INFO]: Saving chunks for level 'modtesting'/Overworld

[10:52:21] [server thread/INFO]: Saving chunks for level 'modtesting'/Nether

[10:52:21] [server thread/INFO]: Saving chunks for level 'modtesting'/The End

[10:52:21] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

[10:52:21] [Client Shutdown Thread/INFO]: Stopping server

[10:52:21] [Client Shutdown Thread/INFO]: Saving players

[10:52:21] [Client Shutdown Thread/INFO]: Saving worlds

 

 

 

 

Posted

How is your item being displayed? Is it a pink and black cube (missing model) or a pink and black square (missing texture)?

 

What you have there isn't the proper way to do things, but it should at least work in single player. Oddly, there's no error in the log saying what went wrong.

 

You should be using the new registry events to register

IForgeRegistryEntry

implementations (e.g.

Block

,

Item

,

Biome

) and item models/state mappers with

ModelLoader

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

I have a pink and black cube. Missing model.

 

As for the points that diesieben mentioned:

 

1. DA shouldn't be the modid, it's lowercased in the folder. I am starting from scratch with 1.10 so changing it won't be an issue

2.I put the printlns to see if my events were being fired. It was just for testing purposes for my item so i could see if all preinit, init and postinit were being fired successfully. I never used such things and the println will be removed as soon as i resolve this issue.

3. I used the unlocalized name in 1.8 and it worked, so i thought it wouldn't really make much difference. Will try to use the registryName.

4. I didn't know that, thank you for the info.

5. .setCustomModelResourceLocation probably came out in 1.9 as i don't remember this being a thing in 1.8. Will try using this. And while it's true that the method is at ItemRegistry, it is actually being called from the ClientProxy.

6. Will try that too.

Posted

Okay after some revamping and learning the new stuff:

 

I am using ModelLoader.setCustomModelResourceLocation to register Item Models and i am doing this in preInit.

 

I am using the registryName instead of unlocalizedName for ModelResourceLocation

 

My items unlocalizedName now includes my modId.

 

Changed my MODID to something more meaningful.

 

I fixed the serverSide rendering (which makes no sense). I can run the server with no errors so that leads me to believe that there are no mistakes.

 

Everything is working fine right now. I greatly appreciate your help.

Thank you for the time and have a nice day.

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



×
×
  • Create New...

Important Information

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