Crash when adding Immersive Engineering multiblocks to block_temperature.json
copygirl opened this issue ยท 2 comments
When adding multiblock machines such as the Coke Oven from Immersive Engineering to the block_temperature.json
config file, the game crashes with the following exception:
java.lang.ClassCastException: com.google.common.collect.RegularImmutableList cannot be cast to com.google.common.collect.ImmutableSet
at toughasnails.util.BlockStateUtils.getPropertyValueByName(BlockStateUtils.java:119)
at toughasnails.config.json.BlockStatePredicate.apply(BlockStatePredicate.java:62)
at toughasnails.temperature.modifier.ObjectProximityModifier.getBlockTemperature(ObjectProximityModifier.java:75)
[...]
I add entries similar to the following to the config file:
{
"state": {
"block": "immersiveengineering:stone_device",
"properties": {
"type": "coke_oven",
"_0multiblockslave": "false", // false = this is the master block
"boolean0": "true" // true = the machine is currently running
}
},
"temperature": 6.0
}
Here's a link to all the entries I add to the config file as well as the full crash report, if needed.
Tough As Nails: 3.1.0.126
Immersive Engineering: 0.12-82
Have you ever figured this out? It seems the devs from this mod don't give any answers about this topic