Obfuscate

Obfuscate

34M Downloads

game crash because obfuscate cannot be cast to Player api

Tsou76 opened this issue · 0 comments

commented

---- Minecraft Crash Report ----

WARNING: coremods are present:
RenderPlayerAPIPlugin (RenderPlayerAPI-1.12.2-1.0 (1).jar)
MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar)
SecurityCraftLoadingPlugin ([1.12.2]+SecurityCraft+v1.9.7.jar)
PlayerAPIPlugin (PlayerAPI-1.12.2-1.1 (2).jar)
ObfuscatePlugin (obfuscate-0.4.2-1.12.2.jar)
Contact their authors BEFORE contacting forge

// Surprise! Haha. Well, this is awkward.

Time: 7/31/23 3:29 AM
Description: Rendering entity in world

java.lang.ClassCastException: com.mrcrayfish.obfuscate.client.model.ModelBipedArmor cannot be cast to api.player.model.IModelPlayerAPI
at net.smart.moving.render.SMRenderPlayerBase.getPlayerBase(SMRenderPlayerBase.java:136)
at net.smart.moving.render.SMRenderPlayerBase.getMovingModelBipedMain(SMRenderPlayerBase.java:117)
at net.smart.moving.render.SMRender.(SMRender.java:50)
at net.smart.moving.render.SMRenderPlayerBase.getRenderModel(SMRenderPlayerBase.java:50)
at net.smart.moving.render.SMRenderPlayerBase.doRender(SMRenderPlayerBase.java:57)
at api.player.render.RenderPlayerAPI.doRender(RenderPlayerAPI.java:2322)
at api.player.render.RenderPlayerAPI.doRender(RenderPlayerAPI.java:2310)
at net.minecraft.client.renderer.entity.RenderPlayer.func_76986_a(RenderPlayer.java)
at net.minecraft.client.renderer.entity.RenderPlayer.func_76986_a(RenderPlayer.java:28)
at net.minecraft.client.renderer.entity.RenderManager.func_188391_a(RenderManager.java:413)
at net.minecraft.client.renderer.entity.RenderManager.func_188388_a(RenderManager.java:393)
at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:850)
at net.optifine.shaders.ShadersRender.renderShadowMap(ShadersRender.java:375)
at net.optifine.shaders.Shaders.beginRender(Shaders.java:4225)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1600)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1390)
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.smart.moving.render.SMRenderPlayerBase.getPlayerBase(SMRenderPlayerBase.java:136)
at net.smart.moving.render.SMRenderPlayerBase.getMovingModelBipedMain(SMRenderPlayerBase.java:117)
at net.smart.moving.render.SMRender.(SMRender.java:50)
at net.smart.moving.render.SMRenderPlayerBase.getRenderModel(SMRenderPlayerBase.java:50)
at net.smart.moving.render.SMRenderPlayerBase.doRender(SMRenderPlayerBase.java:57)
at api.player.render.RenderPlayerAPI.doRender(RenderPlayerAPI.java:2322)
at api.player.render.RenderPlayerAPI.doRender(RenderPlayerAPI.java:2310)
at net.minecraft.client.renderer.entity.RenderPlayer.func_76986_a(RenderPlayer.java)
at net.minecraft.client.renderer.entity.RenderPlayer.func_76986_a(RenderPlayer.java:28)

-- Entity being rendered --
Details:
Entity Type: null (net.minecraft.client.entity.EntityPlayerSP)
Entity ID: 46
Entity Name: Just_Tsou
Entity's Exact location: 281.78, 4.00, -16.32
Entity's Block location: World: (281,4,-17), Chunk: (at 9,0,15 in 17,-2; contains blocks 272,0,-32 to 287,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null

-- Renderer details --
Details:
Assigned renderer: net.minecraft.client.renderer.entity.RenderPlayer@20564148
Location: 0.00,0.00,0.00 - World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Rotation: -92.24238
Delta: 0.060005188
Stacktrace:
at net.minecraft.client.renderer.entity.RenderManager.func_188391_a(RenderManager.java:413)
at net.minecraft.client.renderer.entity.RenderManager.func_188388_a(RenderManager.java:393)
at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:850)
at net.optifine.shaders.ShadersRender.renderShadowMap(ShadersRender.java:375)
at net.optifine.shaders.Shaders.beginRender(Shaders.java:4225)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1600)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['Just_Tsou'/46, l='MpServer', x=281.78, y=4.00, z=-16.32]]
Chunk stats: MultiplayerChunkCache: 225, 225
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (278,4,-1), Chunk: (at 6,0,15 in 17,-1; contains blocks 272,0,-16 to 287,255,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 78621 game time, 78621 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 18 total; [EntitySheep['Mouton'/32, l='MpServer', x=215.50, y=4.00, z=34.50], EntitySheep['Mouton'/33, l='MpServer', x=211.50, y=4.00, z=60.50], EntityChicken['Poule'/34, l='MpServer', x=213.50, y=4.00, z=62.50], EntityChicken['Poule'/35, l='MpServer', x=214.03, y=4.00, z=59.44], EntitySheep['Mouton'/37, l='MpServer', x=229.17, y=4.00, z=42.21], EntityTractor['Tracteur'/38, l='MpServer', x=284.25, y=4.00, z=-7.35], EntityATV['Quad'/39, l='MpServer', x=288.24, y=4.00, z=-27.60], EntityFluidTrailer['Remorque-Réservoir'/40, l='MpServer', x=291.51, y=4.00, z=-27.21], EntityFertilizerTrailer['Fertiliseur'/41, l='MpServer', x=288.50, y=4.00, z=0.50], EntitySeederTrailer['Semoir'/42, l='MpServer', x=296.50, y=4.00, z=0.50], EntityStorageTrailer['Remorque de Stockage'/43, l='MpServer', x=298.50, y=4.00, z=0.50], EntityVehicleTrailer['Remorque à Vehicule'/44, l='MpServer', x=306.83, y=4.00, z=2.72], EntityLawnMower['Tondeuse à Gazon'/45, l='MpServer', x=307.12, y=4.49, z=1.76], EntityPig['Cochon'/22, l='MpServer', x=206.50, y=4.00, z=-19.50], EntityPlayerSP['Just_Tsou'/46, l='MpServer', x=281.78, y=4.00, z=-16.32], EntityPig['Cochon'/29, l='MpServer', x=209.72, y=4.00, z=-20.52], EntityChicken['Poule'/30, l='MpServer', x=212.65, y=4.00, z=33.79], EntityChicken['Poule'/31, l='MpServer', x=210.63, y=4.00, z=34.51]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:532)
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)