87d4371922
core/metadata_writer: implement filtering for signs
2024-01-10 22:56:30 +01:00
a1dd77c8fd
world/sign: implement Display for SignText
2024-01-10 22:56:30 +01:00
9fd5689ebb
core: add sign pattern command line argument handling
2024-01-10 22:56:30 +01:00
6da921cca3
core: wrap long help texts
2024-01-10 22:56:30 +01:00
fb361145eb
world: add sign position and material information to block entities
2024-01-10 22:56:29 +01:00
9aacd9cc2b
resource: make regular signs transparent
...
For consistency with other sign types. Signs will be shown on a separate
layer.
2024-01-10 22:56:29 +01:00
48a6e242ea
resource: add WallSign flag to block types
...
Allow to distinguish wall signs from freestanding or -hanging signs.
2024-01-10 22:56:29 +01:00
abf87e75ee
resource: add sign material to block types
2024-01-10 22:56:29 +01:00
8814dcff89
resource: split BlockType in Copy and !Copy parts
...
Preparation for actually adding !Copy fields to BlockType.
Only the Copy parts are added to the processed data, avoiding .clone()
for the most part.
2024-01-10 22:56:29 +01:00
1874d3082d
resource: fix typo in doc comment
2024-01-10 22:56:28 +01:00
d29c0df25d
core/metadata_writer: write entity list for viewer
2024-01-10 22:56:28 +01:00
cde6a4b6e6
core: merge entity data for all regions into one file
...
Introduce the EntityCollector, using the TileCollector and TileMerger
traits.
2024-01-10 22:56:28 +01:00
1143396068
core: use debug format for logging errors
...
Show the full cause stack.
2024-01-10 22:56:28 +01:00
0f308788ef
core: split TileMerger out of TileMipmapper
...
Reusable mipmap-style tile merging
2024-01-10 22:56:28 +01:00
7740ce0522
core/region_processor: sort processed block entities
...
Make the block entity list more reproducible when the stored chunk order
changes.
2024-01-10 22:56:27 +01:00
e36ae4601d
world: add Eq + Ord to all block entity types
2024-01-10 22:56:27 +01:00
825cf70e51
core: split TileCollector trait out of TileMipmapper
...
Make mipmap-style recursive processing of tiles reusable.
2024-01-10 22:56:27 +01:00
7297c03567
core/region_processor: store processed block entities for each region
2024-01-10 22:56:27 +01:00
c44f6ab859
io/storage: add JSON support
...
Bincode can't deal with a number of serde's features that would be
desirable if we're using the same Serialize impls for generating JSON
data for the viewer.
2024-01-10 22:56:27 +01:00
5d40d061a4
io/storage: split out inner part of read/write
...
Allow reusing the read/write logic without requiring control over the file
open.
2024-01-10 22:56:26 +01:00
f0e0db63d3
world: process sign data, prepare for serialization
2024-01-10 22:56:26 +01:00
638d5046c9
world/chunk: change Chunk into a struct
...
The version-specific part is extracted as an enum ChunkInner.
2024-01-10 22:56:26 +01:00
61d456846a
world: implement decoding raw JSON text into a linear list of formatted strings
2024-01-10 22:56:26 +01:00
f78dd795ca
world/de: add deserialization of sign block entities
2024-01-10 22:56:26 +01:00
0988ebe095
core/tile_mipmapper: fix file meta version for mipmap tiles
...
The meta version should only change when the outputs must be regenerated
even if the inputs stay the same. This should never be the case for
mipmap tiles, so we separate the meta version from map/lightmap tiles.
2024-01-10 22:56:26 +01:00
f79edb462c
core/common: add better explanation to file meta version definitions
2024-01-10 22:56:25 +01:00
e5d9c813ba
docs/images: add screenshot for sign marker documentation
2024-01-10 22:55:42 +01:00
7b12c4aea3
README.md: some improvements to the "How to use" and "Installation" sections
2024-01-10 22:42:58 +01:00
2e6a200c6c
README.md: reference screenshot by commit ID
2024-01-10 22:07:20 +01:00
f08acd06e2
Merge pull request #44 from neocturne/hide-unknown-warnings
...
Hide unknown block/biome type warnings by default
2024-01-10 13:14:59 +01:00
e8165aa47d
world: hide unknown block/biome type warnings by default
...
While using MinedMap with modded Minecraft version is not officially
supported, it should still work reasonably well if you're okay with
custom block types being invisible and custom biomes using default
grass/color/foliage colors.
Avoid spamming the log with messages for each section in this case
without --verbose, and instead just print a single warning at the end of
processing.
2024-01-10 13:02:29 +01:00
1e41e1bc6a
world/chunk: move SectionIter structs to impl
2024-01-10 13:02:29 +01:00
5273e4b366
CHANGELOG.md: reformat previous release changes
...
Use the "Added" and "Changed" headings like in previous releases.
2024-01-10 13:02:29 +01:00
3a796325ba
Update dependencies
2024-01-10 13:02:29 +01:00
7ea09a46f9
minedmap 2.0.2
2024-01-07 22:28:53 +01:00
96c60b048e
minedmap-nbt 0.1.1
2024-01-07 22:26:12 +01:00
b48cde7ba8
minedmap-types 0.1.2
2024-01-07 22:23:45 +01:00
e856800c3d
minedmap-resource 0.2.0
2024-01-07 22:21:46 +01:00
5602d3d499
CHANGELOG.md: update
2024-01-07 22:15:39 +01:00
fbb99bb467
Update remaining repository URLs
2024-01-07 22:08:55 +01:00
a37dd79a02
Merge pull request #43 from neocturne/mc1.20.3
...
Updates & Minecraft 1.20.3 support
2024-01-05 22:07:29 +01:00
997d807dc7
resource: add short_grass block type
...
Besides adding a number of experimental block types for the 1.21 preview,
Minecraft 1.20.3 also renamed the "grass" block to "short grass"
internally. Add the new block name to avoid warnings during generation.
2024-01-05 21:54:17 +01:00
e5b7838ac5
Update dependencies
2024-01-05 21:54:17 +01:00
cb7f428974
viewer: update to leaflet 1.9.4
2024-01-03 04:57:15 +01:00
a8e0af287b
viewer: update attribution link
2024-01-03 04:56:51 +01:00
fdf44ebc80
viewer: update to use "modern" ECMAScript features
2024-01-03 04:56:47 +01:00
c67f3b8c48
Merge pull request #42 from neocturne/updates
...
Dependency updates & some region processor refactoring
2023-12-30 01:28:04 +01:00
1812e5c6d6
Add type alias for f32 colors to minedmap-resource
...
Allow removing the dependency on a specific glam version from the main
crate.
2023-12-29 20:13:03 +01:00
1432df7c93
Update dependencies
2023-12-29 20:06:52 +01:00
93c1ce9437
core/region_processor: further split up SingleRegionProcessor::run()
2023-11-25 23:17:04 +01:00