0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin synced 2025-01-30 06:41:35 +00:00
kralverde 979877f048 "populate noise" step of chunk generation (#319)
* implement populate noise step of chunk generation

* fix gitignore

* pass thru seed

* add counter for edge case

* add entire chunk test case

* remove eclipse file

* remove packet timing

* precompute float divisions

* unsafe speed up

* slight aquifer optimization

* tweak block pos packing

* optimize perlin map

* precompute aquifer random positions

* fix aquifer regression

* refactor samplers, add tests to aquifer, and move chunk extractor to the extractors

* fix base density function error and add a bunch of test cases

* ignore expensive tests by default

* remove un-needed lifetimes

* remove minecraft prefix from block lookups

* fix populate noise bench

* slight optimizations

* read files at runtime to speed up test compilation speed and remove ignores

* remove new lines from test data so people stop freaking out about line count

* make extractor the same

* leverage branch prediction

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2024-12-02 19:01:37 +01:00
..