v26.3.417 - Incompatibility with JAOPCA
ubergeek77 opened this issue ยท 5 comments
Edit: Updated title since mcenderdragon pointed out what the real issue is
After updating from Futurepack v26.3.309 to v26.3.417, my server crashes on load. The exception seems to be caused by Futurepack, but thrown by WrapUp. I cannot stop using WrapUp as it is required by JAOPCA.
The first few lines of the error being thrown is:
Description: Exception in server tick loop
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from WrapUp (wrapup)
Caused by: java.lang.NoSuchMethodError: futurepack.common.crafting.FPZentrifugeManager.addZentrifugeRecipe(Lnet/minecraft/item/ItemStack;[Lnet/minecraft/item/ItemStack;I)Lfuturepack/common/crafting/ZentrifugeRecipe;
This does not happen on Futurepack v26.3.309.
The full crash log can be found here:
Jopca did use non APi methods, and they have changed in 417. Please report and link this issue on their bug tracker: https://github.com/TheLMiffy1111/JAOPCA/issues.
Valid methods are:
public static ZentrifugeRecipe addRecipe(ItemPredicates in, ItemStack[] out, int support)
{
return instance.addZentrifugeRecipe(in, out, support);
}
public static ZentrifugeRecipe addRecipe(ItemStack in, ItemStack[] out, int support)
{
return instance.addZentrifugeRecipe(new ItemStackPredicate(in), out, support);
}
public ZentrifugeRecipe addZentrifugeRecipe(ItemPredicates in, ItemStack[] out, int support)
{
ZentrifugeRecipe z = new ZentrifugeRecipe(in, out, support);
recipes.add(z);
FPLog.logger.debug(z.toString());
return z;
}
@TheLMiffy1111 I will poke you since I changed the methods. Also very cool you are supporting the Futurepack :)