Jump to content

Recommended Posts

Posted

Hey Noppes! First off, thanks for making such a great mod! Been playing since 1.7.10 :)

 

I recently updated to 1.12.2 and am running into an issue that may be a bug. Whenever I navigate to the CustomNPC tab in the creative menu or try and pull up the ingredients with JEI, I get a full client crash. Here is the crash report. 

 

Time: 5/17/18 11:24 AM
Description: Rendering ingredient

java.lang.ClassCastException: noppes.npcs.api.wrapper.ItemBlockWrapper cannot be cast to noppes.npcs.api.wrapper.ItemScriptedWrapper
    at noppes.npcs.items.ItemScripted.GetWrapper(ItemScripted.java:39)
    at noppes.npcs.items.ItemScripted.showDurabilityBar(ItemScripted.java:44)
    at net.minecraft.client.renderer.RenderItem.func_180453_a(RenderItem.java:406)
    at mezz.jei.render.ItemStackFastRenderer.renderOverlay(ItemStackFastRenderer.java:116)
    at mezz.jei.render.ItemStackFastRenderer.renderOverlay(ItemStackFastRenderer.java:107)
    at mezz.jei.render.IngredientListBatchRenderer.render(IngredientListBatchRenderer.java:181)
    at mezz.jei.gui.overlay.IngredientGrid.draw(IngredientGrid.java:90)
    at mezz.jei.gui.overlay.IngredientListOverlay.drawScreen(IngredientListOverlay.java:199)
    at mezz.jei.gui.GuiEventHandler.onDrawBackgroundEventPost(GuiEventHandler.java:74)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_950_GuiEventHandler_onDrawBackgroundEventPost_BackgroundDrawnEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraft.client.gui.GuiScreen.func_146276_q_(GuiScreen.java:575)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:615)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:368)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Thread: Client thread
Stacktrace:
    at noppes.npcs.items.ItemScripted.GetWrapper(ItemScripted.java:39)
    at noppes.npcs.items.ItemScripted.showDurabilityBar(ItemScripted.java:44)
    at net.minecraft.client.renderer.RenderItem.func_180453_a(RenderItem.java:406)

-- Ingredient being rendered --
Details:
    Ingredient Mod: CustomNPCs
    Ingredient Info: 1xitem.scripted_item@0 customnpcs:scripted_item
Stacktrace:
    at mezz.jei.render.IngredientRenderer.createRenderIngredientException(IngredientRenderer.java:220)
    at mezz.jei.render.ItemStackFastRenderer.renderOverlay(ItemStackFastRenderer.java:109)
    at mezz.jei.render.IngredientListBatchRenderer.render(IngredientListBatchRenderer.java:181)
    at mezz.jei.gui.overlay.IngredientGrid.draw(IngredientGrid.java:90)
    at mezz.jei.gui.overlay.IngredientListOverlay.drawScreen(IngredientListOverlay.java:199)
    at mezz.jei.gui.GuiEventHandler.onDrawBackgroundEventPost(GuiEventHandler.java:74)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_950_GuiEventHandler_onDrawBackgroundEventPost_BackgroundDrawnEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraft.client.gui.GuiScreen.func_146276_q_(GuiScreen.java:575)
    at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:615)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:368)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- Screen render details --
Details:
    Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
    Mouse location: Scaled: (171, 127). Absolute: (512, 384)
    Screen size: Scaled: (342, 256). Absolute: (1024, 768). Scale factor of 3

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.