32 lines
1.8 KiB
TOML
32 lines
1.8 KiB
TOML
# Advanced Rocketry 3.0.beta, bytecode-patched for dedicated servers.
|
|
#
|
|
# Patch 1 (scripts/patch-adv-rocketry.sh): upstream 3.0.beta crashes planet
|
|
# loading on a dedicated server - PlanetDimension.getTexture() calls
|
|
# Minecraft.getInstance().getTextureManager() (client-only classes); merely
|
|
# loading PlanetDimension makes the verifier resolve AbstractTexture and
|
|
# NeoForge's RuntimeDistCleaner throws, so every dimension config fails with
|
|
# "Failed to read file" (kalos/mustafar/overworld/... x11). getTexture() body
|
|
# replaced with `return properties().texture;` (textures load lazily on the
|
|
# client; the server never calls the method - the constructor guards on
|
|
# isClientSide).
|
|
#
|
|
# Patch 2 (scripts/patch-adv-rocketry-sky.sh): distant planets were invisible
|
|
# from the space sky. The renderer sizes planet spheres at true-radius * 8;
|
|
# at real orbital distances (0.7-8 AU) every planet is sub-pixel, so only the
|
|
# sun showed. SkyRenderer.renderSpaceBodies now enforces a minimum apparent
|
|
# size: bodies below ratio 0.02 are inflated to ~2.3 degrees and brightened
|
|
# (0.01 -> 0.7), and the cull threshold (min/5) is widened (divisor 5 -> 2000)
|
|
# so moons survive the cull. Visual only - navigation/physics untouched.
|
|
#
|
|
# The patched jar is hosted on Gitea (generic package version 3.0.beta-skyfix)
|
|
# and pinned here WITHOUT an [update] section so `packwiz update` never pulls the
|
|
# broken upstream jar back in. Re-run the patch scripts after any upstream update.
|
|
name = "Advanced Rocketry 3"
|
|
filename = "adv_rocketry-1.21.1-3.0.beta.jar"
|
|
side = "both"
|
|
|
|
[download]
|
|
url = "https://gitea.bunny-wyvern.ts.net/api/packages/artanis/generic/advanced-rocketry-3/3.0.beta-skyfix/adv_rocketry-1.21.1-3.0.beta.jar"
|
|
hash-format = "sha512"
|
|
hash = "3bdcdc78ee8fe85ceb9ed7de4db185612036442319751733322ac1239e4ac256174262ee42e17856f9782908525c56233d26d24eb6db5afdb9bb61f323e8c212"
|