Integrated Dynamics

Integrated Dynamics

63M Downloads

Sapling block reader presumed bug.

olly1240 opened this issue ยท 1 comments

commented

Hi, I was playing the last version of Integrated Dynamics found on Curseforge, and while I was testing it in creative mode i found what I think it might be a glitch. I used a block reader to read if there is a sapling in the current block. Then with the logic programmer i created a simple == with the block type output variable from the block reader and a simple oak sapling block variable. Then i put the resulting boolean variable into a display and everything seems to work well until bone meal is used, that after a random number of use raises the stage counter breaking the boolean check telling me that the sapling block variable and the block reader value don't match anymore. But the block reader still reads sapling. Am I missing something? It seems to change when growth changes from 0 to 1, but I thought that would have been ignored by the reader in the block type variable.
Here are some screenshots
Before bone meal is applied
image

And then after
image

Is this a bug or is that intended behavior?
Thank you for your time! I love your mods!

commented

This is intended behaviour, as ID reads blocks together with their blockstate, which here includes sapling age.
There should be an operator to convert a block value to its block type (or name), which could be used to purely compare the block independent of its state.