Spartan Weaponry 3.2.1.1 (NeoForge 1.21.1)
Curse Maven Snippet
What's new
Spartan Weaponry 3.2.1 (ObliviousSpartan) for Minecraft 1.21.1 / NeoForge 21.1.197+, Java 21, client and server. A performance release of the port; content, recipes and numbers are the same as in 3.2.1.
What's new
- Oiled weapons cost less to draw. The colour of the oil coating was worked out again for every face of the coating, every frame, by building an oil handler and reading the item's data each time. It is now read in place and reused for the faces of the same weapon: with 400 armor stands holding 800 weapons (half of them oiled), the oil work went from 2.4 % to 0.4 % of the render thread.
- Item data is no longer copied to read one value. Throwing weapons, quivers, the heavy crossbow and the crosshair HUDs copied the whole item data every tick or every frame to read a single number; they read it in place now.
Install: replace the 3.2.1 jar in mods (client and server) with this one. Worlds and configs stay as they are.
Tested: client scene (54 checks) and stress scene (rejoin, 1.20.1 items, packet spam, 800 weapons on screen, 110 fighting mobs, 600 projectiles) pass; the jar starts on real NeoForge 21.1.197 and 21.1.259 servers. Measurements in PORTLOG.md ("Performance check").
Details: README.md and PORTLOG.md. License: LGPL-3.0-only (the original's Apache 2.0 text is in licenses/). Please report bugs of this port here, not to the original author.
This mod has no additional files

