Commit Graph

3859 Commits

Author SHA1 Message Date
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
dfsek eb1c3896bb Merge pull request #20 from budgidiere/master
Misc Perf
2020-11-20 20:00:06 -07:00
Bud Gidiere ab906b47c8 Misc Perf improvements 2020-11-20 20:59:27 -06:00
dfsek 0af101fbbc Merge pull request #19 from budgidiere/master
Lots O Stuff
2020-11-20 15:59:27 -07:00
Bud Gidiere 28109bf999 Fix Build 2020-11-20 16:48:14 -06:00
Bud Gidiere 1fff01aae6 Remove unnecessary lib 2020-11-20 16:46:41 -06:00
Bud Gidiere 75a04f7d8f Lots O Stuff 2020-11-20 16:43:24 -06:00
dfsek fa392b50f8 Merge pull request #18 from budgidiere/master
Use Faster GlueList
2020-11-19 19:50:24 -07: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
dfsek b87af589ea Merge pull request #17 from budgidiere/master
Use Faster XoRoShiRo128PlusRandom
2020-11-19 17:17:24 -07:00
Bud Gidiere bb4ecee1f8 Use XoRoShiRo128PlusPlusRandom instead of XoRoShiRo128PlusRandom 2020-11-19 17:38:45 -06:00
Bud Gidiere 3915cad372 Merge remote-tracking branch 'origin/master' 2020-11-19 17:23:15 -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 ff7423022b Bump version to 1.4.1 2020-11-19 15:25:36 -07: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
dfsek 3d092df9d5 Merge pull request #16 from budgidiere/master
Replace Math with FastMath for improved performance.
2020-11-18 18:42:57 -07:00
dfsek bed506c5cb Update Parsii to latest version using FastMath 2020-11-18 18:40:49 -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 567b06fd3f Bump version 2020-11-16 17:41:39 -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 ca5fb57b0b Merge remote-tracking branch 'origin/master' 2020-11-14 15:57:52 -07:00
dfsek 132c0c3d60 Fix spelling in build.gradle.kts 2020-11-14 15:57:36 -07:00
dfsek 184c02a207 Merge pull request #14 from solonovamax/gradle-wrapper
Include gradle wrapper
2020-11-14 14:46:56 -07:00
solonovamax a21452b53f Include gradle wrapper
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-11-14 14:37:58 -05: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
dfsek 979fce5856 Merge pull request #12 from solonovamax/auto-version
Automatically update the Terra version on build.
2020-11-13 13:22:02 -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