Commit Graph

84 Commits

Author SHA1 Message Date
Lukas Rieger (Blue)
ff1e38a7e1
Fix Map-Updates not working correctly 2024-02-22 12:58:57 +01:00
Lukas Rieger (Blue)
cc50e05262
Use floats for model-positions instead of doubles 2024-02-09 15:30:23 +01:00
Lukas Rieger (Blue)
73a77e5e0e
Do light/cave testing before face-culling to improve performance 2024-02-08 15:26:45 +01:00
Lukas Rieger
16981f2797
Refactor World-Management and Region/Chunk-Loading (#496)
* Implement PackedIntArrayAccess

* First working render with BlueNBT

* Progress converting chunkloaders

* Core rewrite done

* WIP - Restructuring configs and world-map mapping

* WIP - Compiling and starting without exceptions :)

* Fix cave detection

* Ensure configuration backwards compatibility (resolve dimension from configured world if missing)

* Implement support for 1.16+ chunks

* Implement support for 1.15+ chunks

* Implement support for 1.13+ chunks and some fixes

* Also find worlds based on their id again in BlueMapAPI

* Improve autogenerated config names

* Implement equals for all ServerWorld implementations

* Get rid of var usage
2024-02-07 20:43:37 +01:00
Lukas Rieger (Blue)
6ce32c56dc
Fix loading texture self-healing not working if its a json-syntax error 2024-01-04 17:19:34 +01:00
Lukas Rieger (Blue)
a0b47f1bd5
Fix texture-gallery not preserving textures that are missing after a resource(pack) change 2023-12-11 12:35:12 +01:00
Lukas Rieger (Blue)
5866cb5766
Add basic support for the resource-changes of the 1.20.3 snapshots 2023-11-21 16:15:54 +01:00
TechnicJelle
48445db7b5
Add map config for having a different void colour (#477)
* Added global webapp option for not having a void

* Fix for non-default lighting conditions

* Replace `isVoid` with whole `voidColor` feature!

* Default void colour should be black

* And now the default sky colour can also be set back to what it was

* Fix the low-res void colour

* Add config option for the new void colour setting!

(I hope I haven't forgotten any place to add it, but it does work, so I don't think so..?)
2023-09-30 23:42:37 +02:00
Lukas Rieger (Blue)
16c4b281ef
Fix settings.json and markers.json not being written with the correct charset 2023-07-03 13:03:52 +02:00
Lukas Rieger (Blue)
7c56fc49a7
Apply Spotless fixes for BlueMapCore 2023-06-29 13:42:36 +02:00
Lukas Rieger (Blue)
2e572ddb11
Fix status command formatting and add last render times to status and maps commands 2023-06-18 13:46:41 +02:00
Lukas Rieger (Blue)
ec5ca244fd
Fix precision issue which can cause visual artifacts in lowres 2023-03-07 16:42:07 +01:00
Lukas Rieger (Blue)
22ed75c513
Fix bug with variant-rotation not beeing applied correctly for lowres coloring 2023-03-04 18:43:28 +01:00
Lukas Rieger (Blue)
c2499df3a7
Change image response to 204 and always save an empty players.json 2023-03-02 16:30:28 +01:00
Lukas Rieger (Blue)
310a2e55eb
Fix NullPointerException when trying to load textures from an empty textures.json file 2023-02-10 17:02:15 +01:00
Lukas Rieger (Blue)
12b75f64a1
Dont load the full meta-file only to test if it exists 2023-02-01 21:42:43 +01:00
Lukas Rieger (Blue)
045f8e718a
Fix wrong meta-file-path 2022-12-29 16:06:53 +01:00
Lukas Rieger (Blue)
cf93cb56c4
Improve min-inhabited-time calculations and add hidden radius setting 2022-12-17 15:06:18 +01:00
Lukas Rieger (Blue)
6d53bce0dd
Add stuff 2022-12-13 16:54:31 +01:00
Lukas Rieger (Blue)
1368f86d13
Also reset texture-gallery on map-purge 2022-11-28 20:38:34 +01:00
Lukas Rieger (Blue)
0fc1424021
Make texture-gallery stronger against corrupting 2022-11-28 00:04:09 +01:00
Lukas Rieger (Blue)
f4e2767410
Make ice/glass blocks culling themselves if blocks are identical 2022-11-08 23:45:22 +01:00
Lukas Rieger (Blue)
6213137894
Also apply variant-rotation to the color-calculation. Fixes: #354 2022-11-01 14:19:04 +01:00
Lukas Rieger (Blue)
ff100e2656
Add option to use ocean-floor-heightmap to improve cave-detection 2022-10-23 00:52:39 +02:00
Lukas Rieger (Blue)
9efeaedf18
Move the sorting out of the save() method 2022-10-21 18:46:31 +02:00
Lukas Rieger (Blue)
685a7bf85e
Remove unneded commented-out code 2022-10-19 23:04:07 +02:00
Lukas Rieger (Blue)
a5c6f5a31f
Fix sorting not working properly 2022-10-19 23:02:27 +02:00
Lukas Rieger (Blue)
cc1e2197f0
Remove uneccessary line 2022-10-19 19:18:11 +02:00
Lukas Rieger (Blue)
d1ab1c6ca0
Switch face-sorting to merge-sort 2022-10-19 19:16:34 +02:00
Lukas Rieger (Blue)
63a003b13e
Switch to arrays to improve object-allocation 2022-10-19 17:20:36 +02:00
Lukas Rieger (Blue)
c6019c722d
Little improvements here and there 2022-10-19 16:25:25 +02:00
Lukas Rieger (Blue)
4534202c75
Refactor color parse method to remove barely used ConfigUtils class 2022-10-14 10:00:51 +02:00
Lukas Rieger (Blue)
8c675bc4f7
Fix lowres block color calculation with multipart-blocks 2022-09-18 21:28:08 +02:00
Lukas Rieger (Blue)
e8f8317d52
Fix/improve handling of two exceptions 2022-09-08 12:29:11 +02:00
Lukas Rieger (Blue)
98780514c6
Fix tile-saving errors after reloading bluemap with sql storage 2022-08-27 15:19:32 +02:00
Lukas Rieger (Blue)
0e84d4f914
Fix (rarely) possible null-values in textures.json 2022-08-23 19:45:39 +02:00
Lukas Rieger (Blue)
2bc0b2c583
Fix lowres saving and loading issues 2022-08-16 00:19:04 +02:00
Lukas Rieger (Blue)
b38177bc4a
Remove debug output 2022-08-15 23:56:40 +02:00
Lukas Rieger (Blue)
5448850eca
Fix black spots in lowres layer (syncronization issue) 2022-08-15 23:43:06 +02:00
Lukas Rieger (Blue)
83806641ac
Add minimum inhabitedTime configuration to maps 2022-08-15 11:43:16 +02:00
Lukas Rieger (Blue)
c3a26abc3b
Add option to disable saving the hires-layer 2022-08-15 00:19:24 +02:00
Lukas Rieger (Blue)
42e53f0135
Fixes for lowres lighting and map-purging/saving, tweak default settings 2022-08-14 20:36:50 +02:00
Lukas Rieger (Blue)
562deb17a3
Finalize new lowres tiles implementation 2022-08-12 18:11:11 +02:00
Lukas Rieger (Blue)
7d14ca4a29
Merge branch 'master' into feature/lowres 2022-08-08 21:29:50 +02:00
Lukas Rieger (Blue)
057d25bd15
Fix color issue and fix cli-webserver not working 2022-08-08 21:29:16 +02:00
Lukas Rieger (Blue)
81574c5176
Rewrite lowres tiles with mutiple LODs 2022-08-07 20:32:55 +02:00
Lukas Rieger (Blue)
bddd455581
Fix some map-purging issues 2022-08-06 07:05:29 +02:00
Lukas Rieger (Blue)
fd519e6bf7
Update BlueMapAPI 2022-08-01 12:53:58 +02:00
Lukas Rieger (Blue)
cef202ebba
Switch to tiles with added wrapper-object for future additional data 2022-07-31 18:06:57 +02:00
Lukas Rieger (Blue)
be04097ec5
Write markers to map-storage and add option to periodically update markers and players to storage 2022-07-30 15:31:42 +02:00