Commit Graph

215 Commits

Author SHA1 Message Date
Daniel Mills 57f09fd64d Trilinear, Tricubic & Trihermite 2021-07-14 02:31:15 -04:00
Daniel Mills 2477ee4952 Support Object scaling 2021-07-14 02:31:06 -04:00
StrangeOne101 f1dfb1c952 Decor Updates
- Fixed decorators using the same RNG when picking from a pool of blocks as it used to place it. This caused it to only use pool entries above the placement chance threshold. (E.g. a flower pool with a 0.15 chance to place will only use the first 0.15 of the pool of flowers since the RNG is the same)
- Removed `zoom`, `verticalZoom` and `varianceZoom` properties from decorators. Zooms can be done inside the individual styles instead.
- WIP Tab Completion (Create command only rn)

Dev notes:
It's very important from now on that in decorators, the X and Z remain switched when getting noise so that the result of the noise is not exactly the same as the noise that choose if the decor should be placed or not
2021-07-10 03:34:18 +12:00
Daniel Mills 60777e5714 Utils 2021-07-07 05:35:57 -04:00
DanLT 559f37e5d2 Revert "Revert "Revert "Test carved objects"""
This reverts commit 6df6296cd1.
2021-07-06 02:31:54 -08:00
DanLT 6df6296cd1 Revert "Revert "Test carved objects""
This reverts commit b88a565344.
2021-07-06 02:20:52 -08:00
DanLT b88a565344 Revert "Test carved objects"
This reverts commit d98bc1ec63.
2021-07-06 02:20:15 -08:00
DanLT d98bc1ec63 Test carved objects 2021-07-06 02:04:39 -08:00
Daniel Mills a234823d0a Allow json objects to retain order of loaded objects 2021-07-05 05:09:26 -04:00
StrangeOne101 5103d91db0 Fixed Loot tables acting like a cucumber in the sun
- Fixed loot chests containing the exact same loot
- Fixed chests having nothing if a roll fails
- Fixed rolls always being done in the same order
- Added method to BlockPosition to get a unique long from 3 integers (x, y z)
2021-07-05 04:24:13 +12:00
Daniel Mills 294324e31b Revert "JSON Tweaks "
This reverts commit 9ddf09e187.
2021-07-04 14:00:12 +12:00
StrangeOne101 1b27d652af Merge remote-tracking branch 'upstream/master' into 1.17 2021-07-04 13:57:52 +12:00
Daniel Mills 9ddf09e187 JSON Tweaks 2021-07-03 01:49:55 -04:00
Daniel Mills 73e975cfa1 BP Hash 2021-07-03 01:49:48 -04:00
StrangeOne101 7d59edc8a5 Added Object & Jigsaw Loot Tables
- Added the ability for placed objects and jigsaws to have select loot tables
    - Includes the ability to filter loot tables based on block type/block state
    - Overrides loot tables from the biome/region, but if no loot tables are provided for an object, they will still be used
    - Uses weight based system for determining which table to pick (so it's guaranteed rather than by chance)
- Added WeightedRandom util class
- Fixed loot tables not being random based on the seed
- Fixed jigsaws breaking bedrock
- Fixed enchantments in loot tables not working for enchanted books
- Fixed mobs spawned in Jigsaws not being spawned in the center like they should be
2021-06-29 00:24:36 +12:00
DanLT 0527066a4c Fake world improvements 2021-06-23 21:12:45 -08:00
DanLT 449c2322b8 Height warnings 2021-06-17 19:35:07 -08:00
DanLT 7efdcdc592 linked terrain chunk min height support 2021-06-17 19:25:42 -08:00
DanLT 356aa27f70 Replace GRASS_PATH with DIRT_PATH 2021-06-17 19:22:40 -08:00
Daniel Mills 6e74761977 Fake world support names 2021-06-11 16:52:18 -04:00
Pascal 4b1bccd4b5 exclude custom biome from id mapping 2021-05-07 15:54:54 +02:00
CocoTheOwner b1d25ec35c Patch NPE 2021-02-23 21:01:19 +01:00
CocoTheOwner feaf21c702 Fix compat error by continuing the throw from Java's fileReader class 2021-01-30 17:21:59 +01:00
CocoTheOwner 4fa8fff3db Fix compat error by continuing the throw from Java's fileReader class 2021-01-30 16:42:07 +01:00
Daniel Mills 8fe21d6d05 fix util method no need for xz 2021-01-14 08:35:12 -05:00
Daniel Mills 1c5863e6de Tile data in the parallax layer 2021-01-13 09:45:01 -05:00
Daniel Mills 54dd379cf5 Memes 2021-01-12 16:54:57 -05:00
Daniel Mills dd7a8bae16 Eradicate the old structure system 2021-01-12 06:05:37 -05:00
Daniel Mills 62bbeb9471 Fix resource loader issues 2021-01-12 05:41:08 -05:00
Daniel Mills 36986d7ddd Loaders better verbose 2021-01-11 17:05:11 -05:00
Daniel Mills f7bd48cc9a Fix axis alignedbb 2021-01-09 02:01:15 -05:00
Daniel Mills 4b76b592d3 RT Sets 2021-01-08 10:12:10 -05:00
Daniel Mills 4a30b6d264 Locking 2021-01-05 18:48:55 -05:00
Daniel Mills 73bfa9beb8 Locks 2021-01-05 14:32:32 -05:00
Daniel Mills 1028ebccbb Calculate true interpolation radius for specifc algos 2021-01-04 20:43:15 -05:00
Daniel Mills 9d634ba4d7 Fix Parallax & update settings 2021-01-01 22:54:17 -05:00
Daniel Mills 8935c51cc9 Remove old pregen crap 2021-01-01 22:53:40 -05:00
Daniel Mills a921845ae3 Fixes 2021-01-01 18:53:32 -05:00
Daniel Mills 634e7ad7ee Cleanup 2020-12-30 08:31:23 -05:00
Daniel Mills e926a08def Fix mca gens 2020-12-30 07:09:39 -05:00
Daniel Mills f4eb0cfbcb Writer fixes 2020-12-29 06:14:18 -05:00
Daniel Mills 3dc7bd74fe Fix jigsaw save locations 2020-12-29 05:05:08 -05:00
Daniel Mills 56ae387f7b Fix the leak 2020-12-28 13:17:49 -05:00
Daniel Mills 5994cc66b4 Fixes for plax 2020-12-28 12:13:47 -05:00
Daniel Mills a9410d92a2 Identified leak 2020-12-28 07:56:18 -05:00
Daniel Mills 89da5fe08a Smoothiemaps for everyone 2020-12-28 06:22:45 -05:00
Daniel Mills 540656870a Optimizations 2020-12-28 06:10:46 -05:00
Daniel Mills cec56c8406 Fix pregen sizes 2020-12-27 06:17:12 -05:00
Daniel Mills 7bbae51c7d Faster 2020-12-27 05:28:34 -05:00
Daniel Mills 5f50fa4202 Registry for jigsaw 2020-12-26 05:00:26 -05:00