Examples of canDoLightning()


Examples of net.minecraft.world.WorldProvider.canDoLightning()

      int var8;
      int var9;
      int var10;
      int var11;

      if (isRaining && isThundering && provider.canDoLightning(chunk) && rand.nextInt(100000) == 0) {
        updateLCG = updateLCG * 1664525 + 1013904223;
        var8 = updateLCG >> 2;
        var9 = xPos + (var8 & 15);
        var10 = zPos + (var8 >> 8 & 15);
        var11 = this.getPrecipitationHeight(var9, var10);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.