java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float

GitHub | CyaNox | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Client crash while using Key of the King's Law

    GitHub | 6 months ago | CyaNox
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.lang.Float

      at vazkii.botania.common.entity.EntityBabylonWeapon.getRotation()
    2. vazkii.botania.common
      EntityBabylonWeapon.getRotation
      1. vazkii.botania.common.entity.EntityBabylonWeapon.getRotation(EntityBabylonWeapon.java:239)
      1 frame
    3. vazkii.botania.client
      RenderBabylonWeapon.func_76986_a
      1. vazkii.botania.client.render.entity.RenderBabylonWeapon.doRender(RenderBabylonWeapon.java:45)
      2. vazkii.botania.client.render.entity.RenderBabylonWeapon.func_76986_a(RenderBabylonWeapon.java:33)
      2 frames
    4. MC Client
      Main.main
      1. net.minecraft.client.renderer.entity.RenderManager.func_188391_a(RenderManager.java:366)
      2. net.minecraft.client.renderer.entity.RenderManager.func_188388_a(RenderManager.java:350)
      3. net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:623)
      4. net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1315)
      5. net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1229)
      6. net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1038)
      7. net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
      8. net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
      9. net.minecraft.client.main.Main.main(SourceFile:124)
      9 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. Minecraft
      Launch.main
      1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. MultiMC Launcher
      EntryPoint.main
      1. org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:310)
      2. org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:395)
      3. org.multimc.EntryPoint.listen(EntryPoint.java:170)
      4. org.multimc.EntryPoint.main(EntryPoint.java:54)
      4 frames