-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdrowned.html
130 lines (130 loc) · 6.25 KB
/
drowned.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Drowned AFK Spot Finder</title>
<link rel="stylesheet" href="style/[email protected]">
<link rel="stylesheet" href="style/[email protected]">
</head>
<body>
<section class="main">
<h1>Drowned AFK Spot</h1>
<div>
<div class="step" data-step="1">
<div class="nes-balloon from-left">
<p>Let's find the spot in your world with the most river biome blocks nearby.</p>
<p>This is the best spot for a giant drowned/trident farm.</p>
<p>Enter your world seed. This is used to calculate the biome noise.</p>
</div>
<div class="nes-balloon from-right">
<form id="seed-form">
<div class="nes-field">
<label for="seed">My seed is</label>
<input type="text" id="seed" name="seed" class="nes-input" required placeholder="-123456789">
</div>
<button class="nes-btn is-primary" type="submit">Enter</button>
</form>
</div>
</div>
<div class="step hidden" data-step="2">
<div class="nes-balloon from-left">
<p>Load all .mca files in your world's region folder.</p>
<p>These have the 3D biome data which we will use to find rivers.</p>
<p><small>Your files are never uploaded — everything is processed in your browser.</small></p>
</div>
<div class="nes-balloon from-right">
<form id="region-files-form">
<label id="region-files-container" class="nes-btn file-select" data-warning="file-select-warning">
<span>Select files</span>
<input id="region-files" type="file" multiple required>
</label>
<p id="file-select-warning" class="hidden">
<small>It may take a moment for a large number of files to load...</small>
</p>
<button class="nes-btn is-primary" type="submit">Enter</button>
</form>
<label>
<input type="checkbox" class="nes-checkbox hiding-checkbox" data-for="advanced-controls" checked />
<span>Advanced</span>
</label>
<div id="advanced-controls" class="hidden nes-container">
<div class="nes-container with-title with-margin">
<p class="title">Within radius</p>
<div class="nes-field is-inline">
<label for="search-radius">r</label>
<input type="text" id="search-radius" class="nes-input" placeholder="Infinity">
</div>
<div class="nes-field is-inline">
<label for="search-center-x">x</label>
<input type="text" id="search-center-x" class="nes-input" placeholder="0">
</div>
<div class="nes-field is-inline">
<label for="search-center-x">z</label>
<input type="text" id="search-center-z" class="nes-input" placeholder="0">
</div>
</div>
<div class="nes-container with-title with-margin">
<p class="title">Navigate</p>
<div class="nes-field is-inline">
<label for="navigate-to-x">x</label>
<input type="text" id="navigate-to-x" class="nes-input" placeholder="0">
</div>
<div class="nes-field is-inline with-margin">
<label for="navigate-to-z">z</label>
<input type="text" id="navigate-to-z" class="nes-input" placeholder="0">
</div>
<p><small>Scroll to the specified coordinates</small></p>
<button class="nes-btn is-success">Go</button>
</div>
<div class="nes-container">
<button id="cancel-button" class="nes-btn is-error">Start search now</button>
<p><small>Stop loading region files and start searching in the currently loaded area.</small></p>
</div>
</div>
</div>
</div>
<div class="step hidden" data-step="3">
<div class="nes-balloon from-left">
<div id="message" class="pre-wrap"></div>
<div id="hover" class="pre-wrap"></div>
<canvas id="map" class="with-margin" width="512" height="512"></canvas>
<div class="nes-container with-title">
<p class="title">Key</p>
<p>Processed from y:-64 to 64</p>
<ul>
<li><span style="color:blue">blue</span> - all river biome</li>
<li><span style="color:red">red</span> - some cave biome</li>
<li><span style="color:#009">dark blue</span> - some river biome, no cave</li>
<li><span style="color:green">green</span> - other</li>
</ul>
</div>
</div>
</div>
<div class="step hidden" data-step="4">
<div class="nes-balloon from-left" style="width:100%">
<p>Processing finished. There are xxx river biome columns around x:xxx z:xxx.</p>
<button class="nes-btn">Save schematic</button>
</div>
</div>
</div>
</section>
<footer>
<div class="nes-container with-title">
<p class="title">Other tools</p>
<p>
<a href="index.html">geode</a>
— <a href="afk.html">afk</a>
— <a href="drowned.html">drowned</a>
</p>
</div>
</footer>
<script type="application/russellsprouts-worker"
data-name="general"
<script type="text/javascript" src="third_party/three.js/[email protected]"></script>
<script type="text/javascript" src="third_party/pako/[email protected]"></script>
<script type="text/javascript" src="out/[email protected]"></script>
<script type="text/javascript" src="out/[email protected]"></script>
<script type="text/javascript" src="out/[email protected]"></script>
</body>
</html>