Jump to content

pixelmon wont work any ideas


zappercor1955

Recommended Posts

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 2/17/22 2:35 PM
Description: Registering texture

java.lang.NullPointerException: Registering texture
    at net.minecraft.client.renderer.texture.TextureUtil.func_110989_a(TextureUtil.java:197)
    at net.minecraft.client.renderer.texture.SimpleTexture.func_110551_a(SourceFile:46)
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(TextureManager.java:69)
    at net.minecraft.client.renderer.texture.TextureManager.func_110577_a(TextureManager.java:44)
    at net.minecraft.client.renderer.entity.Render.func_110776_a(SourceFile:101)
    at me.ichun.mods.morph.client.render.RenderPlayerHand.func_177138_b(RenderPlayerHand.java:237)
    at net.minecraft.client.renderer.ItemRenderer.func_187456_a(ItemRenderer.java:255)
    at net.minecraft.client.renderer.ItemRenderer.func_187457_a(ItemRenderer.java:358)
    at net.minecraft.client.renderer.ItemRenderer.func_78440_a(ItemRenderer.java:333)
    at me.ichun.mods.morph.client.core.EventHandlerClient.onRenderHand(EventHandlerClient.java:797)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_182_EventHandlerClient_onRenderHand_RenderHandEvent.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.minecraftforge.client.ForgeHooksClient.renderFirstPersonHand(ForgeHooksClient.java:201)
    at net.minecraft.client.renderer.EntityRenderer.func_78476_b(EntityRenderer.java:772)
    at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1439)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1062)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
    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)


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

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraft.client.renderer.texture.TextureUtil.func_110989_a(TextureUtil.java:197)
    at net.minecraft.client.renderer.texture.SimpleTexture.func_110551_a(SourceFile:46)

-- Resource location being registered --
Details:
    Resource location: pixelmon:textures/steve/
    Texture object class: net.minecraft.client.renderer.texture.SimpleTexture
Stacktrace:
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(TextureManager.java:69)
    at net.minecraft.client.renderer.texture.TextureManager.func_110577_a(TextureManager.java:44)
    at net.minecraft.client.renderer.entity.Render.func_110776_a(SourceFile:101)
    at me.ichun.mods.morph.client.render.RenderPlayerHand.func_177138_b(RenderPlayerHand.java:237)
    at net.minecraft.client.renderer.ItemRenderer.func_187456_a(ItemRenderer.java:255)
    at net.minecraft.client.renderer.ItemRenderer.func_187457_a(ItemRenderer.java:358)
    at net.minecraft.client.renderer.ItemRenderer.func_78440_a(ItemRenderer.java:333)
    at me.ichun.mods.morph.client.core.EventHandlerClient.onRenderHand(EventHandlerClient.java:797)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_182_EventHandlerClient_onRenderHand_RenderHandEvent.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.minecraftforge.client.ForgeHooksClient.renderFirstPersonHand(ForgeHooksClient.java:201)
    at net.minecraft.client.renderer.EntityRenderer.func_78476_b(EntityRenderer.java:772)
    at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1439)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)

-- Affected level --
Details:
    Level name: MpServer
    All players: 2 total; [EntityPlayerSP['zappercor1955'/18575, l='MpServer', x=8.96, y=65.00, z=727.51], EntityOtherPlayerMP['spenshar'/82, l='MpServer', x=49.22, y=64.00, z=689.93]]
    Chunk stats: MultiplayerChunkCache: 441, 441
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (-40,64,256), Chunk: (at 8,4,0 in -3,16; contains blocks -48,0,256 to -33,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 1645617 game time, 1586301 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 71 total; [EntityPlayerSP['zappercor1955'/18575, l='MpServer', x=8.96, y=65.00, z=727.51], EntityPixelmon['Skwovet'/18560, l='MpServer', x=57.50, y=64.00, z=644.50], EntityLatchedRenderer['unknown'/1, l='MpServer', x=8.50, y=65.00, z=8.50], EntityPixelmon['Klang'/18436, l='MpServer', x=17.71, y=48.00, z=714.43], EntityPixelmon['Pachirisu'/18438, l='MpServer', x=27.20, y=76.00, z=731.49], EntityPixelmon['Diglett'/18566, l='MpServer', x=89.50, y=41.00, z=656.50], EntityPixelmon['Pachirisu'/18568, l='MpServer', x=63.50, y=82.00, z=726.50], EntityPixelmon['Gastly'/18569, l='MpServer', x=59.50, y=61.00, z=733.50], EntityPixelmon['Pyukumuku'/18570, l='MpServer', x=81.12, y=70.00, z=662.29], EntityPixelmon['Skwovet'/18571, l='MpServer', x=87.50, y=78.00, z=650.50], NPCShopkeeper[''/18195, l='MpServer', x=16.50, y=65.00, z=765.50], EntityPixelmon['Magikarp'/18579, l='MpServer', x=-12.75, y=61.06, z=789.94], NPCShopkeeper[''/18196, l='MpServer', x=16.50, y=65.00, z=764.50], EntityPixelmon['Pidgey'/18580, l='MpServer', x=4.50, y=80.00, z=783.70], EntityPixelmon['Pachirisu'/18582, l='MpServer', x=86.50, y=69.00, z=744.50], EntityPixelmon['Skwovet'/18583, l='MpServer', x=79.50, y=81.00, z=738.50], EntityPixelmon['Marill'/18329, l='MpServer', x=6.44, y=73.00, z=731.51], EntityPixelmon['Horsea'/18585, l='MpServer', x=-19.50, y=48.11, z=704.74], EntityPixelmon['Bruxish'/18586, l='MpServer', x=-14.49, y=59.21, z=713.74], NPCNurseJoy[''/18204, l='MpServer', x=15.42, y=65.00, z=728.50], NPCQuestGiver[''/18205, l='MpServer', x=-6.42, y=65.00, z=763.67], NPCTrainer['0'/18206, l='MpServer', x=7.54, y=64.00, z=790.63], NPCQuestGiver[''/18207, l='MpServer', x=-2.58, y=64.00, z=768.44], EntityPixelmon['Grapploct'/18469, l='MpServer', x=20.41, y=48.00, z=687.58], NPCQuestGiver[''/18215, l='MpServer', x=-4.70, y=73.00, z=766.70], EntityPixelmon['Wailmer'/18471, l='MpServer', x=1.45, y=53.04, z=696.81], NPCTrainer['1'/18216, l='MpServer', x=-12.35, y=65.00, z=767.47], NPCQuestGiver[''/18217, l='MpServer', x=-12.70, y=70.00, z=754.70], NPCQuestGiver[''/18218, l='MpServer', x=-10.48, y=63.00, z=763.65], EntityOtherPlayerMP['spenshar'/82, l='MpServer', x=49.22, y=64.00, z=689.93], NPCQuestGiver[''/18219, l='MpServer', x=9.13, y=64.00, z=785.48], EntityLatchedRenderer['unknown'/43, l='MpServer', x=49.22, y=64.00, z=689.93], NPCTrainer['12'/18220, l='MpServer', x=1.47, y=79.00, z=742.39], NPCQuestGiver[''/18224, l='MpServer', x=-19.50, y=62.20, z=766.70], NPCQuestGiver[''/18225, l='MpServer', x=-21.16, y=60.20, z=756.34], EntityPixelmon['Binacle'/18481, l='MpServer', x=40.58, y=62.57, z=689.27], NPCQuestGiver[''/18226, l='MpServer', x=-19.50, y=62.17, z=766.70], NPCQuestGiver[''/18227, l='MpServer', x=-19.50, y=62.18, z=766.70], EntityPixelmon['Diglett'/18483, l='MpServer', x=38.84, y=44.00, z=685.49], NPCQuestGiver[''/18228, l='MpServer', x=-31.47, y=64.00, z=753.70], EntityPixelmon['Arrokuda'/18485, l='MpServer', x=-12.48, y=53.00, z=675.26], NPCQuestGiver[''/18229, l='MpServer', x=-9.48, y=64.00, z=766.48], NPCTrainer['0'/18230, l='MpServer', x=-29.49, y=64.00, z=752.80], EntityPixelmon['Magikarp'/18495, l='MpServer', x=15.05, y=58.10, z=709.63], EntityPixelmon['Drilbur'/18498, l='MpServer', x=97.50, y=71.00, z=699.50], EntityPixelmon['Pachirisu'/18500, l='MpServer', x=88.48, y=87.00, z=715.71], EntityPixelmon['Greedent'/18501, l='MpServer', x=48.50, y=81.00, z=720.50], EntityPixelmon['Pachirisu'/18503, l='MpServer', x=67.76, y=73.00, z=698.49], EntityPixelmon['Wishiwashi'/18504, l='MpServer', x=33.71, y=58.00, z=696.71], EntityPixelmon['Pachirisu'/18377, l='MpServer', x=48.28, y=84.00, z=747.51], EntityPixelmon['Horsea'/18506, l='MpServer', x=-1.43, y=47.00, z=633.20], EntityPixelmon['Pachirisu'/18509, l='MpServer', x=74.52, y=79.00, z=640.27], EntityPixelmon['Wishiwashi'/18513, l='MpServer', x=2.07, y=57.94, z=671.38], EntityPixelmon['Wingull'/18514, l='MpServer', x=4.24, y=71.00, z=721.52], EntityOtherPlayerMP['spenshar'/82, l='MpServer', x=49.22, y=64.00, z=689.93], EntityPixelmon['Teddiursa'/18518, l='MpServer', x=88.50, y=72.00, z=680.60], EntityPixelmon['Bunnelby'/18520, l='MpServer', x=78.50, y=55.00, z=678.50], EntityPixelmon['Togedemaru'/18526, l='MpServer', x=84.50, y=71.00, z=712.50], EntityPixelmon['Pachirisu'/18528, l='MpServer', x=58.85, y=70.00, z=695.21], EntityPixelmon['Diglett'/18531, l='MpServer', x=70.50, y=48.00, z=701.50], EntityPixelmon['Togedemaru'/18279, l='MpServer', x=25.53, y=79.00, z=738.50], EntityPixelmon['Whismur'/18536, l='MpServer', x=33.50, y=57.00, z=726.50], EntityPixelmon['Geodude'/18539, l='MpServer', x=82.50, y=55.00, z=658.50], EntityPixelmon['Fletchinder'/18540, l='MpServer', x=95.05, y=84.00, z=717.31], EntityPixelmon['Luvdisc'/18547, l='MpServer', x=49.97, y=56.04, z=675.56], EntityPixelmon['Lunatone'/18550, l='MpServer', x=48.50, y=63.00, z=708.50], EntityPixelmon['Skwovet'/18553, l='MpServer', x=100.47, y=78.00, z=659.51], EntityPixelmon['Drilbur'/18301, l='MpServer', x=26.11, y=78.00, z=735.89], EntityPixelmon['Fletchling'/18557, l='MpServer', x=99.17, y=97.00, z=742.51], EntityPixelmon['Roggenrola'/18302, l='MpServer', x=11.32, y=56.00, z=740.32], EntityPixelmon['Wingull'/18559, l='MpServer', x=61.98, y=76.00, z=698.90]]
    Retry entities: 1 total; [EntityLatchedRenderer['unknown'/1, l='MpServer', x=8.50, y=65.00, z=8.50]]
    Server brand: fml,forge
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:420)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2741)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:419)
    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)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 911885696 bytes (869 MB) / 2316304384 bytes (2209 MB) up to 11453595648 bytes (10923 MB)
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx12288m -Xms256m
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2860 18 mods loaded, 18 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State  | ID             | Version      | Source                                            | Signature                                |
    |:------ |:-------------- |:------------ |:------------------------------------------------- |:---------------------------------------- |
    | LCHIJA | minecraft      | 1.12.2       | minecraft.jar                                     | None                                     |
    | LCHIJA | mcp            | 9.42         | minecraft.jar                                     | None                                     |
    | LCHIJA | FML            | 8.0.99.99    | forge-1.12.2-14.23.5.2860.jar                     | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge          | 14.23.5.2860 | forge-1.12.2-14.23.5.2860.jar                     | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | biomesoplenty  | 7.0.1.2444   | BiomesOPlenty-1.12.2-7.0.1.2444-universal.jar     | None                                     |
    | LCHIJA | bop_patch      | 1.0          | BOP-Patch-1.0.jar                                 | None                                     |
    | LCHIJA | codechickenlib | 3.2.3.358    | CodeChickenLib-1.12.2-3.2.3.358-universal.jar     | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
    | LCHIJA | konkrete       | 1.0.3        | konkrete_1.0.3_MC_1.12-1.12.2.jar                 | None                                     |
    | LCHIJA | fancymenu      | 1.5.2        | fancymenu_1.5.2_MC_1.12-1.12.2.jar                | None                                     |
    | LCHIJA | pixelmon       | 8.3.6        | Pixelmon-1.12.2-8.3.6-universal.jar               | None                                     |
    | LCHIJA | gameshark      | 6.0.6        | Gameshark-1.12.2-6.0.6-universal.jar              | None                                     |
    | LCHIJA | ichunutil      | 7.2.2        | iChunUtil-1.12.2-7.2.2.jar                        | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCHIJA | jei            | 4.12.0.216   | jei_1.12.2-4.12.0.216.jar                         | None                                     |
    | LCHIJA | journeymap     | 1.12.2-5.7.1 | journeymap-1.12.2-5.7.1.jar                       | None                                     |
    | LCHIJA | morph          | 7.2.0        | Morph-1.12.2-7.2.1.jar                            | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCHIJA | naturescompass | 1.8.5        | NaturesCompass-1.12.2-1.8.5.jar                   | None                                     |
    | LCHIJA | nei            | 2.4.3        | NotEnoughItems-1.12.2-2.4.3.245-universal (1).jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
    | LCHIJA | pixelextras    | 2.5.17       | PixelExtras-1.12.2-2.5.17-universal.jar           | None                                     |

    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13587 Compatibility Profile Context 20.4.2 26.20.15029.27017' Renderer: 'Radeon RX 580 Series'
    Launched Version: forge-14.23.5.2860
    LWJGL: 2.9.4
    OpenGL: Radeon RX 580 Series GL version 4.6.13587 Compatibility Profile Context 20.4.2 26.20.15029.27017, ATI Technologies Inc.
    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: No
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: ThePixelmonOST.zip
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 16x AMD Ryzen 7 2700X Eight-Core Processor 

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

    • Try deliting feur builder  It caused this issue in my modpack
    • I am not using hardcoded recipes, I'm using Vanilla's already existing code for leather armor dying. (via extending and implementing DyeableArmorItem / DyeableLeatherItem respectively) I have actually figured out that it's something to do with registering item colors to the ItemColors instance, but I'm trying to figure out where exactly in my mod's code I would be placing a call to the required event handler. Unfortunately the tutorial is criminally undescriptive. The most I've found is that it has to be done during client initialization. I'm currently trying to do the necessary setup via hijacking the item registry since trying to modify the item classes directly (via using SubscribeEvent in the item's constructor didn't work. Class so far: // mrrp mrow - mcmod item painter v1.0 - catzrule ch package catzadvitems.init; import net.minecraft.client.color.item.ItemColors; import net.minecraft.world.item.Item; import net.minecraftforge.registries.ObjectHolder; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.client.event.ColorHandlerEvent; import catzadvitems.item.DyeableWoolArmorItem; @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) public class Painter { @ObjectHolder("cai:dyeable_wool_chestplate") public static final Item W_CHEST = null; @ObjectHolder("cai:dyeable_wool_leggings") public static final Item W_LEGS = null; @ObjectHolder("cai:dyeable_wool_boots") public static final Item W_SOCKS = null; public Painter() { // left blank, idk if forge throws a fit if constructors are missing, not taking the chance of it happening. } @SubscribeEvent public static void init(FMLClientSetupEvent event) { new Painter(); } @Mod.EventBusSubscriber private static class ForgeBusEvents { @SubscribeEvent public static void registerItemColors(ColorHandlerEvent.Item event) { ItemColors col = event.getItemColors(); col.register(DyeableUnderArmorItem::getItemDyedColor, W_CHEST, W_LEGS, W_SOCKS); //placeholder for other dye-able items here later.. } } } (for those wondering, i couldn't think of a creative wool helmet name)
    • nvm found out it was because i had create h and not f
    • Maybe there's something happening in the 'leather armor + dye' recipe itself that would be updating the held item texture?
    • @SubscribeEvent public static void onRenderPlayer(RenderPlayerEvent.Pre e) { e.setCanceled(true); model.renderToBuffer(e.getPoseStack(), pBuffer, e.getPackedLight(), 0f, 0f, 0f, 0f, 0f); //ToaPlayerRenderer.render(); } Since getting the render method from a separate class is proving to be bit of a brick wall for me (but seems to be the solution in older versions of minecraft/forge) I've decided to try and pursue using the renderToBuffer method directly from the model itself. I've tried this route before but can't figure out what variables to feed it for the vertexConsumer and still can't seem to figure it out; if this is even a path to pursue.  The vanilla model files do not include any form of render methods, and seem to be fully constructed from their layer definitions? Their renderer files seem to take their layers which are used by the render method in the vanilla MobRenderer class. But for modded entities we @Override this function and don't have to feed the method variables because of that? I assume that the render method in the extended renderer takes the layer definitions from the renderer classes which take those from the model files. Or maybe instead of trying to use a render method I should be calling the super from the renderer like   new ToaPlayerRenderer(context, false); Except I'm not sure what I would provide for context? There's a context method in the vanilla EntityRendererProvider class which doesn't look especially helpful. I've been trying something like <e.getEntity(), model<e.getEntity()>> since that generally seems to be what is provided to the renderers for context, but I don't know if it's THE context I'm looking for? Especially since the method being called doesn't want to take this or variations of this.   In short; I feel like I'm super super close but I have to be missing something obvious? Maybe this insane inane ramble post will provide some insight into this puzzle?
  • Topics

×
×
  • Create New...

Important Information

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