latvian-dev / yabba

Yet Another Better Barrel Attempt Mod
29 stars 13 forks source link

Crash during initialization when using latest FTBLib #104

Closed TomatoCo closed 6 years ago

TomatoCo commented 6 years ago

FTBLib 5.3.0.51 will cause YABBA to throw a stack trace during Initialization. The stack trace is as follows:

Initializing game

java.lang.NoSuchMethodError: com.feed_the_beast.ftblib.lib.io.DataReader.get(Lnet/minecraft/client/resources/IResource;)Lcom/feed_the_beast/ftblib/lib/io/DataReader;
    at com.latmod.yabba.client.YabbaClient.loadModelsAndSkins(YabbaClient.java:89)
    at com.latmod.yabba.client.BarrelModelLoader.func_110549_a(BarrelModelLoader.java:61)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:121)
    at net.minecraftforge.client.model.ModelLoaderRegistry.registerLoader(ModelLoaderRegistry.java:76)
    at com.latmod.yabba.client.YabbaClientEventHandler.registerModels(YabbaClientEventHandler.java:26)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_667_YabbaClientEventHandler_registerModels_ModelRegistryEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.client.FMLClientHandler.fireSidedRegistryEvents(FMLClientHandler.java:1062)
    at net.minecraftforge.fml.common.FMLCommonHandler.fireSidedRegistryEvents(FMLCommonHandler.java:764)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:629)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Downgrading to FTBLib 5.3.0.50 stops this crash from occurring.