BWM HeatRegistry Broken in Recent Update
legendblade opened this issue ยท 0 comments
Issue Description:
A recent update (1.12-2.1.13 and later) of BWM breaks the Heat Registry due to changes made here https://github.com/BetterWithMods/BetterWithMods/commit/fea6d091cfda6ef261ae31e7342fda724c37c014#diff-7991632eb26ceeb5c7f157c7445b9b73L19 - BWMHeatRegistry.addHeatSource now expects a BWM BlockIngredient instead of a Predicate for its first argument.
What happens:
Attempting to add any block state to the heat registry throws the following exception:
Error executing {[0:crafttweaker]: stage1\sulfur-heater.zs}: betterwithmods.common.registry.heat.BWMHeatRegistry.addHeatSource(Ljava/util/function/Predicate;I)V
java.lang.NoSuchMethodError: betterwithmods.common.registry.heat.BWMHeatRegistry.addHeatSource(Ljava/util/function/Predicate;I)V
at com.blamejared.compat.betterwithmods.HeatRegistry$AddHeatSource.apply(HeatRegistry.java:51)
What you expected to happen:
The custom heat entry would be added correctly.
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.2
- Forge: 14.23.3.2681
- Crafttweaker: 1.12-4.1.8
- ModTweaker: 4.0.12
- MTLib: 3.0.4
- BWM: 1.12-2.1.16
Your most recent log file where the issue was present:
N/A