-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
135 lines (107 loc) · 5.42 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
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
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<title>Minecraft Asset Extractor</title>
<meta charset="utf-8" />
<meta name="description" content="A web app that aims to simplify the process of extracting Minecraft's built-in game assets, including things like textures, sounds, models, JSON data, and more. This app works entirely through your browser." />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#9E512F">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#FFCA95">
<link rel="icon" type="image/png" sizes="48x48" href="icon48x.png">
<link rel="icon" type="image/png" sizes="72x72" href="icon72x.png">
<link rel="icon" type="image/png" sizes="96x96" href="icon96x.png">
<link rel="icon" type="image/png" sizes="144x144" href="icon144x.png">
<link rel="icon" type="image/png" sizes="168x168" href="icon168x.png">
<link rel="icon" type="image/png" sizes="192x192" href="icon192x.png">
<link rel="icon" type="image/png" sizes="256x256" href="icon256x.png">
<link rel="icon" type="image/png" sizes="512x512" href="icon512x.png">
<!-- Open Graph meta tags -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Minecraft Asset Extractor" />
<meta property="og:site_name" content="Minecraft Asset Extractor" />
<meta property="og:url" content="https://jackdotjs.github.io/minecraft-asset-extractor/" />
<meta property="og:description" content="A web app that aims to simplify the process of extracting Minecraft's built-in game assets, including things like textures, sounds, models, JSON data, and more. This app works entirely through your browser." />
<meta property="og:image" content="https://jackdotjs.github.io/minecraft-asset-extractor/icon512x.png" />
<!-- Twitter meta tags -->
<meta name="twitter:title" content="Minecraft Asset Extractor">
<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="https://jackdotjs.github.io/minecraft-asset-extractor/" />
<meta name="twitter:description" content="A web app that aims to simplify the process of extracting Minecraft's built-in game assets, including things like textures, sounds, models, JSON data, and more. This app works entirely through your browser." />
<meta property="twitter:image" content="https://jackdotjs.github.io/minecraft-asset-extractor/icon512x.png" />
<!-- Opt out of FLoC or Topics API or whatever they want to call that -->
<meta http-equiv="Permissions-Policy" content="interest-cohort=()"/>
<!-- stylesheets -->
<link rel="stylesheet" href="assets/global.css" />
<!-- scripts -->
<script type="module" src="src/index.ts"></script>
</head>
<body>
<main>
<noscript>
<h1>This app requires JavaScript to work. Please enable it in your browser settings.</h1>
</noscript>
<header>
<div id="app-title">
<img src="assets/icon256x.png">
<h1>Minecraft Asset Extractor</h1>
</div>
<h3 class="notice-banner yellow">This app is very, very, VERY work in progress. Almost nothing works yet. You have been warned!!!</h3>
</header>
<section id="extractor-options">
<div>
<h3>Select input source:</h3>
<div id="source-selector" class="optbox">
<input type="radio" id="tab-local" name="tab" autocomplete="off" checked>
<input type="radio" id="tab-mojang" name="tab" autocomplete="off">
<div id="tabs">
<label for="tab-local">Local Files</label>
<label for="tab-mojang">Mojang API</label>
</div>
<div id="source-local">
<div id="filezone">
<p> Drag and drop your .minecraft folder here. <br/> Or click browse: </p>
<input type="file" id="mcfolder" webkitdirectory/>
</div>
</div>
<div id="source-mojang"></div>
</div>
</div>
<div id="version-selector">
<h3>Select Minecraft version:</h3>
<div id="version-search-wrapper" class="optbox">
<span>🔍</span>
<input type="search" id="version-search" placeholder="Search..." autocomplete="off">
</div>
<ul id="version-list" class="optbox" tabindex="-1">
<li tabindex="0">1.19.2</li>
<li tabindex="0">1.19.1</li>
<li tabindex="0">1.19</li>
<li tabindex="0">1.blah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
<li tabindex="0">blahblah</li>
</ul>
</div>
</section>
<button id="extract" type="button" disabled>Extract</button>
<pre id="output-wrapper"><textarea id="output" class="optbox" readonly wrap="off"></textarea></pre>
</main>
</body>
</html>