Let's talk about rain
#10
So I've browsed the vanilla 1.7.2 sources, looking for the rain code. It's a bit different than ours, but I think the numbers can be made more or less similar.
Basically, vanilla picks a number between 12,000 and 24,000 and uses that as the length of the rain (between 10 and 20 real-world minutes), and then picks a number between 12,000 and 180,000 (10 and 150 real-world minutes) and makes it sunny for this interval.
At the same time, it selects a number between 3,600 and 15,600 (3 and 13 real-world minutes) for thunder and between 12,000 and 180,000 (10 and 150 real-world minutes) for sunny. So vanilla can actually go from sunny directly to thunder and back; Cuberite can only go to thunder through rain.
Reply
Thanks given by: Jammet


Messages In This Thread
Let's talk about rain - by Jammet - 09-26-2015, 10:48 PM
RE: Let's talk about rain - by NiLSPACE - 09-26-2015, 11:33 PM
RE: Let's talk about rain - by worktycho - 09-27-2015, 12:18 AM
RE: Let's talk about rain - by Jammet - 09-27-2015, 01:03 AM
RE: Let's talk about rain - by worktycho - 09-27-2015, 01:53 AM
RE: Let's talk about rain - by xoft - 09-27-2015, 03:07 AM
RE: Let's talk about rain - by DrMasik - 09-27-2015, 03:22 AM
RE: Let's talk about rain - by LogicParrot - 09-27-2015, 04:47 AM
RE: Let's talk about rain - by Jammet - 09-27-2015, 08:17 PM
RE: Let's talk about rain - by xoft - 09-28-2015, 08:45 AM
RE: Let's talk about rain - by Jammet - 09-29-2015, 09:45 AM



Users browsing this thread: 11 Guest(s)