Commit Graph

67 Commits

Author SHA1 Message Date
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
Alexander Medvedev
1d7c72ba5b fix: water swimming bug 2026-04-09 22:18:21 +02:00
RB007
7c3b41ba32 feat: forest rock feature (#1885)
* feat: forest rock feature

* chore: migrate feature to use BlockState
2026-04-09 20:32:12 +02:00
RB007
eb57afe52c feat: basalt pillar feature (#1884) 2026-04-09 08:18:55 +02:00
BitForge
4916c05997 fix(entity): consolidate hurt sound parity for slime and shared dispatch families (#1935)
* fix(entity): derive hurt sound parity from generated mapping

Keep slime hurt sounds in runtime because they depend on entity size.\n\nMove enderman and undead-family hurt sound mappings into generated data so living.rs dispatches through a shared lookup instead of owning a hardcoded table.

* refactor(entity): derive hurt sound lookup from entities data

The Extractor companion now emits hurt_sound through entities.json. Keep Pumpkin's hurt_sound_for_entity_type helper narrow and generated while moving its source of truth to entity data.

Slime remains a runtime special case because its hurt sound depends on size rather than static entity metadata.

* refactor(entity): fold hurt sound helper into entity codegen

Move hurt-sound helper generation into the existing entity codegen path.

Remove the standalone helper builder and generated file now that hurt_sound is sourced from entities.json. Runtime dispatch stays unchanged and slime remains a runtime size-based exception.

* refactor(entity): inline hurt sound into EntityType

Remove the standalone entity_hurt_sound feature and helper path.

Hurt sounds now live directly on generated EntityType values, while runtime behavior stays the same and slime remains the size-based runtime exception.
2026-04-08 19:33:45 +02:00
Alexander Medvedev
878116ceff fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1976 2026-04-08 11:01:29 +02:00
Alexander Medvedev
1e196cfe34 fix: arrows not damage non living entities 2026-04-07 14:04:41 +02:00
RB007
7760292c2e feat: basalt columns feature (#1882)
* feat: basalt cols 🪨

* chore: revert block.rs
2026-04-07 11:35:32 +02:00
Alexander Medvedev
eb8931f5f3 fix: < 26 item ids 2026-04-06 17:52:31 +02:00
Alexander Medvedev
82ce8e9633 chore: chunk gen just got a bit faster 2026-04-06 13:07:53 +02:00
Alexander Medvedev
0656aec158 fix: some bugs 2026-04-03 18:35:34 +02:00
Alexander Medvedev
4848ca52cc chore: finish 26.1 chunk generation port 2026-04-02 17:12:10 +02:00
Alexander Medvedev
ed15c00307 chore: surface rules: parse some block/states directly 2026-04-01 23:21:52 +02:00
RB007
3986682b34 feat: add disk features to worldgen (#1879)
* feat: add disk features to worldgen

* fix: get surface features to compile

---------

Signed-off-by: RB007 <36972202+RoosterBooster007@users.noreply.github.com>
2026-03-31 10:41:03 +02:00
Alexander Medvedev
a111cf3f20 fix: < 26.1 Support 2026-03-31 09:44:08 +02:00
RB007
3c43f9715e fix: end portal crash and island setup (#1945)
* fix: use noise_sampler

* fix: end portal teleportation and generation

* feature: dragon fight start (improved main end island)
2026-03-31 09:21:11 +02:00
Alexander Medvedev
0635b048b5 Port to 26.1 2026-03-30 16:43:15 +02:00
HairlessVillager
974bdd98a6 chore: add license to Cargo.toml files (#1927) 2026-03-28 15:47:15 +01:00
Grooble
c6bf417773 fix: make some gamerules take effect, feat: ItemModel data components (#1849)
* feat: add ItemModel data component

* fix: advance_time gamerule now stops sun moving clientside

* fix(mob spawning): respect gamerules & difficulty

* feat(ItemModel): read from nbt

* feat: add Consumable data component, doesn't support consume effects yet

* feat(DataComponents): add Consumable consume effects & add Equippable

* fix: SoundEvent deserialization

* fix: duplicate import

* fix: rebase issues

* fix: SoundEvent deserialization

* fix: format and spelling
2026-03-24 08:56:49 +01:00
RB007
655e69fc66 feat: vegetation patch features (#1708)
* feat: vegetation features

* refactor: surface_direction helpers

* fix: several issues

* refactor: add with_waterlogged helper to Block/BlockState

* refactor: small changes and added helpful comments
2026-03-20 09:43:28 +01:00