Block temperatures don't always seem to honor properties
dannydjdk opened this issue ยท 0 comments
When setting custom block temperatures in block_temperature.json, some properties do not appear to be read correctly. I have 2 examples below. Example 1 is a block from ImmersiveCraft (which is the actual block I want to add to my pack's config), and Example 2 is a vanilla block just to rule out an ImmersiveCraft specific bug.
Example 1:
{ "state": { "block": "immcraft:sticks", "properties": { "amount": "*", "burning": "true", "facing": "*" } }, "temperature":12.0 }
This should add a +12 block temperature for ImmersiveCraft sticks, but only when the burning property is true. Instead it adds a +12 block temperature for all ImmersiveCraft sticks whether burning is true or false (as displayed in the F3 debug info). If I change the config to "burning": "false", then it never adds the block temperature, even with burning is false. So, it seems to act as if burning is always true, even when it is not.
This bug only seems to apply to the "burning" property. If, for instance, I specify "north" for the "facing" property, it will correctly only apply to north facing sticks.
Example 2:
{ "state": { "block": "minecraft:grass", "properties":{ "snowy": "true" } }, "temperature": -2.0 }
This should add -2 block temperature for grass blocks for which snowy is true. Instead it never adds the -2 block temperature, even if snowy=true (in the F3 debug info). If I change the config to "snowy": "false", then it always adds the -2 block temperature, even if snowy is true.
I have also tried a few different variations, such as using true/false values (without quotes) and 1/0 Boolean. The behavior remains the same.
Tough As Nails 3.1.0.120 (also occurs in 3.1.0.115 release)
Forge: 14.23.4.2707
Test config file: https://pastebin.com/rqpXurh6
Everything works as expected in this file except immcraft:sticks, immcraft:furnace and minecraft:grass.
Please let me know if more details are required or if there is a mistake in my understanding of how this should work. Thanks!