backup with fully working version, only one texture renders
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
# Vendored: Blockbench (web app)
|
||||
|
||||
This directory contains the official **Blockbench** web application, mirrored
|
||||
verbatim from the deployed official build at `https://web.blockbench.net/`
|
||||
(served by the upstream project), used here as an embedded model editor/viewer
|
||||
for the Packs site.
|
||||
|
||||
- **Project**: Blockbench — https://github.com/JannisX11/blockbench
|
||||
- **Version**: 5.x (web build; `dist/bundle.js`, mirrored 2026-08-04)
|
||||
- **License**: GPL-3.0-or-later — see `LICENSE.MD`
|
||||
|
||||
## Local modifications
|
||||
|
||||
1. `index.html` — removed the Cloudflare Insights beacon `<script>` (external
|
||||
analytics, not needed offline/same-origin).
|
||||
2. `index.html` — added `<script src="plugins/packs_bootstrap.js"></script>`
|
||||
(after the bundle). That script auto-loads the bundled plugins below and
|
||||
bridges model/texture loading from the Packs site via `postMessage`.
|
||||
|
||||
## Bundled plugins
|
||||
|
||||
- `plugins/geckolib/` — **GeckoLib Models & Animations** (v4.2.5), the official
|
||||
GeckoLib Blockbench plugin, from the Blockbench plugin store repository
|
||||
(`JannisX11/blockbench-plugins/plugins/geckolib`).
|
||||
- `plugins/MultiactorEditor/` — **Multi Actor Animator** (v1.0.0) by L1Z0, for
|
||||
the AnimationDirector mod. Handles `afw_bone_textures` and texture preview.
|
||||
- `plugins/packs_bootstrap.js` — the site's own bridge (loads the two plugins,
|
||||
opens a geo model, loads the feature + vanilla textures).
|
||||
|
||||
No other upstream files were changed.
|
||||
|
||||
## Update note
|
||||
|
||||
We intentionally do **not** plan to re-vendor newer Blockbench releases — this
|
||||
copy is pinned for stability. To update, re-mirror `https://web.blockbench.net/`
|
||||
(including `dist/bundle.js`, `css/`, `font/`, `assets/`, `icons/`) and re-apply
|
||||
the two index.html modifications above.
|
||||
Reference in New Issue
Block a user