Build from the user's own copy of the game instead of downloading it
Horizon no longer fetches anything of Minecraft from Mojang's servers. The client jar, version JSON, libraries and assets come from the user's official launcher install, and the server jar is one they downloaded themselves (--server-jar or HORIZON_SERVER_JAR). Every file is checked against checksums pinned in research-lock.json, and the prepared .local/ layout is byte-identical to the old downloads, so the harnesses and the native client are unchanged. CI keeps the offline checks on GitHub's runners; the vanilla comparisons and the mod build need the game, so they move to a manual job on a self-hosted runner that holds the maintainer's own copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,14 +16,17 @@ most structures and mobs, and several containers are still missing. See
|
||||
|
||||
## Run from a checkout
|
||||
|
||||
Use current stable Rust (1.90+), Python 3.10+ and JDK 25. Resource preparation
|
||||
verifies the pinned game artifacts, runs vanilla's data generator and small
|
||||
exporters against the reference jars, and extracts the jar's assets and data
|
||||
into ignored `.local/horizon-client/26.3/`. Sounds come from Mojang's asset
|
||||
index (about 380 MB). Prepared resources are private; never commit them.
|
||||
Use current stable Rust (1.90+), Python 3.10+ and JDK 25. Horizon never
|
||||
downloads the game: resource preparation imports **your own copy** (the 26.3
|
||||
client from your official launcher install, and the 26.3 server jar you
|
||||
downloaded yourself; see [Bring your own copy](../README.md#bring-your-own-copy)),
|
||||
verifies it against the pinned checksums, runs vanilla's data generator and small
|
||||
exporters against those jars, and extracts the jar's assets and data into ignored
|
||||
`.local/horizon-client/26.3/`. Sounds (about 380 MB) are copied from your
|
||||
launcher's asset store. Prepared resources are private; never commit them.
|
||||
|
||||
```sh
|
||||
python3 tools/prepare_native_client.py --prepare
|
||||
python3 tools/prepare_native_client.py --prepare --server-jar ~/Downloads/server.jar
|
||||
python3 tools/fetch_sounds.py
|
||||
cargo run --release -p horizon-client -- --render-distance 12
|
||||
```
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
Horizon server @PACK_VERSION@ — Minecraft 26.3, Fabric 0.19.5, Java 25
|
||||
|
||||
Install Python 3.10+ and native Java 25. Extract this ZIP and open a terminal here.
|
||||
This starter never downloads the game: download the Minecraft 26.3 server jar
|
||||
yourself (https://www.minecraft.net/download/server while 26.3 is current), then:
|
||||
|
||||
python3 tools/server.py prepare
|
||||
python3 tools/server.py prepare --server-jar PATH/TO/server.jar
|
||||
|
||||
Read Minecraft's EULA at https://www.minecraft.net/eula. Create/edit
|
||||
.local/server/optimized/eula.txt to contain eula=true if you agree, then:
|
||||
|
||||
python3 tools/server.py run --heap 4G
|
||||
|
||||
Windows: use python in place of python3 if needed. Server downloads and assets
|
||||
stay in .local. No game code, third-party mod JARs or credentials are bundled.
|
||||
Windows: use python in place of python3 if needed. Your server jar, mods and
|
||||
assets stay in .local. No game code, third-party mod JARs or credentials are bundled.
|
||||
Lithium and FerriteCore optimize the original simulation/storage; tick rate and
|
||||
vanilla gameplay rules are retained. No Paper-style gameplay configuration.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user