Commit Graph

1976 Commits

Author SHA1 Message Date
Bjorn Beishline
576d76dfd6 feat: add wasm plugin api (#1675)
* feat: wasm plugin api base

* fix: make metadata macro work

* chore: fix clippy lints

* Implement guest registering of events

* chore: remove hardcoded v0.1.0  dep in wasm_host

* feat: add events to wasm

* feat: add caching of components

* fix: clippy lints

* chore: update Cargo.lock

* fix: add feature flag for link section

* feat: add base for command wit definitions

* feat: implement arg variants for command wit interface

* feat: add commented out command-tree arg variant

* feat: add wit definitions for text-component and command tree

Introduces the text interface with a builder-pattern resource,
argument-type variant, command-node resource, and register-command
on context. Migrates event and command-sender to use the new
text-component resource.

* feat: add stubs for wasm host

* chore: update wasmtime to v42

* feat: implement three methods of wit textcomponent

* Add consume function

* feat: implement all text-component host methods

Replace todo!() stubs with working implementations for all
HostTextComponent trait methods: style setters, click events,
hover events, add_text, get_text, and encode.

* feat: allow events to be modified

* feat: add some of base for commands

* chore: fix spelling mistake

* chore: remove unused dep

* feat: implement all argument-type to consumer mappings

* Add command exports

* log plugin load errors

* Some commands work

* Some more Commands work

* Update how commands are registered

* Implement locale

* Use handler id with require

* chore: fix some warnings

* Add PlayerLeaveEvent

* chore: fix all clippy warnings

* fix: add more descriptive error message

---------

Co-authored-by: Purdze <r.s.sutton@hotmail.co.uk>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-03-09 18:12:48 +01:00
dependabot[bot]
7e1e411993 build(deps): bump docker/metadata-action from 5 to 6 (#1820)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 14:14:47 +01:00
Alexander Medvedev
a0b8bbebfb Port bedrock to 1.26
still some bugs :c
2026-03-08 21:42:57 +01:00
Alexander Medvedev
004a41625f fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1792 2026-03-08 21:39:26 +01:00
Alexander Medvedev
4aaaea7cc7 feat: Spawners now work for generated Structures 2026-03-08 19:41:37 +01:00
RB007
e312c4cbd9 feat: underwater magma feature (#1747) 2026-03-07 09:31:55 +01:00
Alexander Medvedev
d41e5b9b98 fix: structures 2026-03-06 22:01:39 +01:00
Greened
3392aa164f fix: conduit being waterlogged all the time (#1808) 2026-03-06 13:44:08 -05:00
yunuservices
471c65ec59 feat(event): add BlockRedstoneEvent for pressure plates (#1750) 2026-03-06 12:30:01 -05:00
Greened
eb0a012e72 feat: add all type of lanterns (#1779) 2026-03-06 11:53:27 -05:00
Joseph Rimmer
6ca0a5e195 fix: dying entity not ticking for movement (#1623) (#1741) 2026-03-06 11:34:28 -05:00
ChocoDev
5474fcb9e5 fix: use command sender dimension when tp (#1690)
* fix: use target dismention

* use from command sender

* vanilla accurate

---------

Co-authored-by: chocodev11 <chocodev11@users.noreply.github.com>
2026-03-06 11:28:22 -05:00
Alexander Medvedev
3f4cdd0695 feat: Nether Fortress
Co-Authored-By: Richard Marshall <29306641+Purdze@users.noreply.github.com>
2026-03-06 09:42:54 +01:00
Alexander Medvedev
e125ca19be fix: fmt
oh bro ofc
2026-03-05 21:36:41 +01:00
Alexander Medvedev
7248f942e7 fix: latest rust clippy lints 2026-03-05 21:34:47 +01:00
RB007
fbe13bbacd feat: geodes (#1697)
Signed-off-by: Alexander Medvedev <lilalexmed@proton.me>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-03-05 14:32:27 +01:00
Matthieu B
33531d3c77 feat: add nether fossil structure generation (#1632)
* feat: add NBT structure template system

Adds a reusable system for loading and placing Minecraft structures from
NBT template files, enabling exact vanilla structure matching.

- Template loading system with lazy caching (DashMap)
- Block rotation and mirroring transformations
- Block entity creation for furnaces, chests, signs, etc.
- Pending block entity support in ProtoChunk for structure generation
- Biome Y clamping to prevent out-of-bounds lookups for tall structures

* feat: add nether fossil structure generation

Implement nether fossil structure with vanilla-matching placement logic
using the NBT template system:

- Column scan for air above soul sand/solid block
- 14 embedded NBT fossil templates with rotation support
- 50% chance dried ghast placement at fossil base
- Template skip_air support for IGNORE_AIR processor

* fix: formatting and clippy lints

---------

Signed-off-by: Matthieu B <66959271+mtthidoteu@users.noreply.github.com>
2026-03-05 14:30:24 +01:00
Joseph Rimmer
8626e81f60 fix: align with java entity water velocity (#1716) (#1739)
Signed-off-by: Joseph Rimmer <4097668+yuminstalljoe@users.noreply.github.com>
2026-03-05 14:20:40 +01:00
HairlessVillager
6d069a8bb6 chore: refactor(PalettedContainer): replace for_each() with iter() (#1721) 2026-03-04 20:28:53 +01:00
HairlessVillager
e10a45b3db chore: refactor(PalettedContainer): replace for_each() with iter() (#1721) 2026-03-03 19:53:54 +01:00
Joseph Rimmer
e0fb5c2e28 fix: allow lava to flow when above water block (#1618) (#1737) 2026-03-03 19:51:40 +01:00
Illyrius
c1dbf6d3d2 docs: pumpkin-util (#1719)
* init

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* part 1

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* finished math section

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* fmt

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* finished text and some initial work on other unfinished folders

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* fmt

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* fmt

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* finish noise

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* finish random

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

---------

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>
Signed-off-by: Illyrius <28700752+illyrius666@users.noreply.github.com>
2026-03-03 19:47:19 +01:00
Illyrius
fadccf9208 docs: pumpkin-macros v2 (#1720)
* init

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* fmt

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

---------

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>
2026-03-03 19:46:27 +01:00
SomeYellowGuy
2e0224418e feat: added unwrapping and wrapping for NBT lists to and from binary (#1742)
* added wrapping, unwrapping tags during serializing/deserializing NBT to/from bytes and added a serialization test

* fixed wrapping check in `wrap_tag_if_needed`

* added wrapped compound to test and renamed `put_component`

* fixed formatting

* fixed comment in test

* fixed test comments
2026-03-03 19:41:47 +01:00
Greened
27afc4e7ab fix: wrong blockupdate checking for torches (#1778) 2026-03-03 19:40:13 +01:00
Greened
fa83726d77 chore: fix formatting of couple of blocks (#1770)
Signed-off-by: Greened <108997309+GreenedDev@users.noreply.github.com>
2026-03-03 19:39:46 +01:00
Greened
95d874cbe3 fix: wrong piston break check (#1787) 2026-03-03 19:18:00 +01:00
HairlessVillager
b03e6db5b4 fix(lighting): check y in LightPropagator.propagate (#1791) 2026-03-03 19:17:18 +01:00
Rotstein
bf52dabd77 feat: add Vanilla powder snow behaviour (#1743)
* Powder snow now has vanilla behavior

* Fix rustfmt in player freeze tick update

* Fix right click armor equip slot; powder snow vanilla

* Apply rustfmt to powder snow changes

* Fix clippy warnings in powder snow changes

* Fix clippy pedantic warnings
2026-03-03 19:16:04 +01:00
Illyrius
4054be056b feat: brb translation (#1727)
Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>
2026-03-03 17:27:57 +01:00
Illyrius
b66a9a3342 feat: add Italian translation (#1718)
Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>
2026-03-03 17:26:56 +01:00
lupici
cb845f9a0f feat: add daylight detector (#1596)
* feat: create daylight detector block

* feat: daylight_detector: update inverted and power (wip)

* feat: create daylight detector block entity

* create SimpleWorld trait methods

* feat: daylight detector - start/remove block entity

* placeholder calculation for daylight detector output

* chore: fmt

* fix: also update power on use

* remove unnecessary function call

* ADdd get_dimension() to SimpleWorld trait

* fix: check if dimension has skylight

* chore: cargo fmt and clippy

* check if player can modify blocks on use

* spelling ;-;
2026-03-03 17:17:30 +01:00
Matthieu B
4a97aead3a feat: add igloo structure generation (#1631)
* feat: add NBT structure template system

Adds a reusable system for loading and placing Minecraft structures from
NBT template files, enabling exact vanilla structure matching.

- Template loading system with lazy caching (DashMap)
- Block rotation and mirroring transformations
- Block entity creation for furnaces, chests, signs, etc.
- Pending block entity support in ProtoChunk for structure generation
- Biome Y clamping to prevent out-of-bounds lookups for tall structures

* feat: add igloo structure generation

Implement igloo structure with vanilla-matching placement logic using
the NBT template system:

- Dome, ladder shaft, and optional basement (50% chance)
- 3 embedded NBT templates (top, middle, bottom)
- Rotation support via template system
- Block entity support for furnaces, chests, etc.

---------

Signed-off-by: Alexander Medvedev <lilalexmed@proton.me>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-03-03 11:40:56 +01:00
Matthieu B
950d3b4e32 feat: add NBT structure template system (#1630)
Adds a reusable system for loading and placing Minecraft structures from
NBT template files, enabling exact vanilla structure matching.

- Template loading system with lazy caching (DashMap)
- Block rotation and mirroring transformations
- Block entity creation for furnaces, chests, signs, etc.
- Pending block entity support in ProtoChunk for structure generation
- Biome Y clamping to prevent out-of-bounds lookups for tall structures
2026-03-03 10:55:13 +01:00
Greened
d1d465ab1f feat: add ka_ge translation (ქართული) (#1625)
* feat: add ka_ge translation

* chore: fix a typo

---------

Signed-off-by: Greened <108997309+GreenedDev@users.noreply.github.com>
2026-03-03 01:07:34 -05:00
Greened
552d7b8d49 Add Nether sprouts block (#1736)
* feat: nether sprouts block

* chore: remove &

* chore: add #[must_use]

* chore: resolve required changes

---------

Signed-off-by: Greened <108997309+GreenedDev@users.noreply.github.com>
2026-03-02 13:57:49 -05:00
RB007
0f51346142 feat: monster room feature (#1748)
* feat: monster room feature

* fix: roof
2026-03-02 10:19:34 +01:00
Jonas
7d6141b024 feat: add nds_de translation (Plattdüütsch) (#1763)
* Added de_nds ("Plattdüütsch") translation

Signed-off-by: Jonas <158217095+R40fendt@users.noreply.github.com>

* Rename de_nds.json to nds_de.json

Now matching with minecraft's language codes

Signed-off-by: Jonas <158217095+R40fendt@users.noreply.github.com>

* Added registration in translation.rs

* Cargo fmt fix

---------

Signed-off-by: Jonas <158217095+R40fendt@users.noreply.github.com>
2026-03-02 10:17:34 +01:00
Legends of Xania
a187220761 feat: Mob sunburn (#1767)
* move DestroyEggGoal

* make mob burn

* update imports

* update sun sensitive implementation

* update sun sensitive implementation

* fix clippy

* fix ci

* fix ci (again :,))

---------

Signed-off-by: Legends of Xania <legendsofxania@gmail.com>
2026-03-02 10:16:52 +01:00
Greened
01d7d1382b feat: add copper torches (#1772) 2026-03-02 10:14:39 +01:00
Cos-Cos-Cos
ccfb3433c4 feat: Add Polish translation (pl_PL) (#1776)
* Add polish translation (pl_PL)

Signed-off-by: Cos-Cos-Cos <daniel997.321@gmail.com>

* Update translation.rs

Signed-off-by: Cos-Cos-Cos <daniel997.321@gmail.com>

---------

Signed-off-by: Cos-Cos-Cos <daniel997.321@gmail.com>
2026-03-02 10:12:55 +01:00
dependabot[bot]
52967aeb56 build(deps): bump actions/download-artifact from 7 to 8 (#1773)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 08:13:15 +01:00
dependabot[bot]
b813f4b91c build(deps): bump actions/upload-artifact from 6 to 7 (#1775)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 08:13:03 +01:00
dependabot[bot]
527bc30240 build(deps): bump crate-ci/typos from 1.43.5 to 1.44.0 (#1774)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.43.5 to 1.44.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.43.5...v1.44.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 08:12:42 +01:00
Greened
ffde145ea2 Add Spore blossom block (#1735)
* feat: spore blossom block

* chore: make requested changes

* chore: rename block var to ceiling_block
2026-03-01 15:04:14 -05:00
WCBBEX
17118be2d1 fix(hunger): implement naturalRegeneration gamerule check (#1764) 2026-03-01 04:06:38 -05:00
yunuservices
d4dd87e548 feat(event): add PlayerEggThrowEvent (#1753)
* feat(event): add PlayerEggThrowEvent

* Refine egg throw event typing and safety

* Tidy egg throw event handling after review
2026-03-01 01:48:45 -05:00
RB007
b02243ca3e fix: nether portal crash (#1710)
* fix: nether portal crash

* fix: hardcoded stage max and updated self-dependency path

* refactor: use ensure_dependency_chain and add tests

* chore: a few recommended changes

* fix: DAG issues and clippy

* chore: improve test coverage
2026-03-01 05:28:10 +00:00
yunuservices
0116f5cf16 feat(event): add BlockGrowEvent for crop growth (#1752)
* feat(event): add BlockGrowEvent for crop growth

* Polish block grow event API and docs
2026-03-01 04:15:53 +00:00
Joseph Rimmer
58badd3bee fix: allow tall plants to place their upper half (#949) (#1738)
* fix: allow tall plants to place their upper half (#949)

* fix: breaking tall plant's break other half
2026-02-28 17:17:55 -05:00