Skip to content

Commit

Permalink
Add MCRA data for 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Meeples10 committed Oct 6, 2023
1 parent 782ec3c commit 03c668e
Show file tree
Hide file tree
Showing 13 changed files with 1,994 additions and 2 deletions.
665 changes: 665 additions & 0 deletions resource-distribution/1.20.2/data.js

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions resource-distribution/1.20.2/end.csv

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions resource-distribution/1.20.2/end.html

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions resource-distribution/1.20.2/graphs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<title>Minecraft 1.20.2 Resource Distributon | meeples10.github.io</title>
<link rel="stylesheet" type="text/css" href="../../style.css" />
<meta charset="UTF-8">
</head>
<body>
<header>
<h2>Minecraft 1.20.2 resource distribution by altitude</h2>
</header>
<main>
<h2 id="overworld">Overworld</h2>
<canvas data-set="overworld" class="graph" width="1200" height="800"></canvas>
<button class="collapsible">Overworld Blocks</button>
<div class="collapsible-content graph-toggles" id="overworld-toggles"></div>
<br>
<h2 id="nether">Nether</h2>
<canvas data-set="nether" class="graph" width="1200" height="800"></canvas>
<button class="collapsible">Nether Blocks</button>
<div class="collapsible-content graph-toggles" id="nether-toggles"></div>
<br>
<h2 id="end">End</h2>
<canvas data-set="end" class="graph" width="1200" height="800"></canvas>
<button class="collapsible">End Blocks</button>
<div class="collapsible-content graph-toggles" id="end-toggles"></div>
<br>
<h2 id="stone">Stone</h2>
<canvas data-set="stone" class="graph" width="1200" height="800"></canvas>
<button class="collapsible">Stone Blocks</button>
<div class="collapsible-content graph-toggles" id="stone-toggles"></div>
</div>
<script src="../colors.js"></script>
<script src="data.js"></script>
<script src="../graph.js"></script>
</body>
</html>
64 changes: 64 additions & 0 deletions resource-distribution/1.20.2/nether.csv

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions resource-distribution/1.20.2/nether.html

Large diffs are not rendered by default.

453 changes: 453 additions & 0 deletions resource-distribution/1.20.2/overworld.csv

Large diffs are not rendered by default.

474 changes: 474 additions & 0 deletions resource-distribution/1.20.2/overworld.html

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions resource-distribution/1.20.2/stone.csv

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions resource-distribution/1.20.2/stone.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resource-distribution/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const colors = {
"minecraft:chorus_flower":"977897",
"minecraft:chorus_plant":"5D395D",
"minecraft:clay":"A0A6B3",
"minecraft:coal_block":"000000",
"minecraft:coal_ore":"100F0F",
"minecraft:coarse_dirt":"77553B",
"minecraft:cobbled_deepslate":"4A4A4F",
Expand Down
43 changes: 41 additions & 2 deletions resource-distribution/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,53 @@ <h2 id="header-text">Minecraft resource distribution by altitude</h2>
</header>
<main>
<p id="about">The program used to retrieve this data can be found <a href="https://github.com/Meeples10/MCResourceAnalyzer">here</a>. Precompiled JARs can be downloaded from the <a href="https://github.com/Meeples10/MCResourceAnalyzer/releases">Releases page</a>.</p>
<p>For versions 1.16 to 1.20.1, <a href="../world-pregenerator">this datapack</a> was used to generate large numbers of chunks for analysis.</p>
<p>For versions 1.16 to 1.20.2, <a href="../world-pregenerator">this datapack</a> was used to generate large numbers of chunks for analysis.</p>
<p>Unless otherwise specified, chunks for every version from Beta 1.3 onward were generated using the seed <code>gargamel</code>.</p>
<p>All values within the raw data have been rounded to have no more than 10 digits after the decimal.</p>
<p>All values within the raw data have been rounded to have no more than 10 digits after the decimal point.</p>
<p>Note that due to the way Minecraft stores chunks, counts for air may be inaccurate at high altitudes.</p>
<p>This project was inspired by a <a href="https://minecraft.fandom.com/wiki/File:Block_layers_overworld_1.5.svg">graph</a> created by <a href="https://minecraft.fandom.com/wiki/User:Orthotope">Orthotope</a> in 2013 and a tool created by &ldquo;TR&rdquo; of <a href="https://web.archive.org/web/20200620084759/http://www.digital-trauma.de/mc.html">Digital-Trauma.de</a> in 2012.</p>
<p>If you have any questions, you can <a href="mailto:[email protected]">contact me directly</a> or <a href="https://github.com/Meeples10/MCResourceAnalyzer/issues">create a GitHub issue</a>.</p>
<br>

<h2 style="font-weight: normal" id="1.20.2">Minecraft 1.20.2</h2>
<div class="card">
<p class="card-header">Overworld</p>
<div class="card-content">
<p><a href="1.20.2/graphs#overworld">Graph</a> &middot; <a href="1.20.2/overworld.csv">CSV</a> &middot; <a href="1.20.2/overworld.html">Table</a></p>
<p>Chunks analyzed: 5,846,942</p>
<p>Total blocks: 84,319,051,776</p>
<p>Unique blocks: 452</p>
</div>
</div>
<div class="card">
<p class="card-header">Nether</p>
<div class="card-content">
<p><a href="1.20.2/graphs#nether">Graph</a> &middot; <a href="1.20.2/nether.csv">CSV</a> &middot; <a href="1.20.2/nether.html">Table</a></p>
<p>Chunks analyzed: 5,815,463</p>
<p>Total blocks: 80,603,480,064</p>
<p>Unique blocks: 63</p>
</div>
</div>
<div class="card">
<p class="card-header">End</p>
<div class="card-content">
<p><a href="1.20.2/graphs#end">Graph</a> &middot; <a href="1.20.2/end.csv">CSV</a> &middot; <a href="1.20.2/end.html">Table</a></p>
<p>Chunks analyzed: 3,984,866</p>
<p>Total blocks: 29,070,159,872</p>
<p>Unique blocks: 23</p>
</div>
</div>
<div class="card">
<p class="card-header">Stone*</p>
<div class="card-content">
<p><a href="1.20.2/graphs#stone">Graph</a> &middot; <a href="1.20.2/stone.csv">CSV</a> &middot; <a href="1.20.2/stone.html">Table</a></p>
<p>Chunks analyzed: 2,225,193</p>
<p>Total blocks: 39</p>
<p>Unique blocks: 60,978,843,648</p>
</div>
</div>
<p class="small">* This is a superflat world with the preset <code>384*minecraft:stone;minecraft:windswept_hills</code></p>

<h2 style="font-weight: normal" id="1.20.1">Minecraft 1.20.1</h2>
<div class="card">
<p class="card-header">Overworld</p>
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ code {
text-align: center;
}

.small {
font-size: 75%;
}

a {
color: #B2D3BE;
text-decoration: none;
Expand Down

0 comments on commit 03c668e

Please sign in to comment.