Commit Graph

268 Commits

Author SHA1 Message Date
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
d3d13323b2 fix: don't store empty chunks
should be fixed
2026-05-17 13:47:34 +02:00
Alexander Medvedev
e2ff17d6f0 feat(plugin-api): allow to register custom recipies 2026-05-16 20:56:29 +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
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
Alexander Medvedev
1abfb195de feat: add Crossbow 2026-05-10 16:43:42 +02:00
Alexander Medvedev
60bfdf62db Revert a55c42c83 2026-05-10 12:13:33 +02:00
Alexander Medvedev
2bfe2335f0 feat: inital mob spawn rules 2026-05-10 11:09:38 +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
852057aaf6 chore: update bedrock to 26.20 2026-05-06 18:01:17 +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
d33484d057 fix: ender pearl delay 2026-05-02 14:06:49 +02:00
Alexander Medvedev
8060283970 feat: add Anvil 2026-05-01 16:30:14 +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
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
kubeerr
71cddd72bc feat(data-components): add StoredEnchantments (#2042)
* add StoredEnchantments

* small fixes

* undo whitespace in generated files

Signed-off-by: kubeerr <99330393+kubeerr@users.noreply.github.com>

---------

Signed-off-by: kubeerr <99330393+kubeerr@users.noreply.github.com>
Co-authored-by: kubeer <99330393+kubeer@users.noreply.github.com>
2026-04-19 18:08:00 +02:00
Alexander Medvedev
d048c33870 chore: prepare 1.20.5 2026-04-18 21:01:44 +02:00
Alexander Medvedev
a55c42c835 feat: add pnbt 2026-04-18 12:27:22 +02:00
Alexander Medvedev
32c5530d6c feat: implement remaining tree types 2026-04-16 22:30:43 +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
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
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