Commit Graph

1552 Commits

Author SHA1 Message Date
Nicolas F f7c027bd6c Revert "genpoi: ignore dat files with incomplete player info"
This reverts commit 44ffb2658e.

Breaks player handling in genpoi.
2022-07-17 00:12:08 +02:00
Andrew Chin 44ffb2658e genpoi: ignore dat files with incomplete player info
This can happen for worlds that are generated by something other than
minecraft.

Closes #2055
2022-07-14 20:45:39 -04:00
Nicolas F 8c4184dfdd Add muddy mangrove roots 2022-06-23 16:36:12 +02:00
Nicolas F 8dc2da3648 Add some mangrove stuff
btw I'm Pomu!
2022-06-23 16:22:46 +02:00
Nicolas F d3c85da510 world: turn the double slab lookup into a dict lookup
This code was extraordinarily stupid, and now it's still bad but
slightly less stupid.
2022-06-23 16:01:08 +02:00
Nicolas F 4ac1b976a9 Add some mud blocks
I hate this codebase so much.
2022-06-23 15:37:15 +02:00
Nicolas F 9d4f2cfe0b Require 1.19 textures 2022-06-23 15:13:08 +02:00
Wunkolo cbd9496143 block_class: Complete x86-SIMD
Accelerates `block_class_is_subset` with all available x86 simd features
up to AVX512.
2022-06-15 11:06:16 -07:00
Nicolas F 4e51b21652 world: fix pre-21w43a workaround being applied when sections is missing
Sometimes, chunks don't have a sections key, but aren't pre-21w43a.
Fix this check to use DataVersion to determine whether it should be
applied.

Hopefully fixes #2010.
2022-06-07 22:58:46 +02:00
Nicolas F f80936cb66 overviewer.h: bump extension version 2022-05-16 20:02:55 +02:00
Andrew Francis Thomas 7a55d33e8f Fixed custom depth rendering 2022-05-16 19:57:01 +02:00
Andrew Francis Thomas acf6479f4c Fixed nether ceiling removal 2022-05-16 19:57:01 +02:00
Andrew Francis Thomas 58566457b6 Fixed coordinate calculation in util.js 2022-05-16 19:57:01 +02:00
Andrew Francis Thomas 25bf1f5274 Added check for tileset version to forcerender on breaking change 2022-05-16 19:57:01 +02:00
Andrew Francis Thomas 09e796b5cd Updated spawnY to match lowest reasonable spawn coordinate 2021-12-15 23:48:37 -07:00
Andrew Francis Thomas a24ad4cb55 Fixed rendering of new height and depth limit in 1.18 2021-12-15 15:26:45 -07:00
Simon Walker b059fec60a POIs: Add additional tag to search for entities
In 1.18, it looks like entities are now stored under the NBT tag
`block_entities`. This change adds block_entities to the list of NBT
tags POIs are searched for under.
2021-12-08 20:42:22 +00:00
Nicolas F 9f9cd1ea71
Merge PR #1963 from buscher
Added more 1.17 blocks
2021-12-05 23:35:16 +01:00
Marijn van Wezel f6ee2cf2fd
Add compatibility for 21w39a and 21w43a snapshots 2021-11-10 20:37:19 +01:00
Bernd Buschinski 2c0e9681bb Added more 1.17 blocks
- Added Powder Snow
- Added Hangings Roots
- Added Amethyst Buds
- Added Cave Vines
- Added Lightning Rods
- Added Glow Lichen
- Added Spore Blossom
- Fixed Cauldron Render
- Added Water Cauldron
- Added Lava Cauldron
- Added Power Snow Cauldron
- Added Moss Carpet
2021-07-29 16:52:27 +02:00
Nicolas F 2402e410cf overviewer.h: bump extension version 2021-07-28 10:29:37 +02:00
Nicolas F 08e628c39a Merge PR #1959 from buscher 2021-07-28 10:28:30 +02:00
Bernd Buschinski 38762b9ff7 Fixed edge-lines and side rendering for snow layers 2021-07-15 15:54:15 +02:00
Bernd Buschinski fc8a87fe2a Add pointed dripstone 2021-07-11 18:05:54 +02:00
Nicolas F 86b241a5f7 Fix rendering onto mounted CIFS shares
You still shouldn't do it for performance reasons but I guess
now you can do it in theory. Yay.
2021-07-10 19:58:11 +02:00
Nicolas F dab3268b3b overviewer.h: bump C extension version 2021-07-10 11:23:59 +02:00
Nicolas F 352102552a Merge PR #1957 of buscher
Fix fence connection
2021-07-10 11:18:56 +02:00
Nicolas F e254e6a192 world: fix the unknown regions warning in 1.17
Fixes #1948.
2021-07-10 11:05:40 +02:00
Bernd Buschinski 327b4711db Fix fence connection
- use ingame data
2021-07-08 18:29:03 +02:00
Bernd Buschinski c577ccdafb Fixed bad copy&paste function name 2021-06-20 11:37:01 +02:00
Bernd Buschinski 2fde7a961a Added deepslate stairs, walls and slabs
- Reordered (new) IDs for better grouping
- Fixed rotation of purpur pillar, basalt and smooth basalt
2021-06-19 16:28:14 +02:00
Bernd Buschinski 6643af756e Added more 1.17 blocks
- only non-rotational full blocks
2021-06-16 20:49:29 +02:00
Nicolas F 4b2035e1f9 textures: add cut copper slabs
Also fix copper stairs stuff not being in alt_height.
2021-06-14 21:58:47 +02:00
Nicolas F c1f1c31119 textures: add cut copper stairs 2021-06-13 11:43:10 +02:00
Nicolas F eddb0f2375 textures: add copper ore and raw copper block 2021-06-12 11:37:18 +02:00
Nicolas F cb375e6788 textures: add cut copper 2021-06-11 21:33:49 +02:00
Nicolas F d8e469b313 nbt: eagerly load the entire MCR on chunk load
During the first call to get_chunk, we can simply read the whole
region file into a BytesIO object. By then re-reading location
and timestamp data, we might make scrambled maps a lot less
likely.

Hopefully mitigates #1888.
2021-06-11 20:59:40 +02:00
Nicolas F 70e739916c biome: don't use new Python syntax because Debian
lol
2021-06-11 20:04:39 +02:00
Nicolas F 9081f78ba6 biome: fix crash on depth increased worlds
Unsurprisingly, my code was at fault.

Does not yet render any of the new data. Just fixes parsing it.

Closes #1902.
2021-06-11 20:00:01 +02:00
Nicolas F f2afeda287 world: fix rendering grass paths on maps < 1.17 2021-06-11 09:47:59 +02:00
Nicolas F 9df56fc30a overviewer.h: bump C extension version 2021-06-10 19:35:46 +02:00
Nicolas F ea4b543e74 Merge PR #1943 from buscher 2021-06-10 19:34:11 +02:00
Nicolas F 6097461494 Merge PR #1941 from buscher 2021-06-10 19:26:11 +02:00
Nicolas F e729addd23 textures: add some of the new copper blocks 2021-06-10 19:24:01 +02:00
Nicolas F 6ece5c0735 textures: update error message for 1.17 2021-06-10 17:56:14 +02:00
Nicolas F 257975383d textures: add budding amethyst 2021-06-10 17:53:14 +02:00
Nicolas F 66195f6fc7 textures: add amethyst block, raw iron, raw gold 2021-06-10 17:42:30 +02:00
Nicolas F c717b7170f world: fix dirt path rendering for 1.17 2021-06-10 17:34:46 +02:00
Nicolas F 81bfbc0a15 world: fix warnings regarding unknown region types 2021-06-10 17:23:23 +02:00
Nicolas F 1beb5799b5 textures: use new name for path block on 1.17
Fixes rendering with 1.17 textures and no 1.16 fallback,
breaks rendering for anything using 1.16 textures.
2021-06-10 17:22:23 +02:00