getStateFromIDWithRotation

fun getStateFromIDWithRotation(iblockstate: IBlockState, rotation: Int): IBlockState

Returns the blockstate for the given blockID. Also rotates the state corresponding to the given rotation if it has rotation data.