-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (53 loc) · 1.84 KB
/
index.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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>extract-world-command</title>
<link href="css/index.css" rel="stylesheet" />
<link href="node_modules/sortable-tablesort/sortable.min.css" rel="stylesheet" />
<script src="node_modules/sortable-tablesort/sortable.min.js"></script>
</head>
<body>
<h1>export-world-command</h1>
<div>
マイクラのワールドファイル mca ファイルから、コマンドブロックと看板の中のコマンドを抽出するツール<br>
<br>
サンプルデータがあるバージョンの動作を確認しています
</div>
<br>
<h3>使い方</h3>
<div>
ファイル選択ボタンからワールドフォルダ、regionフォルダ内の r.x.x.mca ファイルを選択してください<br>
複数選択も可能です
</div>
<br>
<details>
<summary>サンプルデータ</summary>
ボタンを押すと各バージョンのサンプルデータを試すことができます
<div id="sampleContainer"></div>
</details>
<br>
<br>
<div id="dropArea">
<p>ドラッグ&ドロップ</p>
<input type="file" id="file" name="file" multiple accept=".mca" style="display: none" >
<button id="fileButton" type="button">ファイルを選択</button>
</div>
<br>
<h3>出力</h3>
<table class="sortable">
<thead>
<tr>
<th>ブロック</th>
<th>X</th>
<th>Y</th>
<th>Z</th>
<th>コマンド</th>
</tr>
</thead>
<tbody id="resultTable"></tbody>
</table>
<script src="dist/bundle.js" defer type="module"></script>
</body>
</html>