- 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
19 lines
381 B
Protocol Buffer
19 lines
381 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package patchbukkit.itemstack;
|
|
|
|
import "patchbukkit/common/types.proto";
|
|
|
|
option java_multiple_files = true;
|
|
option java_package = "patchbukkit.itemstack";
|
|
option java_outer_classname = "ItemStackProto";
|
|
|
|
// message GetPatchBukkitConfigResponse {
|
|
// string minimum_supported_plugin_api = 1;
|
|
// }
|
|
|
|
message ItemStack {
|
|
string type = 1;
|
|
uint32 amount = 2;
|
|
}
|