Simple Storage Network

Simple Storage Network

56M Downloads

Crash after opening request table [ crash with new versions of JEI ]

Blatts12 opened this issue ยท 8 comments

commented

MC 1.12.2. Forge 14.23.4.2750. SimpleStorageNetwork 1.2.8
https://gist.github.com/kellixon/5fdb29ebe063de5136f71eb70a924fe5

commented

DUP of #91 : downgrade your JEI version

commented

Looks like yeah this might require an old JEI version.

crash on 4.11.0.215 ... works on 4.11.0.212

If thats the only issue, Ill update storage network to 1.3.0 and fix it to work o newest JEI (or maybe JEI will put out a bugfix and im good)

So ill keep this open for now until JEI updates or i find out if i need to update

commented

Issue was already reported to JEI GitHub here: mezz/JustEnoughItems#1331
=> SimpleNetwork is using internal classes and needs to be updated.

commented

1.12.2-1.2.9 Still crashes with the latest JEI 214 and 215 installed.

https://pastebin.com/m8NprHyZ

commented

@LemADEC thanks for the update, looks like i will upgrade to new API in the 1.3.0 release

note to self for API http://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.12.2/4.12.0.215/

commented

Please use the stable API, you can set the filter from there: https://github.com/mezz/JustEnoughItems/blob/3330e8711830ae837aeb234c26a2963b99048e36/src/api/java/mezz/jei/api/IIngredientFilter.java#L15-L23

Do not use mezz.jei.Internal, it can break any time I make small changes to the mod.

You can compile against just the JEI API using gradle like this in order to avoid using internal classes:

repositories {
  maven {
    // location of the maven that hosts JEI files
    name = "Progwml6 maven"
    url = "http://dvs1.progwml6.com/files/maven"
  }
  maven {
    // location of a maven mirror for JEI files, as a fallback
    name = "ModMaven"
    url = "modmaven.k-4u.nl"
  }
}

dependencies {
  // compile against the JEI API but do not include it at runtime
  deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api"
  // at runtime, use the full JEI jar
  runtime "mezz.jei:jei_${mc_version}:${jei_version}"
}