The Waila integration can often show the wrong block state for Secret Rooms blocks.
To reproduce:
Place Red Sand down.
Place a Secret Stairs block next to the Red Sand.
Look at the real block in Waila (should show Red Sand).
Look at the fake block in Waila. It will show Sand, as this is the default block state.
The reason this occurs is because the returned ItemStack from getPickBlock (which takes the state into account) is promptly being overriden due to a typo.
The Waila integration can often show the wrong block state for Secret Rooms blocks.
To reproduce:
The reason this occurs is because the returned ItemStack from
getPickBlock
(which takes the state into account) is promptly being overriden due to a typo.