238 Commits

Author SHA1 Message Date
Daniel Mills
487dab793a Performance Improvements 2021-07-17 03:20:10 -04:00
Daniel Mills
6f4363e95b Cleanup 2021-07-17 00:36:16 -04:00
Daniel Mills
e5cc9a3cbf VolmitSender 2021-07-16 04:59:51 -04:00
Daniel Mills
985979ab14 No goto - tp 2021-07-16 04:03:09 -04:00
Daniel Mills
71140381e0 Cleanup 2021-07-16 02:25:35 -04:00
Daniel Mills
22387b2610 Refs 2021-07-16 02:11:41 -04:00
Daniel Mills
da53a7d469 Repackage utils 2021-07-16 02:11:37 -04:00
Daniel Mills
c984eb9b8c Restructure Packages (read commit description)
There are now three root packages
- Engine: Generator & JSON Scaffolding
- Core: Managers, Commands, NMS
- Util: Random utility packages
2021-07-16 01:46:22 -04:00
Daniel Mills
eef548f6a1 Fix Rarity, Strings do not implement IRare 2021-07-16 01:39:28 -04:00
Daniel Mills
fff6e50702 Map changes 2021-07-15 23:25:06 -04:00
Daniel Mills
9e9feb5980 Engine support max densities 2021-07-15 03:38:22 -04:00
StrangeOne101
2b45056842
Merge branch 'master' into map-1.17 2021-07-15 17:56:57 +12:00
StrangeOne101
c86fdf07db
Merge branch 'master' into map-1.17 2021-07-15 17:54:23 +12:00
Daniel Mills
385ffd5b27 Destroy everything 2021-07-15 01:53:35 -04:00
StrangeOne101
ad6b746124 New Studio Map Command
- Allows you to see a map of a world/pack (without being in the world)
- Chooses a random color for each biome if no color is chosen, based on vanilla derivative 

Dev note: 
- The biome at your cursor is not accurate when zoomed out
2021-07-15 17:52:20 +12:00
Dan
4a74190241
Merge pull request #411 from StrangeOne101/master
Attempted fix biome & region rarity
2021-07-14 17:03:54 -04:00
Daniel Mills
7d423fa49d Totally stable optimizations that wont cause any problems at all. 2021-07-14 16:40:20 -04:00
Daniel Mills
886553a923 Cleanup / Update sources 2021-07-14 15:40:01 -04:00
Daniel Mills
dbdf8a97ae MCA Data Pack Support for custom biomes 2021-07-14 15:23:04 -04:00
StrangeOne101
1f2871f649 Map Command Overhaul in 1.17
- Features biomes using random color (based on vanilla derivative) if a color isn't provided in the biome class
- Allows a map to be opened for packs that don't have a world open (`/iris std map overworld`)
2021-07-14 23:01:09 +12:00
StrangeOne101
147d5902ed Attempted fix biome & region rarity
- Attempted to fix the issue of biome & region rarity issue
2021-07-14 21:23:02 +12:00
Daniel Mills
ec47ca1983 THE SUPER DUPER COOL BUT TOTALLY NOT STABLE THING THATS NOT READY YET... 2021-07-14 04:51:50 -04:00
Daniel Mills
6ca6fc6989 Cleanup SRC 2021-07-14 02:34:13 -04:00
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 6df6296cd149dfef6445e573c459904f63122ab7.
2021-07-06 02:31:54 -08:00
DanLT
6df6296cd1 Revert "Revert "Test carved objects""
This reverts commit b88a5653448bd163105e35fd0502203765ee12bc.
2021-07-06 02:20:52 -08:00
DanLT
b88a565344 Revert "Test carved objects"
This reverts commit d98bc1ec6301ae2ac57e46692bc31b0d20ceb9a8.
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 9ddf09e18741ad8ac915377408c40693707491f2.
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