Some Stronghold Statistics

i made a stronghold generator a couple months ago and generated these stats:

Task completed in 2337.392 seconds

===== Stronghold Analysis Report =====
Total strongholds generated: 50000000
Average rooms per stronghold: 153.42929396
Strongholds with portal room: 50000000 (100.0%)
Average portal room depth: 7.57167454

Room type distribution:
  - STARTER_STAIRS: 50000000
  - FIVE_WAY_CROSSING: 241044907
  - ROOM_CROSSING: 286754696
  - STRAIGHT: -2120022247
  - THE_LIBRARY: 97873197
  - STRAIGHT_STAIRS: 241033444
  - CHEST_CORRIDOR: 193329370
  - DEAD_CORRIDOR: 739454166
  - PRISON_CELL: 239887877
  - RIGHT_TURN: 1523135118
  - PORTAL_ROOM: 50000000
  - LEFT_TURN: 1593715648
  - SPIRAL_STAIRS: 240291226

Portal Room Depth Distribution (Total: 50000000):
  6 | ************************************************** 37.8627% (18931345)
  7 | ******************************** 24.3000% (12150016)
  8 | ******************* 15.0540% (7527023)
  9 | ************ 9.1374% (4568723)
 10 | ******* 5.4756% (2737777)
 11 | **** 3.2621% (1631049)
 12 | ** 1.9451% (972537)
 13 | * 1.1631% (581572)
 14 |  0.6966% (348315)
 15 |  0.4222% (211119)
 16 |  0.2587% (129354)
 17 |  0.1577% (78839)
 18 |  0.0989% (49425)
 19 |  0.0611% (30543)
 20 |  0.0383% (19154)
 21 |  0.0243% (12157)
 22 |  0.0156% (7807)
 23 |  0.0097% (4846)
 24 |  0.0062% (3085)
 25 |  0.0039% (1930)
 26 |  0.0025% (1272)
 27 |  0.0016% (809)
 28 |  0.0009% (470)
 29 |  0.0006% (304)
 30 |  0.0004% (187)
 31 |  0.0003% (132)
 32 |  0.0001% (74)
 33 |  0.0001% (59)
 34 |  0.0000% (23)
 35 |  0.0000% (19)
 36 |  0.0000% (8)
 37 |  0.0000% (5)
 38 |  0.0000% (8)
 39 |  0.0000% (5)
 40 |  0.0000% (4)
 41 |  0.0000% (2)
 42 |  0.0000% (1)
 43 |  0.0000% (2)
 44 |  0.0000% (0)
 45 |  0.0000% (0)
 46 |  0.0000% (0)
 47 |  0.0000% (0)
 48 |  0.0000% (0)
 49 |  0.0000% (0)
 50 |  0.0000% (0)

Total Rooms per Stronghold Distribution (Total: 50000000):
5-9     | ** 0.3108% (155423)
10-14   | ******* 0.8016% (400823)
15-19   | ********* 0.9687% (484343)
20-24   | ******** 0.8775% (438738)
25-29   | ****** 0.6546% (327282)
30-34   | **** 0.4293% (214669)
35-39   | ** 0.2662% (133117)
40-44   | * 0.1597% (79867)
45-49   |  0.0947% (47325)
50-54   |  0.0564% (28199)
55-59   |  0.0352% (17593)
60-64   |  0.0226% (11321)
65-69   |  0.0199% (9945)
70-74   |  0.0342% (17078)
75-79   |  0.0889% (44437)
80-84   | ** 0.2231% (111573)
85-89   | **** 0.4753% (237630)
90-94   | ******** 0.8800% (440021)
95-99   | ************* 1.4324% (716223)
100-104 | ******************** 2.0946% (1047314)
105-109 | ************************** 2.8094% (1404694)
110-114 | ********************************* 3.5004% (1750194)
115-119 | *************************************** 4.1240% (2062012)
120-124 | ******************************************** 4.6072% (2303586)
125-129 | *********************************************** 4.9603% (2480134)
130-134 | ************************************************* 5.1518% (2575915)
135-139 | ************************************************** 5.2152% (2607603)
140-144 | ************************************************* 5.1591% (2579553)
145-149 | *********************************************** 5.0021% (2501064)
150-154 | ********************************************* 4.7787% (2389328)
155-159 | ******************************************* 4.4984% (2249208)
160-164 | **************************************** 4.1931% (2096566)
165-169 | ************************************* 3.8669% (1933425)
170-174 | ********************************* 3.5359% (1767950)
175-179 | ****************************** 3.2221% (1611070)
180-184 | *************************** 2.9049% (1452458)
185-189 | ************************* 2.6108% (1305375)
190-194 | ********************** 2.3364% (1168213)
195-199 | ******************** 2.0870% (1043499)
200-204 | ***************** 1.8540% (926984)
205-209 | *************** 1.6470% (823495)
210-214 | ************* 1.4539% (726960)
215-219 | ************ 1.2837% (641850)
220-224 | ********** 1.1350% (567487)
225-229 | ********* 0.9975% (498764)
230-234 | ******** 0.8762% (438095)
235-239 | ******* 0.7679% (383929)
240-244 | ****** 0.6782% (339099)
245-249 | ***** 0.5965% (298255)
250-254 | ***** 0.5224% (261191)
255-259 | **** 0.4583% (229136)
260-264 | *** 0.4005% (200227)
265-269 | *** 0.3519% (175954)
270-274 | ** 0.3088% (154406)
275-279 | ** 0.2692% (134576)
280-284 | ** 0.2360% (118020)
285-289 | * 0.2071% (103546)
290-294 | * 0.1814% (90722)
295-299 | * 0.1587% (79361)
300-304 | * 0.1391% (69556)
305-309 | * 0.1213% (60628)
310-314 | * 0.1073% (53668)
315-319 |  0.0940% (46982)
320-324 |  0.0822% (41084)
325-329 |  0.0718% (35914)
330-334 |  0.0629% (31456)
335-339 |  0.0556% (27823)
340-344 |  0.0487% (24343)
345-349 |  0.0424% (21205)
350-354 |  0.0374% (18717)
355-359 |  0.0328% (16391)
360-364 |  0.0289% (14448)
365-369 |  0.0249% (12436)
370-374 |  0.0219% (10967)
375-379 |  0.0194% (9713)
380-384 |  0.0169% (8444)
385-389 |  0.0149% (7471)
390-394 |  0.0129% (6441)
395-399 |  0.0113% (5659)
400-404 |  0.0100% (4991)
405-409 |  0.0088% (4417)
410-414 |  0.0075% (3728)
415-419 |  0.0069% (3443)
420-424 |  0.0060% (2983)
425-429 |  0.0051% (2547)
430-434 |  0.0044% (2224)
435-439 |  0.0039% (1932)
440-444 |  0.0034% (1700)
445-449 |  0.0031% (1572)
450-454 |  0.0026% (1298)
455-459 |  0.0023% (1130)
460-464 |  0.0019% (953)
465-469 |  0.0017% (855)
470-474 |  0.0016% (781)
475-479 |  0.0014% (678)
480-484 |  0.0012% (580)
485-489 |  0.0010% (506)
490-494 |  0.0009% (426)
495-499 |  0.0008% (407)
500-504 |  0.0007% (350)
505-509 |  0.0007% (326)
510-514 |  0.0005% (267)
515-519 |  0.0005% (239)
520-524 |  0.0004% (182)
525-529 |  0.0003% (153)
530-534 |  0.0003% (140)
535-539 |  0.0003% (130)
540-544 |  0.0002% (98)
545-549 |  0.0002% (106)
550-554 |  0.0002% (86)
555-559 |  0.0001% (70)
560-564 |  0.0002% (81)
565-569 |  0.0001% (57)
570-574 |  0.0001% (57)
575-579 |  0.0001% (48)
580-584 |  0.0001% (38)
585-589 |  0.0001% (29)
590-594 |  0.0001% (31)
595-599 |  0.0001% (32)
600-604 |  0.0000% (24)
605-609 |  0.0000% (15)
610-614 |  0.0000% (13)
615-619 |  0.0000% (9)
620-624 |  0.0000% (15)
625-629 |  0.0000% (9)
630-634 |  0.0000% (13)
635-639 |  0.0000% (10)
640-644 |  0.0000% (7)
645-649 |  0.0000% (8)
650-654 |  0.0000% (3)
655-659 |  0.0000% (5)
660-664 |  0.0000% (6)
665-669 |  0.0000% (3)
670-674 |  0.0000% (2)
675-679 |  0.0000% (4)
680-684 |  0.0000% (1)
685-689 |  0.0000% (1)
690-694 |  0.0000% (1)
700-704 |  0.0000% (1)
720-724 |  0.0000% (2)
725-729 |  0.0000% (1)
735-739 |  0.0000% (1)
740-744 |  0.0000% (1)
750-754 |  0.0000% (1)
775-779 |  0.0000% (1)
800-804 |  0.0000% (1)

couple room names are different from minecraft code; straight rooms count overflowed; histogram code was ai generated so it works poorly.

i originally made the stats part to compare with an image of portal room distribution i found in javacord(which i later found it is originally posted by LSD Gaga) to check if there is any bug, spent many painful hours to debug only to find that the image was only based on a sample size of 10000(i also suspect that is the exact reason the image cuts off at pr depth 16).

3 Likes