Commit Graph

90 Commits

Author SHA1 Message Date
Bjorn Beishline
b7166240b0 Allow unrecognized jvm options 2026-08-19 15:26:41 -07:00
Bjorn Beishline
bf85290cf9 Move off of nightly 2026-08-19 15:26:24 -07:00
Alexander Medvedev
43e65ca412 many fixes 2026-08-19 21:44:30 +02:00
Alexander Medvedev
e1fb278af0 fix: ci 2026-08-19 11:56:13 +02:00
Alexander Medvedev
afb0e82713 many fixes 2026-08-08 20:39:14 +02:00
Alexander Medvedev
3a9052879a ci: fmt 2026-07-31 20:46:25 +02:00
Alexander Medvedev
3e3a48e0c1 more stuff 2026-07-31 20:45:09 +02:00
Alexander Medvedev
d48fc61f75 update nightly 2026-07-31 10:29:33 +02:00
Alexander Medvedev
03cab138e9 Update Cargo.toml 2026-07-31 09:56:23 +02:00
Alexander Medvedev
47f894d052 chore: switch to thin lto 2026-07-31 09:45:41 +02:00
Alexander Medvedev
c3ae59d786 fix: clippy warn 2026-07-30 21:28:06 +02:00
Alexander Medvedev
765ffc3cf7 fix: ci 2 2026-07-30 21:22:18 +02:00
Alexander Medvedev
b43350c5f0 ci: fix 2026-07-30 21:02:34 +02:00
Alexander Medvedev
fd1051fa71 ci: use java 2026-07-30 20:53:57 +02:00
Alexander Medvedev
f347ddfdab some more stuff 2026-07-26 11:36:48 +02:00
Alexander Medvedev
5c00ff0b67 more fixes 2026-07-26 10:47:39 +02:00
Alexander Medvedev
1182c7e8fe some fixes 2026-07-25 23:20:16 +02:00
Alexander Medvedev
8323eaa2e3 update to latest pumpkin version 2026-07-25 18:30:58 +02:00
Felix
245f91a029 Trim PR scope for review feedback 2026-04-12 21:59:13 +02:00
Felix
43ba5b50ae Fix compatibility with current Pumpkin nightlies 2026-04-12 16:04:08 +02:00
Bjorn Beishline
f7ef6e3378 Update to latest toolchain 2026-03-08 15:02:52 -07:00
Bjorn Beishline
00b9120503 Add in base for createBlockData implementation 2026-03-04 16:22:19 -07:00
Purdze
93a2d5fb4e Remove unused pumpkin-world dependency 2026-03-02 23:41:48 +00:00
Purdze
fff0592875 Fix clippy and fmt issues
- Use Option::map instead of manual if-let-some in config callback
- Remove unused itemstack re-export
- Apply cargo fmt
2026-03-02 23:31:47 +00:00
Purdze
640d6268ab Implement legacy material conversion and fix command sender
- Add three-tier legacy material lookup in PatchBukkitLegacy: data-value
  map, rename map, and direct name match covering all 462 LEGACY_*
  materials
- Fix null player sender by creating PatchBukkitPlayer on-the-fly with
  op when Java-side getPlayer returns null
- Add DynamicTestProvider interface and LEGACY_MATERIALS test category
  that validates every legacy material converts to non-AIR
- Fix protobuf codegen naming collision with java_outer_classname
- Clean up command_manager: extract get_or_init_command_map helper,
  remove debug logging and dead code
2026-03-02 22:42:09 +00:00
Bjorn Beishline
018ef2a8fa Fix logging, add config, fix UnsafeValues 2026-02-17 10:31:56 -07:00
Bjorn Beishline
2d7fe45c98 Use tracing instead 2026-02-12 23:27:48 -07:00
Purdze
bab25c6a50 fix cargo fmt formatting 2026-02-12 12:13:42 -07:00
Purdze
338717143a add conformance test plugin and fix command registration panic
- new patchbukkit-test-plugin gradle subproject with 69 tests across
  10 categories (server, plugin_manager, command_system, event_system,
  permissions, registry, entity, console_sender, unsafe_values, stubs)
- test framework with reflection-based discovery, ansi-colored output,
  and ci-parseable [PBTEST_SUMMARY] line
- /pbtest [category|all] command for manual test execution
- fix .unwrap() panic in command_manager.rs register_permission that
  crashed the jvm worker thread when plugins declared commands
2026-02-12 12:13:42 -07:00
Bjorn Beishline
5a4b495a25 use tracing for logging instead
This will temporarily break logging as Pumpkin logging for plugins is broken currently
2026-02-12 12:04:33 -07:00
Bjorn Beishline
e45e3ec362 Move jars download to client instead of build 2026-02-12 01:43:21 -07:00
Bjorn Beishline
4cb5d22766 Remove build_and_test from github action 2026-02-11 20:07:38 -07:00
Bjorn Beishline
48e14316bd Removed unused dependency 2026-02-11 19:55:04 -07:00
Bjorn Beishline
3f4db9f5b4 Let events modify 2026-02-04 02:21:27 -07:00
Bjorn Beishline
08602f0010 Fix all clippy lints 2026-02-04 00:07:45 -07:00
Bjorn Beishline
011fd0f5f0 Hopefully fix github action build error 2026-02-03 23:14:28 -07:00
Bjorn Beishline
2092ca86e6 Hopefully fix github action build error 2026-02-03 23:11:27 -07:00
Bjorn Beishline
3b007a214e Fix compiler errors 2026-02-03 23:06:56 -07:00
Bjorn Beishline
8e4b13d42b Remove last of NativePatchBukkit commands 2026-02-03 22:55:30 -07:00
Bjorn Beishline
4829d59c1e Refactor get location 2026-02-03 22:55:15 -07:00
Bjorn Beishline
605858e14f Refactor call event 2026-02-03 22:55:14 -07:00
Bjorn Beishline
dfbdab7e95 Update send message 2026-02-03 22:55:02 -07:00
Bjorn Beishline
d382421557 Re-implement register event ffm 2026-02-03 22:55:02 -07:00
Bjorn Beishline
5e6de69913 Get protobuf message passing working 2026-02-03 22:54:41 -07:00
Bjorn Beishline
a31da8c568 Setup rust passing of ffm 2026-02-03 22:54:41 -07:00
Bjorn Beishline
373a553722 Add the basis of protobufs 2026-02-03 22:54:21 -07:00
Alexander Medvedev
e8d53a458e enforce clippy lints and rustfmt 2026-02-03 21:00:51 +01:00
Purdze
2dc589830e implement event cancelling for java plugins
propagate cancellation state from java bukkit events back to pumpkin
events. when a java plugin calls event.setCancelled(true), the
cancellation is now properly applied to the underlying pumpkin event.

- add Cancellable trait bound to PatchBukkitEventHandler
- call event.set_cancelled(true) when java event is cancelled
2026-02-03 13:16:02 +00:00
Bjorn Beishline
eb44131801 Fix cancel checking causing errors 2026-02-02 16:53:54 -07:00
Bjorn Beishline
9cc31658a1 feat: refactor events 2026-02-02 16:44:57 -07:00