Commit Graph

57 Commits

Author SHA1 Message Date
Gerber Lóránt Viktor
b10d15657a Add mechanism for retrieving BlockEntity data
This commit adds a mechanism for retrieving block entity data.
Block entity data is required to support for example text on signs,
banner patterns, or mods such as Domum Ornamentum.
2024-03-18 21:10:59 +01:00
Lukas Rieger (Blue)
5bb7a77fb9
Actually fix NPE when loading chunks sometimes 2024-02-24 23:51:23 +01:00
Lukas Rieger (Blue)
79ea7baba7
Fix biomes-packed array sometimes sized incorrectly 2024-02-24 13:37:02 +01:00
Lukas Rieger (Blue)
122ba83ebb
Correct content-type header and response for empty map tiles 2024-02-24 10:44:25 +01:00
Lukas Rieger (Blue)
d1aba560da
Fix possible self-supression 2024-02-23 23:55:17 +01:00
Lukas Rieger (Blue)
9e8dc8e5a8
Tentative fix for heightmap data being null 2024-02-23 23:55:01 +01:00
Lukas Rieger (Blue)
2c341fc894
Apply spotless fixes 2024-02-23 21:51:29 +01:00
Lukas Rieger (Blue)
3a1e723a51
Improve linear region efficiency by caching the whole region-file data 2024-02-23 00:55:11 +01:00
Lukas Rieger (Blue)
dbde93c9f5
Reimplement Linear region file format support 2024-02-22 23:23:56 +01:00
Lukas Rieger (Blue)
ff1e38a7e1
Fix Map-Updates not working correctly 2024-02-22 12:58:57 +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)
efd45658d5
Fix empty blockstates having the wrong block-properties 2024-02-03 00:59:41 +01:00
Lukas Rieger
f2355fa99b
feat: Linear region file format support (extended from #415) (#418)
* Linear support

Fix region rendering & bitwise operators

Close streams

* Make mca region-file types extensible

* Fix file-name verification not working

---------

Co-authored-by: Sofiane H. Djerbi <46628754+kugge@users.noreply.github.com>
2023-04-30 11:09:36 +02:00
Lukas Rieger (Blue)
b3875597a4
Generalize MCA implementation a bit more 2023-04-12 18:06:50 +02: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)
ff100e2656
Add option to use ocean-floor-heightmap to improve cave-detection 2022-10-23 00:52:39 +02:00
Lukas Rieger (Blue)
c6019c722d
Little improvements here and there 2022-10-19 16:25:25 +02:00
Lukas Rieger (Blue)
83806641ac
Add minimum inhabitedTime configuration to maps 2022-08-15 11:43:16 +02:00
Lukas Rieger (Blue)
81574c5176
Rewrite lowres tiles with mutiple LODs 2022-08-07 20:32:55 +02:00
Lukas Rieger (Blue)
4da988d31c
Implement BlueMapAPI v2 2022-07-24 12:10:00 +02:00
Lukas Rieger (Blue)
7389cb1a16
Completely rework ResourcePack and resource-loading 2022-05-28 21:55:41 +02:00
Lukas Rieger (Blue)
e555d558b7
Refactored config management 2022-04-20 22:54:27 +02:00
Blue (Lukas Rieger)
ae00af5860
Support 1.18 worlds, add fabric 1.18 support, start adding forge 1.17.1 2021-11-20 12:31:18 +01:00
Blue (Lukas Rieger)
31910382b0
Apply spotless fixes 2021-09-19 22:15:50 +02:00
Blue (Lukas Rieger)
877100aeb0
More performance tweaking 2021-09-19 19:37:42 +02:00
Blue (Lukas Rieger)
eadf854c50
Fix several lighting issues on high and lowres renders 2021-09-13 19:44:31 +02:00
Blue (Lukas Rieger)
e178f935aa
Rewrite of the render-engine and big performance improvements
- changed most immutable vectors with mutable ones
- dropped 1.12.2 support
- improved caching and block/chunk access
- much more smaller tweaks
2021-07-25 13:08:40 +02:00
Blue (Lukas Rieger)
d88a25ad47
Model-Rewrite: Complete, further performance improvements in progress 2021-07-17 16:06:50 +02:00
Blue (Lukas Rieger)
67a0e2a0bf
Improve Version-Management and add support for variable world-heights to be able to support custom 1.17 worlds 2021-06-04 11:25:05 +02:00
Blue (Lukas Rieger)
c0edb3d294
Update gradle, update configurate-library and improve gradle build 2021-05-16 18:13:30 +02:00
Blue (Lukas Rieger)
16237d292a
Implement file-watchers and remove events that are not needed anymore 2021-05-02 14:51:42 +02:00
Blue (Lukas Rieger)
27295cb988
Intermediate commit: Lots of redesigning with the RenderManager and Render-Tasks 2021-04-24 22:11:26 +02:00
Blue (Lukas Rieger)
9c8ff358b1 Periodically ensure caches are kept clean 2020-08-26 17:25:45 +02:00
Blue (Lukas Rieger)
c63ec971d6 Fix players not shown after spigot reload and tidy up a lot of exception-handling 2020-08-19 20:17:49 +02:00
Blue (Lukas Rieger)
ca4fec8c1a Remove now unneeded exceptions 2020-07-29 20:11:25 +02:00
Blue (Lukas Rieger)
ba69d26c85 Fix loading and saving of markers.json to correctly merge changes 2020-04-20 12:33:55 +02:00
Blue (Lukas Rieger)
2f79c61d8c Remove unwanted log 2020-04-16 15:42:20 +02:00
Blue (Lukas Rieger)
eb93b7d1ab Fix some issues with rendering with map-limits 2020-04-16 15:31:33 +02:00
Blue (Lukas Rieger)
5421f956d2 Fix lighting bug and two bugs with resource-loading 2020-03-25 21:54:59 +01:00
Blue (Lukas Rieger)
db208d4b8f No longer bake the ao and lighting data (breaking change) 2020-02-11 19:35:35 +01:00
Blue (Lukas Rieger)
f62130f2cc Improve biome-coloring and add support for 1.15 format chunks with 3d biomes 2020-02-08 17:21:13 +01:00
Blue (Lukas Rieger)
190d65ca7f Added radius-render command and some small improvements 2020-02-06 19:26:51 +01:00
Blue (Lukas Rieger)
3e2fa6dd59 Little improvement and tentative fix for #12 2020-01-19 12:08:58 +01:00
Blue (Lukas Rieger)
1af2a8c86d Reorganize config, add render-bounds and make some optimizations 2020-01-10 17:54:36 +01:00
Blue (Lukas Rieger)
538f1f7887 Add id:meta and biome debug info to debug command 2020-01-07 18:19:35 +01:00
Blue (Lukas Rieger)
76ea6e1918 Remove the BlockContext concept and move the functionality to the Block itself, this improves Render-Speed by A LOT! 2020-01-06 15:15:25 +01:00
Blue (Lukas Rieger)
3e87768d25 Fix some invalid documantation 2020-01-06 13:09:11 +01:00
Blue (Lukas Rieger)
b15fc534e6 Remove ChunkNotGeneratedException and treat not loaded chunks just empty when rendering 2020-01-06 13:04:19 +01:00
Blue (Lukas Rieger)
c1bcd4733d Remove WorldChunk because we just live better without that concept 2020-01-05 19:45:44 +01:00
Blue (Lukas Rieger)
bfdf7fa7ce Add bluemap:missing block and basic unit tests.
The bluemap:missing block will be used as fallback if bluemap cant render another block for some reason.
The unit tests are just the setup, they will need to catch up over time ^^
2020-01-05 18:52:30 +01:00