Nicolai Van der Storm
42f6b9ce3f
fix(protocol): remap item/block state IDs and entity metadata for older Java clients ( #2185 )
...
* fix(protocol): remap item/block state IDs and entity metadata for older Java clients
The server was using reversed ViaVersion mappings (designed for old→new)
to downgrade packets for older clients, which produced ID collisions and
incorrect fallbacks for 26.1-exclusive items and block states.
Changes:
- Replace ViaVersion with ViaBackwards mapping files for item ID and
block state remapping, which provide the correct new→old direction
with proper closest-item fallbacks for 26.1-exclusive content
- Fix CSetEntityMetadata to remap ItemStack item IDs per client version,
matching the version-aware handling already done for inventory packets
and block state metadata
- Fix TrackedData codegen to resolve Java JSON keys correctly by trying
both bare names and DATA_-prefixed names, and iterate the union of all
version keys instead of only the latest (Bedrock) version
- Fix LootCondition::MatchTool to default to false instead of true,
preventing silk-touch loot table branches from always winning and
causing ores to drop themselves instead of their correct items
Fixes: block drops invisible on older Java clients
Fixes: leather showing as milk bucket on 1.21.11
Fixes: coal ore dropping coal ore instead of coal
Fixes: 26.1-exclusive blocks showing as wrong blocks on older clients
* fix(codegen): remove #[must_use] from trait impl methods in generated code
* fix(codegen): switch entity, sound and block state remapping to ViaBackwards mappings
---------
Co-authored-by: Missing_Love <42416195+Q2297045667@users.noreply.github.com >
2026-05-27 15:22:17 +02:00
Alexander Medvedev
3629f43dcc
fix: disable cave carver for now
...
fixes some issues
2026-05-23 16:36:08 +02:00
Alexander Medvedev
bd544271e2
feat: more loot table work
2026-05-22 22:23:47 +02:00
Laptop59
fd0539c2a7
feat(command): slot argument types ( #2170 )
...
* argument types implemented
* tested parsing in-game and on the terminal
* fixed doc comment
2026-05-22 16:30:26 +02:00
Alexander Medvedev
d47ac2cd51
feat(loot-table): add luck
2026-05-21 22:20:00 +02:00
Alexander Medvedev
2fcc9bcf4a
chore: enforce some more clippy lints
...
pumpkin contributors will love me :cap:
2026-05-20 22:27:54 +02:00
Alexander Medvedev
330a68054f
chore: replace String with ConfiguredFeatures enum
2026-05-19 20:19:46 +02:00
Alexander Medvedev
c7a9d5935a
chore: replace String with PlacedFeatures enum
2026-05-19 20:08:58 +02:00
Demetrius Kanios
81f9f51d39
feat: Implement Bedrock NBT (network variant) ( #2148 )
...
* Implement Bedrock (Network) NBT
* Refactor to reduce dup between Java and Bedrock impls.
* Add tests, fuzzers, and benchmarks for Bedrock
2026-05-18 21:46:29 +02:00
Alexander Medvedev
95893b7463
feat(plugin-api): add get biome
2026-05-16 21:22:08 +02:00
Alexander Medvedev
e2ff17d6f0
feat(plugin-api): allow to register custom recipies
2026-05-16 20:56:29 +02:00
Alexander Medvedev
0c56e47f43
feat(plugin-api): parse data_component and enchantment to .wit
2026-05-16 18:43:41 +02:00
Demetrius Kanios
26c4d6abd2
chore: Ensure generated_packets.rs gets formatted, fix WIT, and rerun pumpkin-codegen ( #2143 )
...
* Ensure `generated_packets` gets formatted, and rerun `pumpkin-codegen`.
* Add import to generated WIT for `uuid`
2026-05-16 11:34:52 +02:00
Alexander Medvedev
966fbec3d3
feat(plugin-api): add java/bedrock abstraction
2026-05-16 09:56:18 +02:00
Alexander Medvedev
5aafff35e8
feat: add bedrock forms
2026-05-15 18:24:28 +02:00
SomeYellowGuy
f383c88c76
feat(codec): implement Encode and Decode for some pumpkin-util items and convenience codec macros ( #2111 )
...
* added identifier codec
* added codec impls for `Vector2<T>` and `Vector3<T>`
* added codec impl for `BlockPos`
* added codec impls for `BlockBox` and `EulerAngle`
* fixed formatting and clippy
* added `BlockPos` test
* fixed clippy and formatting
* fixed codec mapping macros and started using them in tests
* fixed formatting
2026-05-15 08:45:49 +02:00
RB007
b2b10f3323
feat: chest loot tables ( #2084 )
...
* feat: add vanilla chest loot table json files
* feat: codegen and chest loot logic
Co-authored-by: Copilot <copilot@github.com >
* fix: monster_room loot chests
* fix: nether_fortress loot chests
* fix: shuffle item stacks and fmt/clippy
Co-authored-by: Copilot <copilot@github.com >
---------
Signed-off-by: Alexander Medvedev <lilalexmed@proton.me >
Co-authored-by: Copilot <copilot@github.com >
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me >
2026-05-15 08:43:51 +02:00
AurelienFT
ed3465b75c
feat: Add root placement for mangrove trees ( #2137 )
2026-05-15 08:39:41 +02:00
AurelienFT
e6070e6d6a
feat: add generation of vines on leaves ( #2136 )
2026-05-14 20:48:59 +02:00
Alvsch
d74b7edf09
fix: packet codegen and export more wit ( #2120 )
2026-05-10 20:51:09 +02:00
Alexander Medvedev
1abfb195de
feat: add Crossbow
2026-05-10 16:43:42 +02:00
Alexander Medvedev
2bfe2335f0
feat: inital mob spawn rules
2026-05-10 11:09:38 +02:00
Alexander Medvedev
45867d33e2
feat(plugin-api): initial packet api
2026-05-08 21:42:37 +02:00
Alexander Medvedev
4c26afc708
feat: add map creation
2026-05-08 11:24:35 +02:00
Alexander Medvedev
4e3268b140
feat: add stonecutter
2026-05-07 22:02:52 +02:00
ChocoDev
2586d46380
feat: cross version sound id remapping ( #2103 )
2026-05-07 11:14:15 +02:00
Alexander Medvedev
63d39f46d4
feat: add enchanting table
2026-05-06 22:29:29 +02:00
Alexander Medvedev
fd56a5be7a
feat(chunk-gen) add scattered ore, twisting vines, blue ice
2026-05-06 18:59:36 +02:00
Alexander Medvedev
c9c05bb6ec
feat(chunk-gen): add RootSystem feature
2026-05-06 17:52:21 +02:00
Alexander Medvedev
ed12db09ce
feat(chunk-gen): add lake feature
2026-05-06 16:16:45 +02:00
Alexander Medvedev
f5397dd85a
feat(chunk-gen): add SculkPatchFeature
2026-05-06 15:50:34 +02:00
Alexander Medvedev
9b88ef56e4
feat: bedrock translations
2026-05-03 21:31:46 +02:00
Alexander Medvedev
501fd0ced5
feat: Entities drop exp now
2026-05-02 16:24:08 +02:00
Alexander Medvedev
fdd2684432
feat: add Villager trading
...
currently job selection is missing
2026-05-01 14:34:05 +02:00
Alexander Medvedev
7fe705c7eb
feat(chunk-gen): add carver
2026-05-01 12:26:49 +02:00
Demetrius Kanios
081e1d7e64
feat(bedrock): Update Bedrock support to 26.10 ( #2067 )
...
* Update Bedrock support to 26.10
Co-authored-by: A. Jakubiak <contact@jakubiak.fr >
* Fix key extraction for self-signed
* Restructure login to fix resource pack race condition
* Undo unrelated changes to blocks
* Fix relavent clippy warnings.
---------
Co-authored-by: A. Jakubiak <contact@jakubiak.fr >
2026-04-30 20:22:59 +02:00
Alexander Medvedev
6581924760
revert: 31a56879
2026-04-30 18:06:00 +02:00
Demetrius Kanios
1fcdb71da7
fix: clippy warnings in generated pumpkin-data block.rs ( #2072 )
2026-04-30 13:55:19 +02:00
Alexander Medvedev
427df56935
chore: parse double perlin noise samplers amplitude at compile time
2026-04-29 16:08:21 +02:00
Alexander Medvedev
fdf8ff5fd8
chore: Remove Integer0ToX
2026-04-29 14:57:11 +02:00
SomeYellowGuy
513477d1cf
fix(codec): replace codec and map codec structs with Encode and Decode traits and their field versions ( #2051 )
...
* removed codecs in favor of the `Encode` and `Decode` traits and their derivatives
* placed more exports in the `pumpkin-codecs` lib
* split primitives into their own folder and added some tests
* added `Either` support and added a simple test for it
* fixed linting for tests
2026-04-21 16:38:25 +02:00
Alexander Medvedev
31a5687937
chore(performance): flat compiled surface rules, no recursion at runtime
...
Decreased the surface function from taking 18% to 7%
2026-04-20 22:31:32 +02:00
Alexander Medvedev
d048c33870
chore: prepare 1.20.5
2026-04-18 21:01:44 +02:00
Alexander Medvedev
32c5530d6c
feat: implement remaining tree types
2026-04-16 22:30:43 +02:00
Alexander Medvedev
e9423dcb9c
chore: add encoder fuzzing
...
ofc nothing more :wink
2026-04-16 20:32:19 +02:00
RB007
ead5cae611
feat: (small) end island feature ( #2023 )
...
* feat: end island feature
* chore: remove duplicate chorus_plant entry + other updates
2026-04-14 20:11:27 +02:00
RB007
1d70ec5fa7
feat: chorus blocks and feature ( #2021 )
2026-04-14 09:04:46 +02:00
RB007
b8c7067d21
feat: iceburg feature ( #1890 )
...
Signed-off-by: RB007 <36972202+RoosterBooster007@users.noreply.github.com >
2026-04-10 11:16:21 +02:00
RB007
57e9c57244
feat: ice spike feature ( #1887 )
2026-04-10 09:14:05 +02:00
RB007
39a2677f87
feat: snow and ice feature ( #1886 )
...
* feat: snow and ice feature
* fix: update configured_feature.rs
---------
Signed-off-by: Alexander Medvedev <lilalexmed@proton.me >
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me >
2026-04-09 22:22:08 +02:00