Hello,
I'm pretty new to Forge modding, and I'm hoping to create what I would hope is a relatively easy mod. Searching for a solution failed me, but it might be because I don't know how to ask the question properly.
Essentially, what I want to do is, if a player creates/activates a custom block, new monsters cannot spawn within a certain range of that block.
I see how I would do it by directly modifying the Minecraft code, but is there a way to accomplish it within Forge? I basically want to catch the general entity spawning event and cancel it under the appropriate conditions.