I was happy to find one pink sheep not far from spawn. I used fencing to close it off until I could name it later. Anyway, wandering further, still within x and y 1000, I find this: two pink sheep in one flock. Not sure if this is a glitch of some sort or just extremely rare. I swear to the heavens that I did not just create this and set it up.
Pretty lucky. Pretty cool. No clue if a glitch it's likely as two is not a possibility I've seen/heard of (Jockeys more so by spawners or eggs with mods but Pink sheep no) but still quite a sight. I've seen some every few years or so for the .1 or so percent you see them. I think I've seen maybe 3 or so in my 10 years playing the game (as far as I remember same with Skeleton Jockeys).
Rollback Post to RevisionRollBack
Niche Community Content Finder, Youtuber, Modpack/Map Maker, Duck
Forum Thread Maintainer for APortingCore, Liteloader Download HUB, Asphodel Meadows, Fabric Project, Legacy Fabric/Cursed Fabric, Power API, Rift/Fabric/Forge 1.13 to 1.17.
Up to at least 1.12.2 there was a bug where sheep wool colors (per pack) were the same across 32x32 chunk regions, or with minimal variation, due to sloppy coding practices (the "world" RNG they refer to is only supposed to be used for random events, like item drops, Fortune, etc, and for some reason they used this RNG when determining if a structure (village or temple, maybe others since 1.6.4) could generate, despite structures having their own RNG precisely for this purpose), and it was common to find up to dozens of pink sheep in the same area. Even if it has been fixed (the report is marked "awaiting response"/verification that it still occurs) it is entirely possible to have more than one pink sheep in a pack, or adjacent packs (I see at least 10 sheep, and they won't remain together for long).
Notably, after fixing it myself it became much easier to find pink sheep because instead of being randomized per-region they are now per-chunk; increasing variation by up to 1024-fold; before then I only found pink sheep once in my first world, but multiples nearby, while since then I've found two more, but by themselves in widely separated areas, and have similarly found them many times in multiple other worlds, always only one at a time (the probability of a sheep being pink is 0.164% or about one in 610; for comparison, the last time I analyzed my first world with MCEdit it found 7341 sheep, meaning that about 12 should be pink, more than I've actually found. Another world had 2700 sheep, or 4-5 pink sheep, of which I found 2; in both cases it may simply be because I haven't seen them, not that they are rarer than expected, and it is expected that there were originally more sheep spawned during world generation).
Notice how almost all of the locations appear to be mirrored across the x and z axes - they are in fact the exact same mineshafts, a bug which I first noticed many years ago (and have long since fixed in my own modded versions; the example shown is a particularly bad case but every seed is affected to some degree; interestingly, this seed, the seed for my first world, in affected far less severely in older versions):
The pink sheep bug I mentioned before is similar, except everything is the same within 32x32 chunk regions (source code from 1.12, the latest version I've been able to find source for online, probably because MCP hasn't updated since then):
this.distance = 32;
int k = chunkX / this.distance;
int l = chunkZ / this.distance;
Random random = this.world.setRandomSeed(k, l, 10387312);
public Random setRandomSeed(int p_72843_1_, int p_72843_2_, int p_72843_3_)
long i = (long)p_72843_1_ * 341873128712L + (long)p_72843_2_ * 132897987541L + this.getWorldInfo().getSeed() + (long)p_72843_3_;
public IEntityLivingData onInitialSpawn(DifficultyInstance difficulty, @Nullable IEntityLivingData livingdata)
livingdata = super.onInitialSpawn(difficulty, livingdata);
First, MapGenVillage calls "world.setRandomSeed" with chunk coordinates that are divided by 32, making them the same across 32x32 chunk regions (due to integer division; 0-31 / 32 = 0, 32-63 / 32 = 2, etc), which directly sets the state of "world.rand", which is in turn used by EntitySheep when setting a "random" (or not so random in this case) wool color.
Even if this were not an issue the mineshaft map and the links I provided shows that there are serious flaws in how the game calculates a "chunk seed" for every chunk during world generation, causing a high degree of correlation between nearby chunks, chunks with similar coordinates, or in various other patterns (as mentioned before, the OP's screenshot shows more than 4 sheep so several packs have likely mixed together, they do spawn in packs of 4 but will not remain together as soon as they start wandering around, unless they are babies).