Jump to content

Recommended Posts

Posted

Whenever I try and use an orb of static souls with Pixelmon the game crashes and gives me this
The game crashed whilst rendering item Error: java.lang.ArrayIndexOutOfBoundsException: 0
Here's the crash report, Please Help! 

 

---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 2/22/19 9:32 PM
Description: Rendering item

java.lang.ArrayIndexOutOfBoundsException: 0
    at net.minecraftforge.client.model.pipeline.LightUtil$ItemConsumer.put(LightUtil.java:327)
    at net.minecraftforge.client.model.pipeline.LightUtil.putBakedQuad(LightUtil.java:117)
    at net.minecraft.client.renderer.block.model.BakedQuad.pipe(BakedQuad.java:66)
    at net.minecraftforge.client.model.pipeline.LightUtil.renderQuadColorSlow(LightUtil.java:286)
    at net.minecraftforge.client.model.pipeline.LightUtil.renderQuadColor(LightUtil.java:298)
    at net.minecraft.client.renderer.RenderItem.func_191970_a(RenderItem.java:226)
    at net.minecraftforge.client.ForgeHooksClient.drawSegment(ForgeHooksClient.java:751)
    at net.minecraftforge.client.ForgeHooksClient.renderLitItem(ForgeHooksClient.java:713)
    at net.minecraft.client.renderer.RenderItem.func_191967_a(RenderItem.java:118)
    at net.minecraft.client.renderer.RenderItem.func_191961_a(RenderItem.java:106)
    at net.minecraft.client.renderer.RenderItem.func_180454_a(RenderItem.java:149)
    at net.minecraft.client.renderer.RenderItem.func_191962_a(RenderItem.java:308)
    at net.minecraft.client.renderer.RenderItem.func_184391_a(RenderItem.java:347)
    at net.minecraft.client.gui.GuiIngame.func_184044_a(GuiIngame.java:1160)
    at net.minecraft.client.gui.GuiIngame.func_180479_a(GuiIngame.java:547)
    at net.minecraftforge.client.GuiIngameForge.func_180479_a(GuiIngameForge.java:346)
    at net.minecraftforge.client.GuiIngameForge.func_175180_a(GuiIngameForge.java:142)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1098)
    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:498)
    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.minecraftforge.client.model.pipeline.LightUtil$ItemConsumer.put(LightUtil.java:327)
    at net.minecraftforge.client.model.pipeline.LightUtil.putBakedQuad(LightUtil.java:117)
    at net.minecraft.client.renderer.block.model.BakedQuad.pipe(BakedQuad.java:66)
    at net.minecraftforge.client.model.pipeline.LightUtil.renderQuadColorSlow(LightUtil.java:286)
    at net.minecraftforge.client.model.pipeline.LightUtil.renderQuadColor(LightUtil.java:298)
    at net.minecraft.client.renderer.RenderItem.func_191970_a(RenderItem.java:226)
    at net.minecraftforge.client.ForgeHooksClient.drawSegment(ForgeHooksClient.java:751)
    at net.minecraftforge.client.ForgeHooksClient.renderLitItem(ForgeHooksClient.java:713)
    at net.minecraft.client.renderer.RenderItem.func_191967_a(RenderItem.java:118)
    at net.minecraft.client.renderer.RenderItem.func_191961_a(RenderItem.java:106)
    at net.minecraft.client.renderer.RenderItem.func_180454_a(RenderItem.java:149)
    at net.minecraft.client.renderer.RenderItem.func_191962_a(RenderItem.java:308)

-- Item being rendered --
Details:
    Item Type: com.pixelmonmod.pixelmon.items.ItemShrineOrb@81847c4
    Registry Name: pixelmon:dos_orb
    Item Aux: 0
    Item NBT: null
    Item Foil: false
Stacktrace:
    at net.minecraft.client.renderer.RenderItem.func_184391_a(RenderItem.java:347)
    at net.minecraft.client.gui.GuiIngame.func_184044_a(GuiIngame.java:1160)
    at net.minecraft.client.gui.GuiIngame.func_180479_a(GuiIngame.java:547)
    at net.minecraftforge.client.GuiIngameForge.func_180479_a(GuiIngameForge.java:346)
    at net.minecraftforge.client.GuiIngameForge.func_175180_a(GuiIngameForge.java:142)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['StummmyHurt'/195, l='MpServer', x=-82.93, y=70.00, z=270.41]]
    Chunk stats: MultiplayerChunkCache: 506, 506
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (-76,64,256), Chunk: (at 4,4,0 in -5,16; contains blocks -80,0,256 to -65,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 631 game time, 631 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: 3 total; [NPCTrainer['10'/64, l='MpServer', x=-16.50, y=63.00, z=293.50], EntityPlayerSP['StummmyHurt'/195, l='MpServer', x=-82.93, y=70.00, z=270.41], NPCRelearner['Relearner'/10, l='MpServer', x=-101.50, y=71.00, z=187.50]]
    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: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:498)
    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: Mac OS X (x86_64) version 10.13.6
    Java Version: 1.8.0_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 249260576 bytes (237 MB) / 1006632960 bytes (960 MB) up to 2147483648 bytes (2048 MB)
    JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.42 Powered by Forge 14.23.5.2814 5 mods loaded, 5 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.2814.jar                  | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge     | 14.23.5.2814 | forge-1.12.2-14.23.5.2814.jar                  | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | pixelmon  | 2.5.1        | PixelmonGenerations-1.12.2-2.5.1-universal.jar | None                                     |

    Loaded coremods (and transformers): 
    Launched Version: 1.12.2-forge1.12.2-14.23.5.2814
    LWJGL: 2.9.2
    OpenGL: Intel Iris Pro OpenGL Engine GL version 2.1 INTEL-10.36.23, Intel Inc.
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because ARB_framebuffer_object 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: 
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 4x Intel(R) Core(TM) i5-4570R CPU @ 2.70GHz

  • 5 months later...
Posted

I downloaded reforged and it's crashing my game too. one thing i saw was something saying a Nosuchmethod error i don't kmnow what's happened and i've removed other mods to make extra space but it still crashes idk what's wrong

Posted

Please don't hijack other people's threads.

If you have an issue please make your own thread.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I would like to have a BoP sapling drop from my block if it is also installed. I think I have done everything and I cannot pinpoint the problem, which is the error in the logs that appears when joining a world:   [Worker-Main-11/ERROR] [ne.mi.co.ForgeHooks/]: Couldn't parse element loot_tables:grasses:blocks/leaves_block com.google.gson.JsonSyntaxException: Expected name to be an item, was unknown string 'biomesoplenty:magic_sapling' My code:   LootItemConditions.CONDITIONS.register(modEventBus); public class LootItemConditions { public static final DeferredRegister<LootItemConditionType> CONDITIONS = DeferredRegister.create(Registries.LOOT_CONDITION_TYPE, Grasses.MOD_ID); public static final RegistryObject<LootItemConditionType> IS_MOD_LOADED = CONDITIONS.register("is_mod_loaded", () -> new LootItemConditionType(new IsModLoaded.ConditionSerializer())); } public class IsModLoaded implements LootItemCondition { private final boolean exists; private final String modID; public IsModLoaded(String modID) { this.exists = ModList.get().isLoaded(modID); this.modID = modID; } @Override public LootItemConditionType getType() { return LootItemConditions.IS_MOD_LOADED.get(); } @Override public boolean test(LootContext context) { return this.exists; } public static LootItemCondition.Builder builder(String modid) { return () -> new IsModLoaded(modid); } public static class ConditionSerializer implements Serializer<IsModLoaded> { @Override public void serialize(JsonObject json, IsModLoaded instance, JsonSerializationContext ctx) { json.addProperty("modid", instance.modID); } @Override public IsModLoaded deserialize(JsonObject json, JsonDeserializationContext ctx) { return new IsModLoaded(GsonHelper.getAsString(json, "modid")); } } } protected LootTable.Builder createLeavesDropsWithModIDCheck(Block selfBlock, Item sapling, Property<?>[] properties, String modIDToCheck, float... chances) { CopyBlockState.Builder blockStateCopyBuilder = CopyBlockState.copyState(selfBlock); for(Property<?> property : properties) { blockStateCopyBuilder.copy(property); } return LootTable.lootTable() .withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0F)) .add(LootItem.lootTableItem(selfBlock) .when(HAS_SHEARS_OR_SILK_TOUCH) .apply(blockStateCopyBuilder))) .withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0F)) .add(this.applyExplosionCondition(selfBlock, LootItem.lootTableItem(sapling)) .when(IsModLoaded.builder(modIDToCheck))) .when(BonusLevelTableCondition.bonusLevelFlatChance(Enchantments.BLOCK_FORTUNE, chances)) .when(HAS_NO_SHEARS_OR_SILK_TOUCH)) .withPool(LootPool.lootPool().name("sticks").setRolls(ConstantValue.exactly(1.0F)) .add(this.applyExplosionDecay(selfBlock, LootItem.lootTableItem(Items.STICK). apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0F, 2.0F)))) .when(BonusLevelTableCondition.bonusLevelFlatChance(Enchantments.BLOCK_FORTUNE, NORMAL_LEAVES_STICK_CHANCES)) .when(HAS_NO_SHEARS_OR_SILK_TOUCH))); } I don't know. Am I making a mistake somewhere? Am I forgetting something? Should there be something else?
    • https://paste.ee/p/h1JX9bbl
    • Add the latest.log from your logs-folder
    • It didn't work. https://paste.ee/p/JttLe3Jj
  • Topics

×
×
  • Create New...

Important Information

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