Posted October 14, 201410 yr So, all I'm looking to do is for the player to be able to specify a block or blocks and those blocks will not spawn hostile mobs on them. Been looking through the code and forums but really I don't know where to start. Is this possible? Can I modify the existing minecraft class or is there another way? Thanks!
October 14, 201410 yr You might be able to use an EntityJoinWorldEvent and cancel it if the entity is above your block. You can't modify existing classes (other than using ASM), and you shouldn't need to. Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.