I don't believe there's an actual "rim" in the game code. I believe the "rebound" event is what triggers shot clock reset, since it assumes a change of possession. So the ideal solution is to find a way to code a block so that it doesn't produce a rebound event, because frankly, a true block in real life wouldn't result in a rebound. It would be a loose ball. What we need is a loose ball event.