Skip to main content

Module java_block_pos_set

Module java_block_pos_set 

Source
Expand description

Shared Java HashSet<BlockPos> bucket and tree-bin ordering.

Distinct hashes follow OpenJDK 25โ€™s linked tree-bin order. BlockPos inherits Comparable<Vec3i>, so equal-hash ties use JVM identities. Steel preserves its existing deterministic policies: coordinate ordering for worldgen, and insertion indices for explosions (matching increasing JVM identities).

Modulesยง

removal ๐Ÿ”’
tree ๐Ÿ”’

Structsยง

Bucket ๐Ÿ”’
Entry ๐Ÿ”’
JavaBlockPosSet ๐Ÿ”’
Java bucket ordering with a deterministic policy for equal-hash tree entries.

Enumsยง

EqualHashOrder ๐Ÿ”’

Constantsยง

EMPTY ๐Ÿ”’
MIN_TREEIFY_CAPACITY ๐Ÿ”’
TREEIFY_THRESHOLD ๐Ÿ”’
UNTREEIFY_THRESHOLD ๐Ÿ”’

Functionsยง

spread ๐Ÿ”’