-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
547 lines (503 loc) · 27.9 KB
/
Copy pathindex.html
File metadata and controls
547 lines (503 loc) · 27.9 KB
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StrudelBlock IDE</title>
<link rel="icon" type="image/png" href="icon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/devicon/2.16.0/devicon.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body class="theme-green">
<!-- Top Bar -->
<div class="top-bar">
<div class="logo"><img src="icon.png" alt="" class="logo-icon" onerror="this.remove(); document.getElementById('logoFallback').style.display='inline';"><span class="bolt" id="logoFallback" style="display:none;">⚡</span>StrudelBlock<span class="sub">IDE</span></div>
<button class="tb-btn" id="btnOpenStart" title="Start-Seite / Projektübersicht"><span class="ico">🏠</span><span data-i18n="startPage">Start</span></button>
<div class="divider-v"></div>
<button class="tb-btn" id="btnTemplates" title="Fertige Startvorlagen" style="display:none"><span class="ico">✨</span><span data-i18n="templates">Vorlagen</span></button>
<button class="tb-btn" id="btnTextures" title="Texturen erzeugen und verwalten" style="display:none"><span class="ico">🎨</span><span data-i18n="textures">Texturen</span></button>
<button class="tb-btn" id="btnSave" title="Projekt als JSON speichern"><span class="ico">💾</span><span data-i18n="save">Speichern</span></button>
<button class="tb-btn" id="btnOpen" title="Projekt-JSON öffnen"><span class="ico">📂</span><span data-i18n="open">Öffnen</span></button>
<input type="file" id="fileInput" accept="application/json" style="display:none">
<button class="tb-btn" id="btnDownloadZip" title="Projekt als .zip herunterladen"><span class="ico">🗜️</span><span data-i18n="downloadZip">Als ZIP</span></button>
<button class="tb-btn build" id="btnBuildJar" title="Plugin auf dem Server zu einer .jar bauen" style="display:none"><span class="ico">🔨</span><span data-i18n="buildJar">Bauen</span></button>
<div class="divider-v"></div>
<button class="tb-btn primary" id="btnAddons" title="Pakete verwalten"><span class="ico">⚙️</span><span data-i18n="addons">Add-ons</span></button>
<div class="spacer"></div> <select class="tb-select" id="languageSelect" title="Vorlage / Projekt-Typ wählen">
<option value="js" disabled selected hidden data-i18n="selectTemplate">Vorlage auswählen</option>
<optgroup label="Minecraft-Server">
<option value="minecraft">🔌 Spigot-Plugin (Java)</option>
</optgroup>
<optgroup label="Minecraft-Mod">
<option value="fabric">🧩 Mod · Fabric</option>
</optgroup>
</select>
<div class="top-accent accent-switch" title="Themen / Akzentfarbe">
<div class="accent-dot green" id="accentGreenTop" role="button" tabindex="0" aria-label="Akzent gr\u00fcn"></div>
<div class="accent-dot purple" id="accentPurpleTop" role="button" tabindex="0" aria-label="Akzent violett"></div>
<label class="accent-dot custom" id="accentCustomLabelTop" title="Eigene Farbe w\u00e4hlen">
<input type="color" id="accentCustomTop" value="#00ffa8">
</label>
</div>
<div class="divider-v"></div>
<button class="profile-chip" id="profileChip" title="Dein Profil">
<span class="profile-avatar">🧱</span><span class="profile-name">…</span>
</button>
</div>
<!-- Main Layout -->
<div class="main-container">
<!-- Icon rail -->
<div class="icon-rail">
<button class="icon-btn active" data-panel="explorer" title="Projekt-Explorer">📁</button>
<button class="icon-btn" data-panel="addons" title="Add-ons / Paket-Manager">📦</button>
<button class="icon-btn" data-panel="settings" title="Einstellungen">⚙️</button>
</div>
<!-- Sidebar -->
<div class="sidebar" id="sidebar">
<div class="sidebar-panel active" id="panel-explorer">
<div class="sidebar-head">
<span data-i18n="explorer">Explorer</span>
</div>
<div class="explorer-section-head" id="explorerSectionHead" title="Arbeitsbereich">
<button class="explorer-section-caret" id="explorerSectionCaret" aria-label="Sektion einklappen"><svg viewBox="0 0 24 24"><polyline points="6 9 12 15 18 9"></polyline></svg></button>
<span class="explorer-section-title" id="explorerProjectName">StrudelBlock IDE</span>
<span class="explorer-section-actions">
<button class="mini-btn" id="btnNewFile" title="Neue Datei" aria-label="Neue Datei">+</button>
<button class="mini-btn" id="btnNewFolder" title="Neuer Ordner" aria-label="Neuer Ordner"><svg viewBox="0 0 24 24" class="mini-icon"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"/></svg></button>
<button class="mini-btn btn-overlay" id="btnUploadImage" title="Bild hochladen (für Banner/Bild-Blöcke)" aria-label="Bild hochladen">
<svg viewBox="0 0 24 24" class="mini-icon"><rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="9" cy="10" r="1.6"/><path d="m3 17 5-4 4 4 3-2 6 5"/></svg>
<span class="plus-badge" aria-hidden="true">+</span>
</button>
<input type="file" id="imageUploadInput" accept="image/png,image/jpeg,image/gif,image/svg+xml,image/webp" style="display:none">
</span>
</div>
<ul class="file-tree" id="fileTree"></ul>
</div>
<div class="sidebar-panel" id="panel-addons">
<div class="sidebar-head">
<span data-i18n="installedPkgs">Installierte Pakete</span>
<button class="mini-btn" id="btnOpenAddonsFromSidebar" title="Paket hinzufügen">+</button>
</div>
<div class="pkg-list" id="installedPkgList"></div>
</div>
<div class="sidebar-panel" id="panel-settings">
<div class="sidebar-head"><span data-i18n="settings">Einstellungen</span></div>
<div class="settings-row">
<span data-i18n="autosave">Auto-Save</span>
<div class="toggle on" id="toggleAutosave"><div class="knob"></div></div>
</div>
<div class="settings-row">
<span data-i18n="liveCodePanel">Live-Code-Panel</span>
<div class="toggle on" id="toggleCodePanel"><div class="knob"></div></div>
</div>
<div class="settings-row">
<span data-i18n="gridSpacing">Rasterabstand</span>
<input type="range" id="gridSpacing" min="10" max="40" value="20">
</div>
</div>
</div>
<div class="resize-h" id="resizeSidebar" title="Sidebar-Breite ziehen"></div>
<!-- Workspace -->
<div class="workspace-area">
<div id="blocklyDiv"></div>
<div class="block-zoom-ctrl" title="Block-Größe">
<button id="btnBlockZoomOut">−</button>
<span class="block-zoom-label" id="blockZoomLabel">65%</span>
<button id="btnBlockZoomIn">+</button>
</div>
<div class="resize-h" id="resizeCodePanel" title="Code-Panel-Breite ziehen"></div>
<div class="code-panel" id="codePanel">
<div class="code-panel-head">
<span class="live-dot"></span>
<span id="codePanelLabel">Live-Code · JavaScript</span>
<span class="spacer"></span>
<button id="btnCollapseCode" class="arrow-btn" title="Einklappen"><svg viewBox="0 0 24 24"><polyline points="9 6 15 12 9 18"></polyline></svg></button>
<span id="codePanelVerticalLabel" class="vertical-label" data-i18n="liveCode">Live-Code</span>
</div>
<div class="code-file-info" id="codeFileInfo" style="display:none">
<span id="codeFileWhy"></span>
<button id="btnBackToCode" data-i18n="backToCode">← Code</button>
</div>
<pre><code id="codeOutput" class="language-javascript">// Verschiebe Blöcke, um Code zu erzeugen …</code></pre>
<div class="code-image-view" id="codeImageView" style="display:none"><img id="codeImage" alt=""></div>
<textarea id="codeEditor" style="display:none" spellcheck="false"></textarea>
<div class="code-panel-actions">
<button id="btnEditCode"><span data-i18n="editCode">✎ Bearbeiten</span></button>
</div>
</div>
</div>
</div>
<div class="resize-v" id="resizeConsole" title="Konsolen-Höhe ziehen"></div>
<!-- Console -->
<div class="console-panel" id="consolePanel">
<div class="console-head">
<span data-i18n="console">▸ Konsole</span>
<span class="spacer"></span>
<button id="btnRun" title="Code in Sandbox ausführen"><span data-i18n="run">▶ Ausführen</span></button>
<button id="btnClearConsole" data-i18n="clear">Leeren</button>
<button id="btnToggleConsole" class="arrow-btn" title="Ein-/Ausklappen"><svg viewBox="0 0 24 24"><polyline points="6 9 12 15 18 9"></polyline></svg></button>
</div>
<div class="console-body" id="consoleBody"></div>
</div>
<!-- Add-ons Modal -->
<div class="modal-overlay" id="addonsModalOverlay">
<div class="modal">
<div class="modal-head">
<h2 data-i18n="addonsModalTitle">📦 Add-ons / Pakete</h2>
<button id="btnCloseAddons">✕</button>
</div>
<div class="modal-sub" id="addonsModalSub">Pakete für JavaScript · Node.js</div>
<div class="modal-search">
<input type="text" id="pkgSearch" placeholder="Paket suchen …">
</div>
<div class="modal-list" id="pkgCatalogList"></div>
</div>
</div>
<!-- Live-Vorschau Modal (HTML/CSS) -->
<div class="modal-overlay" id="previewModalOverlay">
<div class="preview-modal">
<div class="modal-head">
<h2 data-i18n="previewTitle">🖥 Live-Vorschau</h2>
<button id="btnClosePreview">✕</button>
</div>
<iframe id="previewFrame" title="Live-Vorschau"></iframe>
</div>
</div>
<!-- Rohcode-Editor Modal -->
<div class="modal-overlay" id="rawCodeModalOverlay">
<div class="rawcode-modal">
<div class="modal-head">
<h2 data-i18n="rawModalTitle">🧩 Rohcode-Block</h2>
<button id="btnCloseRawCodeModal">✕</button>
</div>
<div class="rawcode-body">
<div class="rawcode-field">
<label data-i18n="rawTitleLabel">Titel</label>
<input type="text" id="rawTitleInput">
</div>
<div class="rawcode-field">
<label data-i18n="rawDescLabel">Beschreibung (optional)</label>
<textarea id="rawDescInput" class="rawcode-desc"></textarea>
</div>
<div class="rawcode-field">
<label data-i18n="rawCodeLabel">Code</label>
<div class="rawcode-code-grid">
<textarea id="rawCodeInput" spellcheck="false"></textarea>
<pre class="rawcode-preview"><code id="rawCodeHighlight" class="language-javascript"></code></pre>
</div>
</div>
</div>
<div class="rawcode-actions">
<button id="btnCancelRawCode" data-i18n="cancel">Abbrechen</button>
<button class="primary" id="btnSaveRawCode" data-i18n="saveBlock">Übernehmen</button>
</div>
</div>
</div>
<!-- Start-Seite / Projektübersicht Modal -->
<div class="modal-overlay" id="startModalOverlay">
<div class="start-modal">
<div class="modal-head">
<h2 data-i18n="startPageTitle">🚀 Deine Projekte</h2>
<button id="btnCloseStart">✕</button>
</div>
<div class="start-body">
<div class="start-current-card">
<div class="start-current-info">
<div class="start-current-label" data-i18n="startCurrentProject">Aktuelles Projekt</div>
<div class="start-current-name" id="startCurrentName">–</div>
</div>
<button class="tb-btn primary" id="btnSaveToLibrary"><span class="ico">💾</span><span data-i18n="startSaveHere">Hier speichern</span></button>
</div>
<button class="start-new-project-btn" id="btnStartNewProject">
<span class="ico">➕</span><span data-i18n="startNewProject">Neues leeres Projekt</span>
</button>
<div class="project-grid" id="projectGrid"></div>
<div class="project-empty" id="projectEmpty" data-i18n="startNoProjects">Noch keine gespeicherten Projekte. Klicke bei "Aktuelles Projekt" auf "Hier speichern", um eines anzulegen.</div>
</div>
</div>
</div>
<!-- Texturen Modal -->
<div class="modal-overlay" id="texturesModalOverlay">
<div class="textures-modal">
<div class="modal-head">
<h2 data-i18n="texturesTitle">🎨 Texturen</h2>
<button id="btnCloseTextures">✕</button>
</div>
<div class="textures-body">
<div class="tex-note" id="texServiceNote" style="display:none"></div>
<div class="tex-form">
<div class="tex-field">
<label for="texType" data-i18n="texTypeLabel">Art</label>
<select id="texType"></select>
</div>
<div class="tex-field tex-field-wide">
<label for="texName" data-i18n="texNameLabel">Beschreibung</label>
<input type="text" id="texName" placeholder="z. B. moosiger Kristall">
</div>
<div class="tex-field">
<label for="texMood" data-i18n="texMoodLabel">Stimmung</label>
<select id="texMood"></select>
</div>
<div class="tex-field">
<label for="texPattern" data-i18n="texPatternLabel">Muster</label>
<select id="texPattern"></select>
</div>
<div class="tex-field">
<label for="texEffect" data-i18n="texEffectLabel">Effekt</label>
<select id="texEffect"></select>
</div>
</div>
<div class="tex-gen-row">
<button class="primary" id="btnGenerateTexture" data-i18n="texGenerate">✨ Erzeugen</button>
<img id="texPreview" class="tex-preview" alt="" style="display:none">
<button id="btnSaveTexture" disabled data-i18n="texSave">💾 Ins Projekt</button>
<span class="tex-status" id="texStatus"></span>
</div>
<div class="tex-lib-head" data-i18n="texLibrary">Texturen in diesem Projekt</div>
<div class="tex-grid" id="texGrid"></div>
<div class="tex-empty" id="texEmpty" data-i18n="texEmptyHint">Noch keine Texturen. Erzeuge eine und speichere sie ins Projekt — danach kannst du sie an einen Block haengen.</div>
</div>
</div>
</div>
<!-- Vorlagen Modal -->
<div class="modal-overlay" id="templatesModalOverlay">
<div class="templates-modal">
<div class="modal-head">
<h2 data-i18n="templatesTitle">✨ Startvorlagen</h2>
<button id="btnCloseTemplates">✕</button>
</div>
<div class="templates-body">
<p class="templates-hint" data-i18n="templatesHint">Eine Vorlage legt ein fertiges Projekt an — Blöcke, Paketname und die Einträge für die plugin.yml inklusive. Danach einfach umbauen und bauen.</p>
<div class="template-grid" id="templateGrid"></div>
<div class="project-empty" id="templateEmpty" data-i18n="tplNoneForLang" style="display:none">Für diese Sprache gibt es noch keine Vorlage.</div>
</div>
</div>
</div>
<!-- Profil Modal -->
<div class="modal-overlay" id="profileModalOverlay">
<div class="profile-modal">
<div class="modal-head">
<h2 data-i18n="profileTitle">👤 Dein Profil</h2>
<button id="btnCloseProfile">✕</button>
</div>
<div class="profile-body">
<div class="profile-field">
<label data-i18n="profileNameLabel">Name</label>
<input type="text" id="profileNameInput" maxlength="32">
</div>
<div class="profile-field">
<label data-i18n="profileAvatarLabel">Symbol</label>
<div class="profile-emoji-row" id="profileEmojiRow"></div>
</div>
<div class="profile-field">
<label data-i18n="profileColourLabel">Farbe</label>
<div class="profile-colour-row" id="profileColourRow"></div>
</div>
<div class="profile-field">
<label data-i18n="uiLangLabel">Oberflächen-Sprache</label>
<div class="lang-switch" title="UI-Sprache">
<button id="uiLangDe" class="active">DE</button>
<button id="uiLangEn">EN</button>
</div>
</div>
<div class="profile-field">
<label data-i18n="accentColourLabel">Akzentfarbe der Oberfläche</label>
<div class="accent-switch" title="Accent-Farbe">
<div class="accent-dot green active" id="accentGreen"></div>
<div class="accent-dot purple" id="accentPurple"></div>
<label class="accent-dot custom" id="accentCustomLabel" title="Eigene Farbe wählen">
<input type="color" id="accentCustom" value="#00ffa8">
</label>
</div>
</div>
<div class="profile-stats" id="profileStats"></div>
<p class="profile-hint" data-i18n="profileHint">Dein Profil liegt nur in diesem Browser — ganz ohne Anmeldung.</p>
</div>
<div class="profile-actions">
<button id="btnExportProfile" data-i18n="profileExport">⬇ Profil exportieren</button>
<button id="btnImportProfile" data-i18n="profileImport">⬆ Profil importieren</button>
<input type="file" id="profileImportInput" accept="application/json" style="display:none">
</div>
</div>
</div>
<!-- Projekt-Setup Modal (ersetzt das alte linke "Was baust du?"-Panel) -->
<div class="modal-overlay" id="projectSetupModal">
<div class="setup-modal modal">
<div class="modal-head">
<h2 id="setupModalTitle" data-i18n="setupTitle">Was baust du?</h2>
<button id="btnCloseSetupModal" title="Schließen">✕</button>
</div>
<div class="modal-body setup-body">
<p class="setup-modal-intro" id="setupModalIntro"></p>
<div id="projectSetupForm">
<div class="setup-field">
<label for="setupName" data-i18n="setupNameLabel">Name</label>
<input type="text" id="setupName" spellcheck="false">
</div>
<div class="setup-field" id="setupPackageRow">
<label for="setupPackage" data-i18n="setupPackageLabel">Java-Paket</label>
<input type="text" id="setupPackage" spellcheck="false">
</div>
<div class="setup-field" id="setupVersionRow">
<label for="setupMcVersion" data-i18n="setupVersionLabel">Minecraft-Version</label>
<select id="setupMcVersion"></select>
<!-- Zwei Hinweise statt einem umgeschriebenen: so bleibt jeder an seinem
data-i18n haengen und ueberlebt einen Sprachwechsel bei offenem Dialog. -->
<p class="setup-hint" id="setupVersionHintMod" data-i18n="setupVersionHint">Nur geprüfte Versionen. Ab 1.21.2 hat sich die Registrierung geändert — Code für ältere Stände lässt sich hier nicht bauen.</p>
<p class="setup-hint" id="setupVersionHintPlugin" data-i18n="setupVersionHintPlugin">Gegen die älteste Version bauen — eine gegen 1.21 gebaute Jar läuft auch auf 1.21.11. Umgekehrt nicht.</p>
</div>
<div class="setup-field" id="setupServerApiRow">
<label for="setupServerApi" data-i18n="setupServerApiLabel">Server-API</label>
<select id="setupServerApi"></select>
<p class="setup-hint" data-i18n="setupServerApiHint">Spigot läuft überall — auf Spigot, Paper und jedem Paper-Fork. Gegen Paper gebaut gibt es mehr API, dafür läuft die Jar nur noch auf Paper.</p>
</div>
<button class="setup-create" id="btnCreateProject" data-i18n="setupCreate">📁 Projekt anlegen</button>
<div class="setup-progress" id="setupProgress" style="display:none">
<div class="setup-progress-track"><div class="setup-progress-bar" id="setupProgressBar"></div></div>
<div class="setup-progress-text" id="setupProgressText"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Dateityp-nicht-unterstützt Modal -->
<div class="modal-overlay alert-modal" id="unsupportedExtOverlay">
<div class="alert-modal-card modal">
<div class="alert-modal-head modal-head">
<h2 data-i18n="unsupportedExtTitle">⚠️ Datei-Typ nicht unterstützt</h2>
<button id="btnCloseUnsupportedExt" title="Schließen">✕</button>
</div>
<div class="alert-modal-body modal-body">
<p id="unsupportedExtMessage" class="alert-modal-message"></p>
</div>
<div class="alert-modal-actions">
<button id="btnUnsupportedExtAbort" class="alert-modal-btn secondary" data-i18n="unsupportedExtAbort">Abbrechen</button>
<button id="btnUnsupportedExtContinue" class="alert-modal-btn primary" data-i18n="unsupportedExtContinue">Trotzdem anlegen</button>
</div>
</div>
</div>
<!-- Plugin bauen Modal -->
<div class="modal-overlay" id="buildModalOverlay">
<div class="build-modal">
<div class="modal-head">
<h2 data-i18n="buildTitle">🔨 Plugin bauen</h2>
<button id="btnCloseBuild">✕</button>
</div>
<div class="build-body">
<div class="build-grid">
<div class="build-field">
<label for="buildName" data-i18n="buildNameLabel">Plugin-Name</label>
<input type="text" id="buildName" spellcheck="false">
</div>
<div class="build-field">
<label for="buildVersion" data-i18n="buildVersionLabel">Version</label>
<input type="text" id="buildVersion" spellcheck="false">
</div>
<div class="build-field build-field-wide">
<label for="buildPackage" data-i18n="buildPackageLabel">Java-Paket</label>
<input type="text" id="buildPackage" spellcheck="false">
</div>
<div class="build-field">
<label for="buildServerApi" data-i18n="buildServerLabel">Server</label>
<select id="buildServerApi"></select>
</div>
<div class="build-field">
<label for="buildApiVersion" data-i18n="buildMcVersionLabel">Minecraft-Version</label>
<select id="buildApiVersion"></select>
</div>
<div class="build-field">
<label for="buildEngine" data-i18n="buildEngineLabel">Verfahren</label>
<select id="buildEngine"></select>
</div>
</div>
<pre class="build-structure" id="buildStructure"></pre>
<p class="build-hint" data-i18n="buildHint">Der Quelltext wird an den Build-Dienst geschickt und dort zu einer .jar kompiliert.</p>
<div class="build-status" id="buildStatus"></div>
</div>
<div class="build-actions">
<button class="primary" id="btnStartBuild" data-i18n="buildStart">🔨 Jetzt bauen</button>
</div>
</div>
</div>
<iframe id="sandboxFrame" sandbox="allow-scripts" style="display:none" title="Sandbox"></iframe>
<!-- JSZip für ZIP-Export -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"></script>
<!-- Blockly Core & Generatoren.
Version fest angegeben: ohne Versionsnummer liefert unpkg immer die neueste
Hauptversion aus, und ein Blockly-Major-Release würde die veröffentlichte Seite
brechen, ohne dass hier eine Zeile geändert wurde. -->
<script src="https://unpkg.com/blockly@13.1.1/blockly.min.js"></script>
<!-- Kein separates Blockpaket: blockly.min.js buendelt die Standardbloecke bereits.
Frueher stand hier blocks.min.js — eine Adresse, die es in keiner Blockly-Version
gibt und die deshalb seit jeher 404 lieferte. Genau das war folgenlos. Sie auf
blocks_compressed.js zu "korrigieren" laedt die Bloecke dagegen ein zweites Mal und
Blockly bricht ab mit: Extension "contextMenu_variableDynamicSetterGetter" is
already registered. -->
<script src="https://unpkg.com/blockly@13.1.1/javascript_compressed.js"></script>
<script src="https://unpkg.com/blockly@13.1.1/python_compressed.js"></script>
<script src="https://unpkg.com/blockly@13.1.1/php_compressed.js"></script>
<script src="https://unpkg.com/blockly@13.1.1/lua_compressed.js"></script>
<script>window.MSG_EN = Object.assign({}, Blockly.Msg);</script>
<script src="https://unpkg.com/blockly@13.1.1/msg/de.js"></script>
<script>window.MSG_DE = Object.assign({}, Blockly.Msg);</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-clike.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-markup-templating.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-php.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-lua.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-java.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-json.min.js"></script>
<!-- Fuer die erzeugten Projektdateien: build.gradle.kts (kotlin, baut auf clike auf),
plugin.yml (yaml) und gradle.properties (properties). -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-kotlin.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-yaml.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-properties.min.js"></script>
<!-- Betriebs-Einstellungen (Build-Dienst-Adresse). Muss vor der App-Logik geladen sein. -->
<script src="config.js"></script>
<!-- StrudelBlock IDE — App-Logik, aufgeteilt nach Zuständigkeit.
Die Reihenfolge IST die Abhängigkeitsliste: es gibt keine Imports, jede Datei
verlässt sich auf die Globals der vorherigen.
profile.js vor settings.js und projects-library.js — die beiden lesen
profileKey() für ihren Speicherbereich
mc-materials.js vor blocks-minecraft.js — liefert MC_MATERIALS
generator-java.js vor blocks-minecraft.js — liefert javaGenerator
blocks-*.js vor workspace.js — dort werden alle Blöcke registriert
build-service.js nach live-preview.js — nutzt currentGeneratedCode() -->
<script src="js/i18n.js"></script>
<script src="js/profile.js"></script>
<script src="js/theme-languages.js"></script>
<script src="js/mc-materials.js"></script>
<script src="js/mc-gradle-template.js"></script>
<script src="js/mod-gradle-template.js"></script>
<script src="js/generator-java.js"></script>
<script src="js/blocks-minecraft.js"></script>
<!-- textures.js vor blocks-fabric.js: die Texturfelder der Bloecke lesen
textureDropdownOptions() und getProjectTexture(). -->
<script src="js/textures.js"></script>
<script src="js/blocks-fabric.js"></script>
<script src="js/blocks-html.js"></script>
<script src="js/blocks-css.js"></script>
<script src="js/blocks-addons.js"></script>
<script src="js/blocks-rawcode.js"></script>
<script src="js/toolbox.js"></script>
<script src="js/workspace.js"></script>
<script src="js/files.js"></script>
<script src="js/live-preview.js"></script>
<script src="js/console.js"></script>
<script src="js/packages-ui.js"></script>
<script src="js/panels.js"></script>
<script src="js/settings.js"></script>
<script src="js/project-actions.js"></script>
<script src="js/projects-library.js"></script>
<script src="js/build-service.js"></script>
<script src="js/templates.js"></script>
<!-- project-setup.js nach files.js und workspace.js: baut den Dateibaum auf
und ruft buildToolbox(). -->
<script src="js/project-setup.js"></script>
<script src="js/main-init.js"></script>
</body>
</html>