Platforms don't take other state data into account.
Darkhax opened this issue ยท 1 comments
Several blocks have special state information which does not get taken into consideration. This is a pretty difficult issue to solve, as there are too many cases to have 100% coverage, however I might have a possible solution. The idea I have would be to take advantage of Block#onBlockPlaced which returns an IBlockState. You can take the arguments passed to the activation method where the state is applied, and cast that to the onBlockedPlaced method. I have made some changes to my code that is based off of the render primer case study, and that seems to fix many of these issues. The onBlockPlaced method seems relatively safe to use in this situation, however it is conceivable that some mod might do something in this method which might cause some issues.