Cosmetic Wood

Cosmetic Wood

5.3k Downloads

1.12.2 Crash with Forge Multipart CBE, ForgeForge Microblocks

InuYasha86000 opened this issue ยท 1 comments

commented

I am not sure what is causing this error but i'm posting it both here and forge multipart as well.
I just went to add forge multipart as it is required to add the mod Project:red and whenever I go to open the creative tab for microblocks it crashes with an error pointing to cosmetic wood:

Time: 2023-04-02 14:22:52 PDT
Description:
CCL Has caught an exception whilst rendering an item.
Item Class: class codechicken.microblock.ItemMicroPart
Registry Name: microblockcbe:microblock
Metadata: 1
NBT: {mat:"minecraft:bookshelf"}
Model Class: class net.minecraftforge.client.model.PerspectiveMapWrapper
Model Location: microblockcbe:microblock#inventory
You can turn off player messages in the CCL config file.
If you want CCL to attempt to recover the game next time, enable it in the CCL config.

java.lang.NullPointerException
at net.smileycorp.cosmeticwood.client.CWBlockColour.colorMultiplier(CWBlockColour.java:20)
at net.minecraft.client.renderer.color.BlockColors.colorMultiplier(BlockColors.java:185)
at codechicken.microblock.BlockMicroMaterial.getColour(BlockMicroMaterial.scala:112)
at codechicken.microblock.BlockMicroMaterial.getMicroRenderOps(BlockMicroMaterial.scala:106)
at codechicken.microblock.MicroblockRender$$anonfun$renderCuboid$2.apply$mcVI$sp(MicroblockRender.scala:66)
at codechicken.microblock.MicroblockRender$$anonfun$renderCuboid$2.apply(MicroblockRender.scala:64)
at codechicken.microblock.MicroblockRender$$anonfun$renderCuboid$2.apply(MicroblockRender.scala:64)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)
at scala.collection.immutable.Range.foreach(Range.scala:160)
at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)
at codechicken.microblock.MicroblockRender$.renderCuboid(MicroblockRender.scala:64)
at codechicken.microblock.FaceMicroblockClient$class.render(FaceMicroblock.scala:51)
at Microblock_cmp$$0.render(Unknown Source)
at codechicken.microblock.ItemMicroPartRenderer$.renderItem(ItemMicroPart.scala:183)
at codechicken.lib.render.item.CCRenderItem.renderItem(CCRenderItem.java:207)
at codechicken.lib.render.item.CCRenderItem.renderItemModelIntoGUI(CCRenderItem.java:270)
at codechicken.lib.render.item.CCRenderItem.renderItemAndEffectIntoGUI(CCRenderItem.java:337)
at net.minecraft.client.gui.inventory.GuiContainer.drawSlot(GuiContainer.java:265)
at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:98)
at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:51)
at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:643)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.optifine.reflect.Reflector.callVoid(Reflector.java:669)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1462)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1119)
at net.minecraft.client.Minecraft.run(Minecraft.java:3942)
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:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

commented

Fixed as of 1.1.2