Argon-0.3.0
Curse Maven Snippet
What's new
Changelog
0.3.0
Structure layout and seeds are unchanged. This version is edge-case correctness, thin-region layout performance, and improvements in reliability.
Layout
BoxOctreewidens aBoundingBoxbefore adding one to its maximum coordinates. AtInteger.MAX_VALUEthe old int addition wrapped negative, so a piece at the positive coordinate limit was silently left out of the tree and an overlapping candidate was accepted. The 0.25-deflated query box uses the same widening.- A node now subdivides along whichever axes are at least two blocks wide instead of refusing to split unless all three were. A flat or rod-shaped structure region used to keep every piece in one leaf and scan them linearly.
- The root starts at depth zero, so
MAXIMUM_DEPTH = 5now allows five subdivision levels instead of four. - The active child count is sized to the number of axes that actually split, up to eight, so a one- or two-axis split does not walk empty child slots.
- Removed the unused
ArgonProfiler.TOTAL_LAYOUT_TIME_NScounter.
Frame Cadence
FrameCadence.waitUntilclears the thread's interrupt flag while it parks and restores it before returning.LockSupport.parkNanosreturns immediately while the flag is set, so an interrupted render thread used to busy-spin through the park window; the interrupt is still delivered after the wait.
Jigsaw
- The centre-piece capture in
JigsawPlacementMixinis keyed on the local nameboxinstead of being the firstBoundingBoxargument. The named form is the local the target actually uses and does not depend on argument order.
Debug
TrojanVoxelShape.getCoordsnow returns the coordinates of its filled 1x1x1 placeholder. It used to return an empty list for a non-empty discrete shape, so any accidental vanilla shape query on the carrier would index an empty coordinate list instead of seeing a small valid shape.
Build
- The wrapper waits up to 60 seconds for the distribution download and retries three times with a one-second backoff. The previous 10-second timeout and zero retries made a slow connection fail before the build started.
- Version is
0.3.0. The installed jar isargon-0.3.0.jar, and the F3 brand line reports0.3.0+26.3.
Tests
- Added a differential test that compares
BoxOctree.hasRoomForwith the real vanillaShapes.joinandShapes.joinIsNotEmptyfree-space algebra, candidate for candidate. - Added regression tests for a piece at
Integer.MAX_VALUE, for subdivision of a region one block wide on an axis, for the carrier's placeholder coordinates, and for interrupt preservation in frame pacing.
This mod has no additional files

