Commit Graph

3 Commits

Author SHA1 Message Date
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
Purdze
e227008af6 deduplicate assertion helpers and remove unused plugin fields 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