Posted August 8, 20241 yr Hello! I need to check is it night for some featues of my new mob. I planned to use the MyMob.level.isNight() method, but it seems to work kinda odd for some reason. So I'd wrote down a function in MyMob.tick() which prints value returned by level.isNight(): Spoiler The result was: Spoiler "True" and "False" values is alternating while it is obviously night in the world. So, what does the method actually return?..
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.