Commit Graph

227 Commits

Author SHA1 Message Date
dfsek 7509c03cbd Use FastRandom in populators, fix issues with flora/tree pop 2020-11-22 20:20:26 -07:00
dfsek 2b5fd16e4a Various minor optimizations 2020-11-22 17:35:39 -07:00
budgidiere 177a18855c Faster Cache (#23)
* Faster Cache

* Optimize Imports
2020-11-22 17:28:40 -07:00
dfsek b90993c492 Add trees to profiler 2020-11-22 13:12:52 -07:00
dfsek 8b95e86fe2 Move trees to separate populator 2020-11-22 00:27:26 -07:00
dfsek 21d606853a Fix cache wackiness 2020-11-22 00:27:12 -07:00
dfsek 3dd08f30a7 Revert "Async Pop Chunks (#22)"
This reverts commit 7ce789d5
2020-11-21 23:55:14 -07:00
budgidiere 7ce789d570 Async Pop Chunks (#22)
* Async Gaea Pop Chunks

* newer gaea lib

* Yell Twice as Loud about paper and fix bug
2020-11-21 22:43:08 -07:00
dfsek 1f8d9a710f Implement NoiseFunction2 cache 2020-11-21 16:14:09 -07:00
Bud Gidiere f40f33aa6a Revert "Better Suggest Paper"
This reverts commit 0a8f36ad93.
2020-11-21 14:57:54 -06:00
Bud Gidiere d594cd8c02 Revert "Add Base Timings"
This reverts commit d964869196.
2020-11-21 10:55:59 -06:00
Bud Gidiere 0a8f36ad93 Better Suggest Paper 2020-11-21 10:51:55 -06:00
Bud Gidiere d964869196 Add Base Timings 2020-11-21 09:59:19 -06:00
Bud Gidiere 8876dc3b21 Merge remote-tracking branch 'origin/master' 2020-11-21 08:34:44 -06:00
Bud Gidiere db2d00a1af Use Better Suggest Paper Method From Paperlib 2020-11-21 08:34:35 -06:00
dfsek 6a70972ea8 Make Biome Search Resolution configurable. 2020-11-20 23:12:18 -07:00
dfsek dada49f6bf Lower sampling resolution of AsyncBiomeFinder to drastically increase speed 2020-11-20 23:09:19 -07:00
dfsek c96127fde7 Slightly improve performance of NoiseFunction2 2020-11-20 23:09:00 -07:00
dfsek e43d814169 Minor optimizations 2020-11-20 20:22:37 -07:00
dfsek 1b0cbe486f Optimize ores 2020-11-20 20:06:21 -07:00
Bud Gidiere ab906b47c8 Misc Perf improvements 2020-11-20 20:59:27 -06:00
Bud Gidiere 75a04f7d8f Lots O Stuff 2020-11-20 16:43:24 -06:00
Bud Gidiere d125ee3d87 Use Faster GlueList
Uses GlueList a faster List implementation. Drop in replacement for ArrayList.

https://github.com/ertugrulcetin/GlueList
2020-11-19 19:09:48 -06:00
Bud Gidiere bb4ecee1f8 Use XoRoShiRo128PlusPlusRandom instead of XoRoShiRo128PlusRandom 2020-11-19 17:38:45 -06:00
Bud Gidiere 094b421f97 Use Faster XoRoShiRo128PlusRandom
XoRoShiRo128PlusRandom is a Faster Random Class that is many times faster than standard Java Random. It also features better random distribution and the ability to be split and retain the exact same noise output like Splitable random.

http://dsiutils.di.unimi.it/docs/it/unimi/dsi/util/XoRoShiRo128PlusRandom.html
2020-11-19 17:23:08 -06:00
dfsek 700d1d0a6c Fix bizarre elevation equation issues 2020-11-19 15:09:12 -07:00
dfsek 0bc2c6e897 Import FastMath in tests 2020-11-18 18:47:24 -07:00
Bud Gidiere 0a77487399 Replace Math with FastMath for improved performance.
FastMath is a drop in replacement for the native Java math class with improved performance and fall backs to the native Java math class if necessary.

https://commons.apache.org/proper/commons-math/javadocs/api-3.3/org/apache/commons/math3/util/FastMath.html

This requires further testing and might cause chunk borders due the FastMath giving slightly different results than the native Java math class.

I also added .idea/Terra.iml to the .gitignore
2020-11-18 17:23:09 -06:00
dfsek 19162a1924 Structure tree sapling overrides no longer require tree to be on ground level 2020-11-17 20:10:13 -07:00
dfsek 2100718b2a Minor performance improvements to generation 2020-11-17 14:39:05 -07:00
dfsek 291d0aaf1c Remove unused Feature variable 2020-11-17 13:44:23 -07:00
dfsek fde8fd95f2 Clean up parsii code 2020-11-17 10:51:31 -07:00
dfsek 4c4c31db45 Cleanup EntityFeature code, account for Structure rotation in Features 2020-11-17 00:49:43 -07:00
dfsek 2750d46a98 [AUTO] Clean & reformat 2020-11-16 23:39:18 -07:00
dfsek 9a403805c9 Cleanup 2020-11-16 23:37:42 -07:00
dfsek cb537d0514 Rewrite basically the whole generator again. Get rid of failsafe biomes because they are dumb 2020-11-16 23:32:04 -07:00
dfsek deb7db9b25 Per-world noise gen is no longer dumb 2020-11-16 21:44:49 -07:00
dfsek b8441b6903 Make NoiseBuilder actually follow builder pattern 2020-11-16 17:01:44 -07:00
dfsek 00c933c06e Fix stoopid NPE 2020-11-16 16:54:55 -07:00
dfsek cab91ec15b Account for elevation in structure spawns 2020-11-16 16:18:34 -07:00
dfsek f5a503f546 Cleanup noise functions 2020-11-16 11:29:30 -07:00
dfsek 022c95a862 User defined noise functions 2020-11-16 11:15:50 -07:00
dfsek 9125590a02 Improvements to structure load command 2020-11-15 16:10:14 -07:00
dfsek e5c5557398 Fix issue with EntityFeature spawning 2020-11-14 22:20:36 -07:00
dfsek 63e01cf0ea Merge remote-tracking branch 'origin/master' 2020-11-13 23:34:42 -07:00
dfsek bfd57e38d8 Refactor some biome stuff 2020-11-13 23:34:34 -07:00
solonovamax edaf2d48fb Merge branch 'master' into auto-version 2020-11-13 15:20:46 -05:00
solonovamax 16e871ff50 Automatically update the Terra version on build.
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-11-13 15:13:14 -05:00
dfsek b3dac9f37e Finally implement user defined variables 2020-11-13 12:25:40 -07:00
dfsek 08d1ca02f9 Move StructureSpawnRequirements to separate classes. 2020-11-13 12:01:20 -07:00