Posted September 2, 20178 yr I am curious on how to only allow spawns if a condition is true. AFAIK EntityRegistry#addSpawn makes an entity you choose always able to spawn, and if you made a condition before it it would not be able to change during gameplay. I do not really have anything to show since I haven't tried this myself yet, but it might be something I need to do in the future.
September 2, 20178 yr there is an event, I think check spawn event that you can cancel to prevent a spawn after you've checked the conditions you care about. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.