181 Commits

Author SHA1 Message Date
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
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
bfd57e38d8 Refactor some biome stuff 2020-11-13 23:34:34 -07: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
dfsek
7e12f3e9c8
Merge branch 'master' into resources 2020-11-12 17:12:43 -07:00
dfsek
bd0dbb49de Back Flora configs with registry. 2020-11-12 16:47:59 -07:00
dfsek
53f1b0abc0 Version 1.3.0 2020-11-12 16:08:46 -07:00
solonovamax
e7185482f2
Download configs from online
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-11-12 12:37:50 -05:00
dfsek
2d18f5dbe5 Increase resolution of elevation interpolation 2020-11-12 09:36:32 -07:00
dfsek
f6a4479855 Continue work on slant palettes and elevation. 2020-11-11 17:23:28 -07:00
dfsek
dd33998cf8 Fix slope palette interaction with Elevation 2020-11-11 02:54:40 -07:00
dfsek
171581c224 Update arid mountain config 2020-11-11 02:43:32 -07:00
dfsek
6b6b3fb3d4 Smooth out elevation interpolation 2020-11-11 02:35:46 -07:00
dfsek
922f971c8e Implement Elevation 2020-11-11 02:28:44 -07:00
dfsek
48e45dfe23 Finish slope palette implementation 2020-11-11 01:00:34 -07:00
dfsek
d75cd81408 Implement slant palettes 2020-11-10 23:20:34 -07:00
dfsek
e9e9417410 Make caves not suck anymore 2020-11-10 15:22:52 -07:00
dfsek
548cd8a30a Allow use of Tags in block ID lists 2020-11-10 00:33:54 -07:00
dfsek
2a7fd23dd1 Add debug info to Sapling event 2020-11-09 10:45:29 -07:00
dfsek
b56f01d606 Override sapling growth to use Terra tree registry 2020-11-09 01:48:11 -07:00
dfsek
57cefea2f3 Trees are now backed with a registry, custom trees can override Vanilla ones. 2020-11-09 01:19:24 -07:00
dfsek
0e3577063e Move Rotation stuff for Structures to separate class 2020-11-09 00:39:09 -07:00
dfsek
d147097df6 Add Gaea version information to /te version 2020-11-08 22:23:19 -07:00
dfsek
f0d982f887 Add optional "irrigable" list to FloraConfig 2020-11-08 20:01:47 -07:00
dfsek
7d395a4347 Clean up Async thing finders 2020-11-08 19:38:49 -07:00
solonovamax
dc46e4596d
Add linting + fix warnings
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-11-07 18:27:39 -05:00
solonovamax
56671ac6a1
Fix formatting issues
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-11-07 11:14:06 -05:00
solonovamax
0c8c0723ef
Fix up issues with code
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-11-06 22:26:57 -05:00
dfsek
a362ed47ce Reformat again 2020-11-06 15:45:07 -07:00
dfsek
4f40550465 Reformat & add .editorconfig 2020-11-06 15:21:42 -07:00
dfsek
bfa55fdb5d Update to latest Gaea 2020-11-06 15:04:01 -07:00