modmuss50 / Fluxed-Redstone

A RF cables mod for modern Minecraft.
MIT License
14 stars 6 forks source link

[1.11.2 - 2.6.0.54] Wrongly registered to mod 'Minecraft'. #29

Closed Trinsec closed 7 years ago

Trinsec commented 7 years ago

No wonder I couldn't get any results when doing @fluxed in the JEI, because it's registered as being a part of the mod Minecraft instead of 'Fluxed Redstone'. I think something got messed up there. Took me a bit to find the items in the JEI.

modmuss50 commented 7 years ago

Humm, that's strange. It could be to do with being written in a different lanaguage. I will take a look.

Seegras commented 7 years ago

I tried to rebuild, and some dependencies have changed maven repos. These are the ones the respective dependency can be found:

http://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.11/4.0.4.199/ http://mvn.rx14.co.uk/repo/mcp/mobius/waila/Hwyla/1.8.4-B16_1.11/ http://maven.tterrag.com/index.php?dir=mcjty%2Ftheoneprobe%2FTheOneProbe%2F1.11-1.3.3-46

Also, shadowJar is too old (for my gradle version), setting this to: classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3' fixed this and made it build

Then I put in an mcmod.info into resources/main, which was picked up automatically. nice.

I now tried to find the bug; but I'm giving up for now. Still, these informations might be useful for somebody wanting to rebuild it.

modmuss50 commented 7 years ago

I have a feeling it's because the mod is written in kotlin, i should be able to set the active mod container before the stuff is loaded and then set it back.

modmuss50 commented 7 years ago

Turned out I forgot to register the resource domain when registering the item, so it defaulted to minecraft.