Leaf System Properties
-DLeaf.library-download-repo
- default: not set
-
Download speed of default Maven Central repo is extremely slow in some regions.
Use this JVM flag to set a specific mirror repository for SpigotLibraryLoader or PaperLibraryLoader,
for example, Use this flag
to define Aliyun's repo as the mirror repo.
-DLeaf.nearestEntitySensorBucketCount
- default: 10
-
How many buckets will be used if entity count reached the Bucket Sort threshold.
Should be the square root of entity count.
-DLeaf.nearestEntitySensorBucketSortThresholdRatio
- default: 2.0
- This value controls the ratio of Bucket Sort threshold.
(Threshold = bucketCount * ratio)
-DLeaf.enableFMA
- default: false
-
Whether to use Fused-Multiply-Add operations to accelerate some math calculations.
Requires a CPU which supports the FMA instruction set, otherwise it will be slower.
You can use tools like CPU-Z to check whether your machine supports the FMA instruction set.