Commit Graph

1130 Commits

Author SHA1 Message Date
Lukas Rieger (Blue)
3db6833fc6
Move region-file watch service into World interface 2024-05-22 15:45:06 +02:00
Lukas Rieger (Blue)
20aa0a72f5
Apply spottless fixes 2024-05-21 22:24:31 +02:00
Lukas Rieger (Blue)
3faf2f0135
Only rebuild webapp if clean-build or there were changes 2024-05-21 22:23:57 +02:00
Lukas Rieger (Blue)
d77d90c658
Fix some issues with the previous commit 2024-05-21 20:57:08 +02:00
Lukas Rieger (Blue)
d7dd8931a5
Remove all usages of java.io.File and bad usages of Path.of() 2024-05-21 16:32:28 +02:00
Lukas Rieger (Blue)
ce25eb52e3
Small improvements, make webserver more accessible for addons 2024-05-20 21:43:50 +02:00
Lukas Rieger (Blue)
93d8876b20
Rework StateDumper 2024-05-15 23:47:25 +02:00
Lukas Rieger (Blue)
3cd3f1d032
Switch to correct lz4 compression type 2024-05-15 01:20:46 +02:00
Lukas Rieger (Blue)
0b111463be
Apply spotless fixes 2024-05-15 00:46:37 +02:00
Lukas Rieger (Blue)
b330c5d168
Improve readabillity 2024-05-15 00:45:34 +02:00
Lukas Rieger (Blue)
2029fe0a87
Add support for dimension-type directly stored in level.dat (#517) 2024-05-15 00:41:59 +02:00
Lukas Rieger (Blue)
2777846cf8
Fix max-height calculation (#535) 2024-05-15 00:01:54 +02:00
Lukas Rieger (Blue)
1b26803527
Update Caffeine, use soft values for chunk caches 2024-05-12 20:11:31 +02:00
Lukas Rieger
7cdc8213fa
Merge pull request #538 from Salzian/parallel-settings-loading
Parallelized initial settings loading
2024-05-09 12:40:51 +02:00
Salzian
fe5c1fa785 Parallelized initial settings loading 2024-05-08 23:47:50 +02:00
Lukas Rieger (Blue)
909642d4c3
apply spotless fixes 2024-05-08 19:51:59 +02:00
Lukas Rieger (Blue)
05bbd2b481
Fix some more resource formatting 2024-05-08 19:37:40 +02:00
Lukas Rieger (Blue)
36c1d3f7ac
Restructure resource-extensions, fix some issues and add support for biome grass_color_modifier 2024-05-08 19:31:36 +02:00
TyBraniff
a311fc1cef
Devolvement of issues #145 + missing signs (#536)
* Create cherry.json

* Create bamboo.json

* Create wall_cherry.json

* Create wall_bamboo.json

* Merging project

Merging TysFixes resource pack with main Bluemap

* Update blockColors.json

Merging TysFixes Phase3

* Merging projects

Adding everything from TysFixes Resource pack to core bluemap

* Update decorated_pot.json

* Update dragon_head.json

* Update dragon_wall_head.json
2024-05-07 16:48:22 +02:00
Lukas Rieger (Blue)
81fe41fd2b
Renderstate rewrite, and moving biomes to datapacks, mc-version and vanilla-resources and resource-extensions rewrite (wip) 2024-05-07 16:45:24 +02:00
Lukas Rieger (Blue)
a6402850c9
Fix delete statements doing a full table scan 2024-04-18 15:46:45 +02:00
Lukas Rieger (Blue)
37dd18190b
Fix sqlite purgepurgeMapTilesStatement 2024-04-17 00:06:03 +02:00
Lukas Rieger (Blue)
fa966c4363
Change popup-marker to always be in front of other markers 2024-04-08 13:37:34 +02:00
Lukas Rieger (Blue)
240ca6c00e
Fix some issues with the new sql-storage implementations 2024-04-07 12:55:41 +02:00
Lukas Rieger (Blue)
f18f7a9a16
Update vite 2024-04-06 01:36:26 +02:00
Lukas Rieger (Blue)
f66437ac83
Apply spotless fixes 2024-04-06 01:33:24 +02:00
Lukas Rieger (Blue)
fdf242acdf
Rework storages to make them extensible with addons 2024-04-06 01:26:16 +02:00
Lukas Rieger (Blue)
7e7b1e4f53
Fix workflow name 2024-04-04 02:13:03 +02:00
Lukas Rieger (Blue)
f097517320
Publish BlueMapCore and BlueMapCommon to BlueColored repo 2024-04-04 02:07:09 +02:00
Lukas Rieger (Blue)
ee3ab6ff9a
Make use of updated spigot api to send command-messages in a better way 2024-03-29 13:39:12 +01:00
Lukas Rieger (Blue)
498a4f3190
Minimum required Java version is now 16, drop support for spigot versions < 1.16.5 2024-03-29 13:08:59 +01:00
Lukas Rieger (Blue)
757979b7b4
Implement equals and hashCode for BlueMapMap and BlueMapWorld 2024-03-24 00:07:10 +01:00
Lukas Rieger (Blue)
6e8247ae3a
Tentative fix for flickering with some custom animated textures 2024-03-21 14:40:20 +01:00
Gerber Lóránt Viktor
a847e247e5
Add mechanism for retrieving BlockEntity data (#524)
* 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.

* Fix the coordinate-packing for block entity-loading

This commit fixes the incorrect shifting of bits when
packing the chunk-local coordinates of a block entity
into a 64-bit long for lookups.

* Change mapping type of BlockEntity lookups

This commit changes the type stored for BlockEntity
mappings from a class of the type associated with the
ID to a method reference to its constructor.

* Tidy BlockEntity mappings

This commit introduces a small functional interface
to make the type less ungodly. Also silences the warning
about referencing subclasses in the superclass, it is
fine in this case, we're just storing a reference to
the constructor.

* Add missing license headers

The license headers were missing. Oops.
2024-03-20 23:23:03 +01:00
Lukas Rieger (Blue)
2689cd10e0
Merge branch 'master' of https://github.com/BlueMap-Minecraft/BlueMap 2024-03-20 22:05:51 +01:00
Lukas Rieger (Blue)
b60b14372f
Fix menu-title of player-markers not translatable 2024-03-20 22:05:38 +01:00
Gerber Lóránt Viktor
10fb88df4b
Make TextureVariable references align with game behaviour (#525)
While the current implementation of reference handling in
this class was the correct way to go (only handling
texture names starting with # as references), the game is
happy to accept references without a leading hashtag, since
it just chops it off and continues on the same code path
regardless.

This commit makes the reference handling in BlueMap align
with this behaviour, potentially allowing "broken" models
to render as they do in game.

This method works for reference resolving, since if a string
passed into the texture field contains a ':' then it must be
a namespaced key, and if it contains a '/' it has to be a
resource key, because the 'minecraft' namespace is implied
in these cases. The other way around, if someone were to pass
in a string like 'oak_planks', it is safe to assume it is a
reference, since the implied resource key would be
'minecraft:oak_planks', but textures aren't at the root level
in that namespace.
2024-03-17 14:56:32 +01:00
Lukas Rieger (Blue)
9fca7b9361
preserve lf lineseparator for config templates 2024-03-17 13:15:07 +01:00
Lukas Rieger (Blue)
a0e9180360
Fix paper-implementation not saving the world on the main thread 2024-03-14 09:17:22 +01:00
Lukas Rieger (Blue)
e9e7042aed
Fix spotless testing for root-modules 2024-03-04 13:10:00 +01:00
Lukas Rieger (Blue)
b27aedc4c2
Fix spotless error 2024-03-04 12:57:49 +01:00
Lukas Rieger (Blue)
0613037093
Fix paper-implementation not detecting additional worlds correctly 2024-03-04 12:50:03 +01:00
Lukas Rieger (Blue)
aecbd23ba7
Implement animated textures 2024-02-26 01:59:28 +01:00
Lukas Rieger (Blue)
2899646adc
Swap chunk-scan direction for future stuff :) 2024-02-25 18:12:27 +01:00
Lukas Rieger (Blue)
c9a8c83d6e
Fix map hires sometimes not loading when loading a map 2024-02-25 15:09:10 +01:00
Lukas Rieger (Blue)
ceb31b68eb
Add more cache-control headers to sql.php 2024-02-25 02:19:40 +01:00
Lukas Rieger (Blue)
b625af695c
Merge branch 'master' of https://github.com/BlueMap-Minecraft/BlueMap 2024-02-25 02:15:45 +01:00
Lukas Rieger (Blue)
908789a815
Add more cache-control headers to integrated webserver 2024-02-25 02:15:34 +01:00
Nikita
c0c946d154
Update ru translation (#515)
Co-authored-by: NikitaCartes-forks <66517597+NikitaCartes-forks@users.noreply.github.com>
2024-02-25 01:26:08 +01:00
Lukas Rieger (Blue)
b02b91d3bb
Use the global cache-hash for settings and textures .json requests 2024-02-25 01:00:20 +01:00