Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

There are a lot of instances of this happening when I ported my mod from 1.16.5 to 1.17.1. One specific instance is this item. The textures somehow cannot be found and it is displayed with the purple and black squares. I'm also getting this error: 

[20:25:45] [Render thread/ERROR]: Error rendering overlay 'Shinsu Meters'
net.minecraft.ReportedException: Registering texture
	at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:110) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.renderer.texture.TextureManager.register(TextureManager.java:66) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.renderer.texture.TextureManager.getTexture(TextureManager.java:118) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at com.mojang.blaze3d.systems.RenderSystem._setShaderTexture(RenderSystem.java:755) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at com.mojang.blaze3d.systems.RenderSystem.setShaderTexture(RenderSystem.java:747) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at io.github.davidqf555.minecraft.towerofgod.client.gui.ClientTextureRenderData.render(ClientTextureRenderData.java:37) ~[%2379!:?]
	at io.github.davidqf555.minecraft.towerofgod.client.gui.ShinsuStatsMeterOverlay.renderBar(ShinsuStatsMeterOverlay.java:55) ~[%2379!:?]
	at io.github.davidqf555.minecraft.towerofgod.client.gui.ShinsuStatsMeterOverlay.render(ShinsuStatsMeterOverlay.java:39) ~[%2379!:?]
	at net.minecraftforge.client.gui.ForgeIngameGui.lambda$render$26(ForgeIngameGui.java:363) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2374%2380!:?]
	at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1087) ~[?:?]
	at net.minecraftforge.client.gui.ForgeIngameGui.render(ForgeIngameGui.java:357) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2374%2380!:?]
	at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:865) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1039) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:659) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.main.Main.main(Main.java:186) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
	at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38) ~[fmlloader-1.17.1-37.0.68.jar%233!:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%238!:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%238!:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%238!:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%238!:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%238!:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%238!:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%238!:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.getNamespace()" because "p_10895_" is null
	at net.minecraft.server.packs.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:58) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.renderer.texture.SimpleTexture$TextureImage.load(SimpleTexture.java:84) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.renderer.texture.SimpleTexture.getTextureImage(SimpleTexture.java:58) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.renderer.texture.SimpleTexture.load(SimpleTexture.java:28) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:95) ~[forge-1.17.1-37.0.68_mapped_official_1.17.1-recomp.jar%2375!:?]
	... 28 more

Even though the texture in question is at minecraft:textures/gui/bars.png, which should be there. I'm really confused as to why this is happening. 

  • Author
15 minutes ago, Luis_ST said:

post full log, are you sure the texture is in the correct location and is named correctly 

Logs. For the first case, I'm pretty sure. For the second case, it is a minecraft texture, not a modded one so I hope so. 

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.