Commit Graph

19 Commits

Author SHA1 Message Date
zhangxuan
f2ed9a07e4 fix: 🐛 Fixed that a slime appears after a magma cube died (#2826)
* fix: 🐛 Fixed that a slime appears after a magma cube died

* style: 🎨 Code formatting
2026-08-09 10:07:03 +02:00
Dark Star
97160c3566 docs(plugin-api): explain how plugins persist data (#2820) 2026-08-09 10:06:31 +02:00
xRookieFight
d150d78cfa fix(worldgen): skip jigsaw blocks whose final state is a structure void (#2840) 2026-08-09 10:04:10 +02:00
ZlordHUN
50fe9f7cd7 fix: Bedrock block breaking feedback (#2829) 2026-08-08 16:14:10 +02:00
Alexander Medvedev
e5047bd4c9 fix: data component try_from_name 2026-08-08 16:12:56 +02:00
Alexander Medvedev
49360e53ef chore: clippy enforce unwrap_used, expect_used and panic
release is not far
2026-08-08 13:44:51 +02:00
xRookieFight
0eb7b936db fix: encode skin parts metadata per client version (#2815) 2026-08-08 08:59:08 +02:00
Alexander Medvedev
63d97e2c82 refactor(inventory): replace per-slot Arc<Mutex<ItemStack>> with container-level synchronization 2026-08-07 21:45:05 +02:00
ZlordHUN
ffcf09ece4 chore: remove bedrock raknet (#2811)
* Remove legacy RakNet transport

* Replace RakNet status with NetherNet discovery

* Restore Bedrock server-list status

* Remove NetherNet LAN discovery

* Remove unused AES dependency
2026-08-07 20:00:41 +02:00
Alexander Medvedev
7e2505b055 feat: add fetchprofile command 2026-08-07 14:01:03 +02:00
Alexander Medvedev
19ccd152f1 feat: add waypoint command 2026-08-07 10:58:46 +02:00
xRookieFight
7e60303689 fix: flatten hover event nbt fields (#2798) 2026-08-07 10:10:44 +02:00
MCbabel
69e3ff7c7c fix(world): size proto chunks by the dimension, not by the noise settings (#2803)
`ProtoChunk::new` took its height from the noise settings while
`Chunk::build_level_sections` builds and reads back `dimension.height / 16`
sections. The End and the Nether are the two dimensions taller than their noise
settings (256 vs 128), so their proto chunks held 8 sections for the 16 the
level chunk asks for and `get_block_state_raw` indexed past the end of
`flat_block_map`, panicking on every generation thread. The same mismatch left
light data covering half the column and dropped features placed above y = 128.

A chunk spans its dimension, as in vanilla's `LevelHeightAccessor`; the noise
settings only bound the vertical window the generator writes into. `ProtoChunk`
now carries both, storage sized by the dimension plus a generation window built
with `GenerationShapeConfig::trim_height`, so surface rules, carver height
providers and feature placement keep resolving against y < 128 there.

The panic quoted in the issue (`chunk_density_function.rs`, len 99 index 129)
was the same conflation in `populate_noise` and is already fixed by 3c43f971.
2026-08-07 10:10:00 +02:00
MCbabel
b0d2dfa434 fix(world): load level.dat instead of discarding it (#2804)
`AnvilLevelInfo::read_world_info` validated the version tags and then returned
`LevelData::default(Seed(0))`, so level name, difficulty, spawn, world border
and data packs were discarded on every start, and the writer emitted only
`DataVersion`, `version` and `LastPlayed`, truncating the rest on save. A world
whose seed lives in level.dat's legacy `Data.WorldGenSettings` compound, as
converters such as Chunker emit, therefore loaded with seed 0 and generated
foreign terrain into its existing region files.

level.dat is now read and written tag by tag through pumpkin-nbt, every field
falling back to its vanilla default, so a missing optional tag such as
`Version.Series` no longer costs the whole file. Saving merges into the existing
`Data` compound, so tags Pumpkin does not model survive. A world with no seed
in either file aborts startup instead of silently regenerating, and the seed is
mirrored into level.dat, the only world file that is backed up. Version tags are
re-stamped with the current constants on save so level.dat stays consistent with
the chunks Pumpkin writes.
2026-08-07 10:09:06 +02:00
ZlordHUN
f2444bcefd feat(bedrock): update to 1.26.40 and add NetherNet transport (#2797)
* feat(bedrock): update to 1.26.40 and add NetherNet transport

* fix(bedrock): update remaining 1.26.40 packet schemas

* fix(bedrock): complete NetherNet and inventory migration
2026-08-07 08:34:10 +02:00
Alexander Medvedev
caf954d170 fix: mega pine trees 2026-08-06 16:16:12 +02:00
Alexander Medvedev
0b7e093c58 fix: tests 2026-08-06 14:26:27 +02:00
Alexander Medvedev
74e7ad2909 fix: ci in release 2026-08-06 13:30:51 +02:00
Alexander Medvedev
cb3660bcd2 chore: move to crates folder 2026-08-06 12:56:40 +02:00