Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

[FML]: Caught exception from simplyjetpacks (Simply Jetpacks 2) java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 #65

Open
Guinaro opened this issue Mar 23, 2018 · 1 comment

Comments

@Guinaro
Copy link

Guinaro commented Mar 23, 2018

Hey,
I'm encountering an issue with your mod when using a crafttweaker script that removes all oredictionary entries their items.

import crafttweaker.oredict.IOreDict;
import crafttweaker.oredict.IOreDictEntry;
import crafttweaker.item.IItemStack;

print("Emptying all OreDictionary Entries");
for entry in oreDict.entries{
	if(!isNull(entry.items)){
		for item in entry.items{
			entry.remove(item);
		}
	}
}

See
https://gist.github.com/Guinaro/67df43dbf139d730b4f1f33f9f8e0b9e

If I let the oredictionary intact: no issues.
Integration settings are as follows:

"integration settings" {
    # When enabled, Simply Jetpacks will register its Ender IO-based jetpacks and flux packs.
    B:"Ender IO integration"=false

    # When enabled, Simply Jetpacks will register its RedstoneArsenal tier5 jetpack recipes.
    B:"RedstoneArsenal integration"=true

    # When enabled, Simply Jetpacks will register its Thermal Expansion-based jetpacks and flux packs.
    B:"ThermalExpansion integration"=true

    # When enabled, Simply Jetpacks will register its Vanilla-based jetpacks.
    B:"Vanilla integration"=false
}

I assume it has something to do with looking up items in the oredictionary and not finding any.
Could this be solved by simply registering the items (so I can use them in game), but not enabling recipes. I want to make my own anyway?

Guinaro

@Tomson124
Copy link
Owner

I will look into it the next few days

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants