totallyliner.blogg.se

Charged creeper
Charged creeper





charged creeper

After one tick, the chances of finding a charged Creeper is 1:124,399. There's exactly one Creeper in every chunk. After 15,600 ticks, the probability is effectively 100%. After 3,600 ticks, there's a ~99.93% chance of encountering a charged Creeper. After one tick, the chances of finding a charged Creeper is 1:485. There are way too many different combinations and scenarios to list out, but here are two idealized scenarios: Now, if there are more Creepers on the field, you have a better chance of finding a charged Creeper. Thus, the probability of encountering a charged Creeper should be the same as the Creeper existing. It's way too complex to try and figure out what happens if the Creeper moves and you move or you're not looking in the right direction, so I'm going to ignore that and assume you and the Creeper aren't moving, but you're actively looking for it by rotating your field of view 360 degrees. 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.

charged creeper

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.







Charged creeper