Knicks sixth man J.R. Smith believes his massive shooting slump in the playoffs after he returned from a one-game suspension was due to angering the basketball gods. It appears he also aggravated his coach.

Smith drew a five-game suspension for the start of this season for failing his third marijuana test. Coach Mike Woodson put the pressure on Smith to “grow up and do the right thing.’’

“He’s a big piece to the puzzle’’ Woodson said. “I’m not going to throw him out to pasture. My job is to coach him and make sure what happens doesn’t happen again. I expect his teammates to show him some love. At end of the day he’s got to do the thing with his team me as a coach the organization and fans that support him. That’s what it’s all about. He’s got to grow up and do the right things.’’

Smith’s shooting percentage plummeted in the Knicks’ second-round downfall against the Pacers. Once he returned from missing Game 4 of the first round against the Celtics after a one-game suspension for elbowing Jason Terry Smith shot 29 percent (34 of 117).

“I call it pissing the NBA gods off’’ Smith said. “You make and make a lot of shots and then you mess with the basketball game and the game gets you back and it definitely got me back.”

Smith also was playing hurt with a chipped patella tendon but postponed surgery until mid-July. He does not know his recovery timetable and has not been cleared to run. He is doing mostly weight-room work and exercises in the pool as parts of his rehab. During practice on Wednesday Smith was seen working out with boxing gloves — one of the rituals started last training camp by Rasheed Wallace.

However even if Smith is deemed ready for the season opener he will have to sit out the first five games while serving the drug suspension.

“I have so many questions to ask them but I’m afraid of the answer’’ Smith said of his timetable. “I might be too far along. So I don’t really ask him too much.”