Commit Graph

9 Commits

Author SHA1 Message Date
Alexander Medvedev
42d9391804 feat: add some more events 2026-08-04 14:57:33 +02:00
dongzh1
86e41e1ebb feat(plugin): add PlayerRespawnEvent (#2296)
Adds a non-cancellable PlayerRespawnEvent fired from World::respawn_player
once a respawn destination (world, position, rotation) is determined,
exposing it to plugins through the WIT event API (host + guest). The
previous world, respawned world, position, yaw, pitch and whether the
player kept their data are provided. Bumps the pumpkin-plugin-wit
submodule to the matching event definition.

Closes #1714. Depends on Pumpkin-MC/pumpkin-plugin-wit#8.
2026-06-25 13:47:00 +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
Alexander Medvedev
b6ada28585 feat(plugin-api): added PlayerToggleFlightEvent 2026-04-14 21:45:00 +02:00
Alexander Medvedev
1a8e2649e3 feat(plugin-api): 3 new player events 2026-04-13 21:41:20 +02:00
yunuservices
542a5a2103 feat(wasm-api): expose PlayerInteractUnknownEntityEvent (#1998)
* feat(wasm-api): expose PlayerInteractUnknownEntityEvent

* fix(wasm-api): satisfy clippy for unknown entity event
2026-04-12 16:01:02 +02:00
yunuservices
0855dbd163 feat(wasm-api): port player egg throw event (#1899) 2026-03-27 12:06:20 +01:00
Illyrius
308cc943c1 feat(api): added missing wit defined events (#1913)
* init

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

* Clean up comments in events.rs

Removed commented sections for player and server events.

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

* fmt

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

* seperated the events into their own files and added docs for each

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

* added/improved missing docs in the other files in the api

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

* Update pumpkin-plugin-api/Cargo.toml

Signed-off-by: Illyrius <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-25 15:25:36 +01:00