![]() If a Creeper is on the surface, you have a 1/4 chance of actually looking in the right direction to see said Creeper. And at a 90 degree FOV, you should be able to see 1/4 of the possible render area. At a normal render distance, you can see 128 blocks out, which corresponds nicely to the allowable radius of the Creeper. Since encounter can mean a lot of things, I'm going to use the most liberal definition, which is seeing a charged Creeper. Encountering the charged Creeperīut you want to know what the chances are of encountering a charged Creeper are, not the chances of whether one will exist. So, over time, the probability of that Creeper getting struck by lightning is 1:7,118 at 3 minutes and 1:1,643 at 13 minutes. A tick is 1/20 a second, and according to World::updateWeather(), lightning storms can last for 3,600–15,600 ticks or 3–13 minutes. This is only after one lightning strike, and lightning strikes are calculated once per tick. Multiply that by the chance the Creeper is in that chunk (1:206) and the block the Creeper is on is hit (1:256), the probability of the Creeper being hit by lightning is 1:25,626,249. Given the probability of a chunk getting hit by lightning is 1:100,000, that means the probability of at least one chunk getting hit by lightning is 1:485. At a normal render distance, a radius of 16 chunks are loaded, for a total of 206. Since lightning is calculated independently per chunk, we need to account for all loaded chunks. Since Creepers only take up one block and-once spawned-have no block restrictions, there's a 1:25,600,000 chance of a Creeper getting charged. And if lightning does hit a specific chunk, the game randomly selects one block within that chunk to get the lightning entity.Ī chunk contains 16 2 (or 256) blocks so given any specific block, there's a 1:25,600,000 chance of a lightning strike. Now, if you deobfuscate Minecraft 1.2.5 using MCP 6.2, World::tickBlocksAndAmbiance() indicates Lightning has a 1:100,000 chance of hitting one block in any specific chunk. So if there's a Creeper around, it's somewhere in that area. One Creeper, one chunkĬreepers, like all mobs, immediately despawn if they leave a 128-block radius area centered around the player. So assuming the conditions are met, let's look at the probabilities. If any of these conditions aren't met, the chance of encountering a charged Creeper is zero. At least one rain cycle must have started after Creepers have spawned.The Creepers must be on the surface (lightning can't strike underground).Creepers must have spawned (i.e., at least one night cycle must have started where Creepers spawned).If you increase or decrease either, the chances of seeing a charged Creeper will increase or decrease as well. I'm also going to assume a 90 degree FOV and normal render distance, just to make the numbers easier. ![]() It doesn't matter if you're playing in creative or survival mode. This is not easily answerable and depends on a number of factors.įirst, I'm going to assume that you're playing unmodded, vanilla, single-player Minecraft.
0 Comments
Leave a Reply. |