sync all events
This commit is contained in:
parent
6adee16640
commit
a7303b7ed5
File diff suppressed because it is too large
Load Diff
@ -20,21 +20,7 @@ import co.aikar.timings.TimedEventExecutor;
|
|||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import patchbukkit.bridge.NativeBridgeFfi;
|
import patchbukkit.bridge.NativeBridgeFfi;
|
||||||
import patchbukkit.events.BlockBreakEvent;
|
|
||||||
import patchbukkit.events.BlockPlaceEvent;
|
|
||||||
import patchbukkit.events.CallEventRequest;
|
import patchbukkit.events.CallEventRequest;
|
||||||
import patchbukkit.events.PlayerChatEvent;
|
|
||||||
import patchbukkit.events.PlayerGameModeChangeEvent;
|
|
||||||
import patchbukkit.events.PlayerInteractEvent;
|
|
||||||
import patchbukkit.events.PlayerJoinEvent;
|
|
||||||
import patchbukkit.events.PlayerInteractEntityEvent;
|
|
||||||
import patchbukkit.events.PlayerMoveEvent;
|
|
||||||
import patchbukkit.events.PlayerQuitEvent;
|
|
||||||
import patchbukkit.events.PlayerToggleFlightEvent;
|
|
||||||
import patchbukkit.events.PlayerToggleSneakEvent;
|
|
||||||
import patchbukkit.events.PlayerToggleSprintEvent;
|
|
||||||
import patchbukkit.events.PluginDisableEvent;
|
|
||||||
import patchbukkit.events.PluginEnableEvent;
|
|
||||||
import patchbukkit.events.RegisterEventRequest;
|
import patchbukkit.events.RegisterEventRequest;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|||||||
@ -6,24 +6,353 @@ import "patchbukkit/common/types.proto";
|
|||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "patchbukkit.events";
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message BellResonateEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BellRingEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
patchbukkit.common.UUID entity_uuid = 5;
|
||||||
|
}
|
||||||
|
|
||||||
message BlockBreakEvent {
|
message BlockBreakEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string block = 2;
|
||||||
|
int32 block_x = 3;
|
||||||
|
int32 block_y = 4;
|
||||||
|
int32 block_z = 5;
|
||||||
|
uint32 exp = 6;
|
||||||
|
bool drop = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockBrushEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
patchbukkit.common.UUID player_uuid = 5;
|
||||||
|
string item_name = 6;
|
||||||
|
int32 item_count = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockBurnEvent {
|
||||||
|
string igniting_block = 1;
|
||||||
|
string block = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockCanBuildEvent {
|
||||||
|
string block_to_build = 1;
|
||||||
|
bool buildable = 2;
|
||||||
|
patchbukkit.common.UUID player_uuid = 3;
|
||||||
|
string block = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockCookEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
string source_name = 5;
|
||||||
|
int32 source_count = 6;
|
||||||
|
string result_name = 7;
|
||||||
|
int32 result_count = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockDamageEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string block = 2;
|
||||||
|
int32 block_x = 3;
|
||||||
|
int32 block_y = 4;
|
||||||
|
int32 block_z = 5;
|
||||||
|
bool insta_break = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockDamageAbortEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
int32 block_x = 2;
|
int32 block_x = 2;
|
||||||
int32 block_y = 3;
|
int32 block_y = 3;
|
||||||
int32 block_z = 4;
|
int32 block_z = 4;
|
||||||
string block_type = 5;
|
patchbukkit.common.UUID world_uuid = 5;
|
||||||
uint32 exp = 6;
|
string item_in_hand_name = 6;
|
||||||
bool drop_items = 7;
|
int32 item_in_hand_count = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockDispenseEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string item_name = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockDispenseArmorEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
patchbukkit.common.UUID target_uuid = 5;
|
||||||
|
string item_name = 6;
|
||||||
|
int32 item_count = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockDispenseLootEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
repeated string items_names = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockDropItemEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
patchbukkit.common.UUID player_uuid = 5;
|
||||||
|
repeated string items_names = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockExpEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
int32 exp = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockExplodeEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
float yield_rate = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockFadeEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string block = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockFertilizeEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
patchbukkit.common.UUID player_uuid = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockFormEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string block = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockFromToEvent {
|
||||||
|
int32 from_pos_x = 1;
|
||||||
|
int32 from_pos_y = 2;
|
||||||
|
int32 from_pos_z = 3;
|
||||||
|
int32 to_pos_x = 4;
|
||||||
|
int32 to_pos_y = 5;
|
||||||
|
int32 to_pos_z = 6;
|
||||||
|
string block = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockGrowEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
string old_block = 2;
|
||||||
|
int32 old_state_id = 3;
|
||||||
|
string new_block = 4;
|
||||||
|
int32 new_state_id = 5;
|
||||||
|
int32 block_x = 6;
|
||||||
|
int32 block_y = 7;
|
||||||
|
int32 block_z = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockIgniteEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string igniting_block = 4;
|
||||||
|
patchbukkit.common.UUID player_uuid = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockMultiPlaceEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
patchbukkit.common.UUID world_uuid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockPhysicsEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
int32 changed_pos_x = 4;
|
||||||
|
int32 changed_pos_y = 5;
|
||||||
|
int32 changed_pos_z = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockPistonExtendEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string direction = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockPistonRetractEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string direction = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BlockPlaceEvent {
|
message BlockPlaceEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string block_placed = 2;
|
||||||
|
string block_placed_against = 3;
|
||||||
|
int32 block_x = 4;
|
||||||
|
int32 block_y = 5;
|
||||||
|
int32 block_z = 6;
|
||||||
|
bool can_build = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockReceiveGameEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
string game_event = 5;
|
||||||
|
patchbukkit.common.UUID source_entity_uuid = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockRedstoneEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
int32 block_state_id = 2;
|
||||||
|
int32 block_x = 3;
|
||||||
|
int32 block_y = 4;
|
||||||
|
int32 block_z = 5;
|
||||||
|
int32 old_current = 6;
|
||||||
|
int32 new_current = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockShearEntityEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
patchbukkit.common.UUID target_uuid = 5;
|
||||||
|
string item_name = 6;
|
||||||
|
int32 item_count = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockSpreadEvent {
|
||||||
|
int32 source_pos_x = 1;
|
||||||
|
int32 source_pos_y = 2;
|
||||||
|
int32 source_pos_z = 3;
|
||||||
|
int32 target_pos_x = 4;
|
||||||
|
int32 target_pos_y = 5;
|
||||||
|
int32 target_pos_z = 6;
|
||||||
|
patchbukkit.common.UUID world_uuid = 7;
|
||||||
|
int32 new_state_id = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BrewingStartEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
int32 brewing_time = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CampfireStartEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
string item_name = 5;
|
||||||
|
int32 item_count = 6;
|
||||||
|
uint32 slot = 7;
|
||||||
|
int32 cooking_time = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CauldronLevelChangeEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
int32 old_level = 5;
|
||||||
|
int32 new_level = 6;
|
||||||
|
string reason = 7;
|
||||||
|
patchbukkit.common.UUID entity_uuid = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CrafterCraftEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
string result_name = 5;
|
||||||
|
int32 result_count = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityBlockFormEvent {
|
||||||
|
patchbukkit.common.UUID entity_uuid = 1;
|
||||||
int32 block_x = 2;
|
int32 block_x = 2;
|
||||||
int32 block_y = 3;
|
int32 block_y = 3;
|
||||||
int32 block_z = 4;
|
int32 block_z = 4;
|
||||||
string block_placed_type = 5;
|
patchbukkit.common.UUID world_uuid = 5;
|
||||||
string block_against_type = 6;
|
int32 new_state_id = 6;
|
||||||
bool can_build = 7;
|
}
|
||||||
|
|
||||||
|
message FluidLevelChangeEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
int32 new_state_id = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryBlockStartEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LeavesDecayEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message MoistureChangeEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
int32 new_moisture = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message NotePlayEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string instrument = 4;
|
||||||
|
uint32 note = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SculkBloomEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
int32 charge = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SignChangeEvent {
|
message SignChangeEvent {
|
||||||
@ -34,39 +363,24 @@ message SignChangeEvent {
|
|||||||
repeated string lines = 5;
|
repeated string lines = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BlockDamageEvent {
|
message SpongeAbsorbEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
|
||||||
int32 block_x = 2;
|
|
||||||
int32 block_y = 3;
|
|
||||||
int32 block_z = 4;
|
|
||||||
bool insta_break = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BlockIgniteEvent {
|
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
|
||||||
int32 block_x = 2;
|
|
||||||
int32 block_y = 3;
|
|
||||||
int32 block_z = 4;
|
|
||||||
string ignite_cause = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BlockGrowEvent {
|
|
||||||
int32 block_x = 1;
|
int32 block_x = 1;
|
||||||
int32 block_y = 2;
|
int32 block_y = 2;
|
||||||
int32 block_z = 3;
|
int32 block_z = 3;
|
||||||
string new_block_type = 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message BlockFormEvent {
|
message TNTPrimeEvent {
|
||||||
int32 block_x = 1;
|
int32 block_x = 1;
|
||||||
int32 block_y = 2;
|
int32 block_y = 2;
|
||||||
int32 block_z = 3;
|
int32 block_z = 3;
|
||||||
string new_block_type = 4;
|
string prime_reason = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BlockFadeEvent {
|
message VaultDisplayItemEvent {
|
||||||
int32 block_x = 1;
|
int32 block_x = 1;
|
||||||
int32 block_y = 2;
|
int32 block_y = 2;
|
||||||
int32 block_z = 3;
|
int32 block_z = 3;
|
||||||
string new_block_type = 4;
|
patchbukkit.common.UUID world_uuid = 4;
|
||||||
|
string item_name = 5;
|
||||||
|
int32 item_count = 6;
|
||||||
}
|
}
|
||||||
|
|||||||
21
proto/patchbukkit/events/dialog_events.proto
Normal file
21
proto/patchbukkit/events/dialog_events.proto
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message DialogClearEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DialogClickActionEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string id = 2;
|
||||||
|
bytes payload = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DialogShowEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
}
|
||||||
25
proto/patchbukkit/events/enchantment_events.proto
Normal file
25
proto/patchbukkit/events/enchantment_events.proto
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message EnchantItemEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
int32 item_count = 3;
|
||||||
|
int32 option = 4;
|
||||||
|
int32 exp_level_cost = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrepareItemEnchantEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
int32 item_count = 3;
|
||||||
|
repeated int32 level_requirements = 4;
|
||||||
|
repeated int32 enchantment_id = 5;
|
||||||
|
repeated int32 enchantment_level = 6;
|
||||||
|
int32 bookshelf_count = 7;
|
||||||
|
}
|
||||||
482
proto/patchbukkit/events/entity_events.proto
Normal file
482
proto/patchbukkit/events/entity_events.proto
Normal file
@ -0,0 +1,482 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message AreaEffectCloudApplyEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
repeated int32 affected_entities = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ArrowBodyCountChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
uint32 old_amount = 2;
|
||||||
|
uint32 new_amount = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BatToggleSleepEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
bool is_awake = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreatureSpawnEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string entity_type = 2;
|
||||||
|
double pos_x = 3;
|
||||||
|
double pos_y = 4;
|
||||||
|
double pos_z = 5;
|
||||||
|
patchbukkit.common.UUID world_uuid = 6;
|
||||||
|
string spawn_reason = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreeperPowerEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string cause = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EnderDragonChangePhaseEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string current_phase = 2;
|
||||||
|
string new_phase = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityAirChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 amount = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityBreakDoorEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityBreedEvent {
|
||||||
|
int32 father_id = 1;
|
||||||
|
int32 mother_id = 2;
|
||||||
|
int32 child_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityChangeBlockEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
string new_block = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityCombustEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
float duration_secs = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityCombustByBlockEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 combuster_x = 2;
|
||||||
|
int32 combuster_y = 3;
|
||||||
|
int32 combuster_z = 4;
|
||||||
|
float duration = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityCombustByEntityEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 combuster_id = 2;
|
||||||
|
float duration = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityDamageEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
float damage = 2;
|
||||||
|
string damage_type = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityDamageByBlockEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 damager_pos_x = 2;
|
||||||
|
int32 damager_pos_y = 3;
|
||||||
|
int32 damager_pos_z = 4;
|
||||||
|
float damage = 5;
|
||||||
|
string cause = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityDamageByEntityEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 damager_id = 2;
|
||||||
|
float damage = 3;
|
||||||
|
string cause = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityDeathEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 dropped_exp = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerDeathEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string death_message = 2;
|
||||||
|
int32 dropped_exp = 3;
|
||||||
|
bool keep_inventory = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityDismountEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 dismounted_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityDropItemEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
uint32 count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityDyeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string color = 2;
|
||||||
|
patchbukkit.common.UUID player_uuid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityEnterBlockEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityEnterLoveModeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 ticks_in_love = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityExhaustionEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
float exhaustion = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityExplodeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
double pos_x = 2;
|
||||||
|
double pos_y = 3;
|
||||||
|
double pos_z = 4;
|
||||||
|
float yield_rate = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityInteractEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityKnockbackEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
double knockback_x = 2;
|
||||||
|
double knockback_y = 3;
|
||||||
|
double knockback_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityKnockbackByEntityEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 hit_by_id = 2;
|
||||||
|
double force = 3;
|
||||||
|
double x = 4;
|
||||||
|
double z = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityMountEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 mount_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityPickupItemEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
uint32 count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityPlaceEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
string block_name = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityPortalEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 portal_pos_x = 2;
|
||||||
|
int32 portal_pos_y = 3;
|
||||||
|
int32 portal_pos_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityPortalEnterEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 location_x = 2;
|
||||||
|
int32 location_y = 3;
|
||||||
|
int32 location_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityPortalExitEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 from_pos_x = 2;
|
||||||
|
int32 from_pos_y = 3;
|
||||||
|
int32 from_pos_z = 4;
|
||||||
|
int32 to_pos_x = 5;
|
||||||
|
int32 to_pos_y = 6;
|
||||||
|
int32 to_pos_z = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityPoseChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string pose = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityPotionEffectEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string effect_name = 2;
|
||||||
|
int32 duration = 3;
|
||||||
|
uint32 amplifier = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityRegainHealthEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
float amount = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityRemoveEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string cause = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityResurrectEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityShootBowEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string weapon_name = 2;
|
||||||
|
float force = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntitySpawnEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string entity_type = 2;
|
||||||
|
double pos_x = 3;
|
||||||
|
double pos_y = 4;
|
||||||
|
double pos_z = 5;
|
||||||
|
patchbukkit.common.UUID world_uuid = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntitySpellCastEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string spell = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityTameEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
patchbukkit.common.UUID owner_uuid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityTargetEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityTargetBlockEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityTargetLivingEntityEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string reason = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityTeleportEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
double from_position_x = 2;
|
||||||
|
double from_position_y = 3;
|
||||||
|
double from_position_z = 4;
|
||||||
|
double to_position_x = 5;
|
||||||
|
double to_position_y = 6;
|
||||||
|
double to_position_z = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityToggleGlideEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
bool is_gliding = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityToggleSwimEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
bool is_swimming = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityTransformEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 new_entity_id = 2;
|
||||||
|
string transform_reason = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntityUnleashEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string reason = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ExpBottleEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 experience = 2;
|
||||||
|
int32 location_x = 3;
|
||||||
|
int32 location_y = 4;
|
||||||
|
int32 location_z = 5;
|
||||||
|
bool show_effect = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ExplosionPrimeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
float radius = 2;
|
||||||
|
bool fire = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FireworkExplodeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FoodLevelChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
uint32 food_level = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HorseJumpEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
float power = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ItemDespawnEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ItemMergeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 target_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ItemSpawnEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
double pos_x = 2;
|
||||||
|
double pos_y = 3;
|
||||||
|
double pos_z = 4;
|
||||||
|
string item_name = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LingeringPotionSplashEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 location_x = 2;
|
||||||
|
int32 location_y = 3;
|
||||||
|
int32 location_z = 4;
|
||||||
|
string potion_item = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PigZapEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 lightning_id = 2;
|
||||||
|
int32 pig_zombie_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PigZombieAngerEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 new_anger = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PiglinBarterEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string input_item_name = 2;
|
||||||
|
int32 input_item_count = 3;
|
||||||
|
repeated string outcome_names = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PotionSplashEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 location_x = 2;
|
||||||
|
int32 location_y = 3;
|
||||||
|
int32 location_z = 4;
|
||||||
|
string potion_item = 5;
|
||||||
|
repeated int32 affected_entities = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ProjectileHitEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
double hit_position_x = 2;
|
||||||
|
double hit_position_y = 3;
|
||||||
|
double hit_position_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ProjectileLaunchEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SheepDyeWoolEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
uint32 dye_color = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SheepRegrowWoolEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SlimeSplitEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 count = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SpawnerSpawnEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 spawner_pos_x = 2;
|
||||||
|
int32 spawner_pos_y = 3;
|
||||||
|
int32 spawner_pos_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message StriderTemperatureChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
bool is_shivering = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TrialSpawnerSpawnEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 spawner_pos_x = 2;
|
||||||
|
int32 spawner_pos_y = 3;
|
||||||
|
int32 spawner_pos_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VillagerAcquireTradeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 recipe_index = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VillagerCareerChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
string profession = 2;
|
||||||
|
string reason = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VillagerReplenishTradeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 restock_quantity = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VillagerReputationChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 target_id = 2;
|
||||||
|
int32 reputation_change = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message WardenAngerChangeEvent {
|
||||||
|
int32 entity_id = 1;
|
||||||
|
int32 target_id = 2;
|
||||||
|
int32 old_anger = 3;
|
||||||
|
int32 new_anger = 4;
|
||||||
|
}
|
||||||
@ -1,57 +1,322 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package patchbukkit.events;
|
package patchbukkit.events;
|
||||||
|
|
||||||
import "patchbukkit/common/types.proto";
|
import "patchbukkit/common/types.proto";
|
||||||
import "patchbukkit/events/player_events.proto";
|
|
||||||
import "patchbukkit/events/server_events.proto";
|
|
||||||
import "patchbukkit/events/block_events.proto";
|
import "patchbukkit/events/block_events.proto";
|
||||||
|
import "patchbukkit/events/dialog_events.proto";
|
||||||
|
import "patchbukkit/events/enchantment_events.proto";
|
||||||
|
import "patchbukkit/events/entity_events.proto";
|
||||||
|
import "patchbukkit/events/hanging_events.proto";
|
||||||
|
import "patchbukkit/events/inventory_events.proto";
|
||||||
|
import "patchbukkit/events/player_events.proto";
|
||||||
|
import "patchbukkit/events/raid_events.proto";
|
||||||
|
import "patchbukkit/events/server_events.proto";
|
||||||
|
import "patchbukkit/events/vehicle_events.proto";
|
||||||
|
import "patchbukkit/events/world_events.proto";
|
||||||
|
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "patchbukkit.events";
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
message Event {
|
message Event {
|
||||||
oneof data {
|
oneof data {
|
||||||
PlayerJoinEvent player_join = 1;
|
AsyncStructureGenerateEvent async_structure_generate = 1;
|
||||||
PluginEnableEvent plugin_enable = 2;
|
AsyncStructureSpawnEvent async_structure_spawn = 2;
|
||||||
PluginDisableEvent plugin_disable = 3;
|
ChunkLoad chunk_load = 3;
|
||||||
PlayerQuitEvent player_quit = 4;
|
ChunkPopulateEvent chunk_populate = 4;
|
||||||
PlayerInteractEvent player_interact = 5;
|
ChunkSave chunk_save = 5;
|
||||||
PlayerGameModeChangeEvent player_gamemode_change = 6;
|
ChunkSend chunk_send = 6;
|
||||||
BlockBreakEvent block_break = 7;
|
ChunkUnloadEvent chunk_unload = 7;
|
||||||
BlockPlaceEvent block_place = 8;
|
EntitiesLoadEvent entities_load = 8;
|
||||||
PlayerToggleSneakEvent player_toggle_sneak = 9;
|
EntitiesUnloadEvent entities_unload = 9;
|
||||||
PlayerToggleSprintEvent player_toggle_sprint = 10;
|
GenericGameEvent generic_game = 10;
|
||||||
PlayerToggleFlightEvent player_toggle_flight = 11;
|
LightningStrikeEvent lightning_strike = 11;
|
||||||
PlayerChatEvent player_chat = 12;
|
LootGenerateEvent loot_generate = 12;
|
||||||
PlayerMoveEvent player_move = 13;
|
PortalCreateEvent portal_create = 13;
|
||||||
PlayerInteractEntityEvent player_interact_entity = 14;
|
SpawnChangeEvent spawn_change = 14;
|
||||||
SignChangeEvent sign_change = 15;
|
StructureGrowEvent structure_grow = 15;
|
||||||
BlockDamageEvent block_damage = 16;
|
TimeSkipEvent time_skip = 16;
|
||||||
ServerCommandEvent server_command = 17;
|
WeatherChangeEvent weather_change = 17;
|
||||||
BlockIgniteEvent block_ignite = 18;
|
ThunderChangeEvent thunder_change = 18;
|
||||||
BlockGrowEvent block_grow = 19;
|
WorldInitEvent world_init = 19;
|
||||||
BlockFormEvent block_form = 20;
|
WorldLoadEvent world_load = 20;
|
||||||
BlockFadeEvent block_fade = 21;
|
WorldUnloadEvent world_unload = 21;
|
||||||
|
WorldSaveEvent world_save = 22;
|
||||||
|
ServerListPingEvent server_list_ping = 23;
|
||||||
|
MapInitializeEvent map_initialize = 24;
|
||||||
|
PacketReceivedEvent packet_received = 25;
|
||||||
|
PacketSentEvent packet_sent = 26;
|
||||||
|
PluginDisableEvent plugin_disable = 27;
|
||||||
|
PluginEnableEvent plugin_enable = 28;
|
||||||
|
RemoteServerCommandEvent remote_server_command = 29;
|
||||||
|
ServerBroadcastEvent server_broadcast = 30;
|
||||||
|
ServerCommandEvent server_command = 31;
|
||||||
|
ServerLoadEvent server_load = 32;
|
||||||
|
ServerTickEndEvent server_tick_end = 33;
|
||||||
|
ServerTickStartEvent server_tick_start = 34;
|
||||||
|
ServiceRegisterEvent service_register = 35;
|
||||||
|
ServiceUnregisterEvent service_unregister = 36;
|
||||||
|
TabCompleteEvent tab_complete = 37;
|
||||||
|
VehicleBlockCollisionEvent vehicle_block_collision = 38;
|
||||||
|
VehicleCollisionEvent vehicle_collision = 39;
|
||||||
|
VehicleCreateEvent vehicle_create = 40;
|
||||||
|
VehicleDamageEvent vehicle_damage = 41;
|
||||||
|
VehicleDestroyEvent vehicle_destroy = 42;
|
||||||
|
VehicleEnterEvent vehicle_enter = 43;
|
||||||
|
VehicleEntityCollisionEvent vehicle_entity_collision = 44;
|
||||||
|
VehicleExitEvent vehicle_exit = 45;
|
||||||
|
VehicleMoveEvent vehicle_move = 46;
|
||||||
|
VehicleUpdateEvent vehicle_update = 47;
|
||||||
|
BrewEvent brew = 48;
|
||||||
|
BrewingStandFuelEvent brewing_stand_fuel = 49;
|
||||||
|
CraftItemEvent craft_item = 50;
|
||||||
|
FurnaceBurnEvent furnace_burn = 51;
|
||||||
|
FurnaceExtractEvent furnace_extract = 52;
|
||||||
|
FurnaceSmeltEvent furnace_smelt = 53;
|
||||||
|
FurnaceStartSmeltEvent furnace_start_smelt = 54;
|
||||||
|
HopperInventorySearchEvent hopper_inventory_search = 55;
|
||||||
|
InventoryCreativeEvent inventory_creative = 56;
|
||||||
|
InventoryDragEvent inventory_drag = 57;
|
||||||
|
InventoryInteractEvent inventory_interact = 58;
|
||||||
|
InventoryMoveItemEvent inventory_move_item = 59;
|
||||||
|
InventoryOpenEvent inventory_open = 60;
|
||||||
|
InventoryPickupItemEvent inventory_pickup_item = 61;
|
||||||
|
PrepareAnvilEvent prepare_anvil = 62;
|
||||||
|
PrepareGrindstoneEvent prepare_grindstone = 63;
|
||||||
|
PrepareInventoryResultEvent prepare_inventory_result = 64;
|
||||||
|
PrepareItemCraftEvent prepare_item_craft = 65;
|
||||||
|
PrepareSmithingEvent prepare_smithing = 66;
|
||||||
|
SmithItemEvent smith_item = 67;
|
||||||
|
TradeSelectEvent trade_select = 68;
|
||||||
|
BellResonateEvent bell_resonate = 69;
|
||||||
|
BellRingEvent bell_ring = 70;
|
||||||
|
BlockBreakEvent block_break = 71;
|
||||||
|
BlockBrushEvent block_brush = 72;
|
||||||
|
BlockBurnEvent block_burn = 73;
|
||||||
|
BlockCanBuildEvent block_can_build = 74;
|
||||||
|
BlockCookEvent block_cook = 75;
|
||||||
|
BlockDamageEvent block_damage = 76;
|
||||||
|
BlockDamageAbortEvent block_damage_abort = 77;
|
||||||
|
BlockDispenseEvent block_dispense = 78;
|
||||||
|
BlockDispenseArmorEvent block_dispense_armor = 79;
|
||||||
|
BlockDispenseLootEvent block_dispense_loot = 80;
|
||||||
|
BlockDropItemEvent block_drop_item = 81;
|
||||||
|
BlockExpEvent block_exp = 82;
|
||||||
|
BlockExplodeEvent block_explode = 83;
|
||||||
|
BlockFadeEvent block_fade = 84;
|
||||||
|
BlockFertilizeEvent block_fertilize = 85;
|
||||||
|
BlockFormEvent block_form = 86;
|
||||||
|
BlockFromToEvent block_from_to = 87;
|
||||||
|
BlockGrowEvent block_grow = 88;
|
||||||
|
BlockIgniteEvent block_ignite = 89;
|
||||||
|
BlockMultiPlaceEvent block_multi_place = 90;
|
||||||
|
BlockPhysicsEvent block_physics = 91;
|
||||||
|
BlockPistonExtendEvent block_piston_extend = 92;
|
||||||
|
BlockPistonRetractEvent block_piston_retract = 93;
|
||||||
|
BlockPlaceEvent block_place = 94;
|
||||||
|
BlockReceiveGameEvent block_receive_game = 95;
|
||||||
|
BlockRedstoneEvent block_redstone = 96;
|
||||||
|
BlockShearEntityEvent block_shear_entity = 97;
|
||||||
|
BlockSpreadEvent block_spread = 98;
|
||||||
|
BrewingStartEvent brewing_start = 99;
|
||||||
|
CampfireStartEvent campfire_start = 100;
|
||||||
|
CauldronLevelChangeEvent cauldron_level_change = 101;
|
||||||
|
CrafterCraftEvent crafter_craft = 102;
|
||||||
|
EntityBlockFormEvent entity_block_form = 103;
|
||||||
|
FluidLevelChangeEvent fluid_level_change = 104;
|
||||||
|
InventoryBlockStartEvent inventory_block_start = 105;
|
||||||
|
LeavesDecayEvent leaves_decay = 106;
|
||||||
|
MoistureChangeEvent moisture_change = 107;
|
||||||
|
NotePlayEvent note_play = 108;
|
||||||
|
SculkBloomEvent sculk_bloom = 109;
|
||||||
|
SignChangeEvent sign_change = 110;
|
||||||
|
SpongeAbsorbEvent sponge_absorb = 111;
|
||||||
|
TNTPrimeEvent tnt_prime = 112;
|
||||||
|
VaultDisplayItemEvent vault_display_item = 113;
|
||||||
|
DialogClearEvent dialog_clear = 114;
|
||||||
|
DialogClickActionEvent dialog_click_action = 115;
|
||||||
|
DialogShowEvent dialog_show = 116;
|
||||||
|
AsyncPlayerChatEvent async_player_chat = 117;
|
||||||
|
AsyncPlayerPreLoginEvent async_player_pre_login = 118;
|
||||||
|
BedrockFormResponseEvent bedrock_form_response = 119;
|
||||||
|
PlayerChangedMainHandEvent player_changed_main_hand = 120;
|
||||||
|
PlayerEggThrowEvent player_egg_throw = 121;
|
||||||
|
PlayerExpChangeEvent player_exp_change = 122;
|
||||||
|
PlayerFishEvent player_fish = 123;
|
||||||
|
InventoryCloseEvent inventory_close = 124;
|
||||||
|
InventoryClickEvent inventory_click = 125;
|
||||||
|
PlayerItemHeldEvent player_item_held = 126;
|
||||||
|
PlayerAdvancementDoneEvent player_advancement_done = 127;
|
||||||
|
PlayerAnimationEvent player_animation = 128;
|
||||||
|
PlayerArmorStandManipulateEvent player_armor_stand_manipulate = 129;
|
||||||
|
PlayerBedEnterEvent player_bed_enter = 130;
|
||||||
|
PlayerBedLeaveEvent player_bed_leave = 131;
|
||||||
|
PlayerBucketEmptyEvent player_bucket_empty = 132;
|
||||||
|
PlayerBucketFillEvent player_bucket_fill = 133;
|
||||||
|
PlayerBucketEntityEvent player_bucket_entity = 134;
|
||||||
|
PlayerChangeWorldEvent player_change_world = 135;
|
||||||
|
PlayerChangedWorldEvent player_changed_world = 136;
|
||||||
|
PlayerChannelEvent player_channel = 137;
|
||||||
|
PlayerChatEvent player_chat = 138;
|
||||||
|
PlayerCommandPreprocessEvent player_command_preprocess = 139;
|
||||||
|
PlayerCommandSendEvent player_command_send = 140;
|
||||||
|
PlayerCustomPayloadEvent player_custom_payload = 141;
|
||||||
|
PlayerDropItemEvent player_drop_item = 142;
|
||||||
|
PlayerEditBookEvent player_edit_book = 143;
|
||||||
|
PlayerElytraBoostEvent player_elytra_boost = 144;
|
||||||
|
PlayerExpCooldownChangeEvent player_exp_cooldown_change = 145;
|
||||||
|
PlayerGamemodeChangeEvent player_gamemode_change = 146;
|
||||||
|
PlayerHarvestBlockEvent player_harvest_block = 147;
|
||||||
|
PlayerHideEntityEvent player_hide_entity = 148;
|
||||||
|
PlayerInputEvent player_input = 149;
|
||||||
|
PlayerInteractAtEntityEvent player_interact_at_entity = 150;
|
||||||
|
PlayerInteractEntityEvent player_interact_entity = 151;
|
||||||
|
PlayerInteractEvent player_interact = 152;
|
||||||
|
PlayerInteractUnknownEntityEvent player_interact_unknown_entity = 153;
|
||||||
|
PlayerItemBreakEvent player_item_break = 154;
|
||||||
|
PlayerItemConsumeEvent player_item_consume = 155;
|
||||||
|
PlayerItemDamageEvent player_item_damage = 156;
|
||||||
|
PlayerItemMendEvent player_item_mend = 157;
|
||||||
|
PlayerJoinEvent player_join = 158;
|
||||||
|
PlayerKickEvent player_kick = 159;
|
||||||
|
PlayerLeashEntityEvent player_leash_entity = 160;
|
||||||
|
PlayerLeaveEvent player_leave = 161;
|
||||||
|
PlayerLevelChangeEvent player_level_change = 162;
|
||||||
|
PlayerLinksSendEvent player_links_send = 163;
|
||||||
|
PlayerLocaleChangeEvent player_locale_change = 164;
|
||||||
|
PlayerLoginEvent player_login = 165;
|
||||||
|
PlayerMoveEvent player_move = 166;
|
||||||
|
PlayerNameEntityEvent player_name_entity = 167;
|
||||||
|
PlayerOpenSignEvent player_open_sign = 168;
|
||||||
|
PlayerPermissionCheckEvent player_permission_check = 169;
|
||||||
|
PlayerPickupArrowEvent player_pickup_arrow = 170;
|
||||||
|
PlayerPortalEvent player_portal = 171;
|
||||||
|
PlayerPreLoginEvent player_pre_login = 172;
|
||||||
|
PlayerRecipeBookClickEvent player_recipe_book_click = 173;
|
||||||
|
PlayerRecipeBookSettingsChangeEvent player_recipe_book_settings_change = 174;
|
||||||
|
PlayerRecipeDiscoverEvent player_recipe_discover = 175;
|
||||||
|
PlayerRegisterChannelEvent player_register_channel = 176;
|
||||||
|
PlayerResourcePackStatusEvent player_resource_pack_status = 177;
|
||||||
|
PlayerRespawnEvent player_respawn = 178;
|
||||||
|
PlayerRiptideEvent player_riptide = 179;
|
||||||
|
PlayerShearEntityEvent player_shear_entity = 180;
|
||||||
|
PlayerShowEntityEvent player_show_entity = 181;
|
||||||
|
PlayerSpawnChangeEvent player_spawn_change = 182;
|
||||||
|
PlayerSpawnLocationEvent player_spawn_location = 183;
|
||||||
|
PlayerStatisticIncrementEvent player_statistic_increment = 184;
|
||||||
|
PlayerSwapHandItemsEvent player_swap_hand_items = 185;
|
||||||
|
PlayerTakeLecternBookEvent player_take_lectern_book = 186;
|
||||||
|
PlayerTeleportEvent player_teleport = 187;
|
||||||
|
PlayerToggleFlightEvent player_toggle_flight = 188;
|
||||||
|
PlayerToggleSneakEvent player_toggle_sneak = 189;
|
||||||
|
PlayerToggleSprintEvent player_toggle_sprint = 190;
|
||||||
|
PlayerUnleashEntityEvent player_unleash_entity = 191;
|
||||||
|
PlayerUnregisterChannelEvent player_unregister_channel = 192;
|
||||||
|
PlayerVelocityEvent player_velocity = 193;
|
||||||
|
HangingBreakEvent hanging_break = 194;
|
||||||
|
HangingBreakByEntityEvent hanging_break_by_entity = 195;
|
||||||
|
HangingPlaceEvent hanging_place = 196;
|
||||||
|
AreaEffectCloudApplyEvent area_effect_cloud_apply = 197;
|
||||||
|
ArrowBodyCountChangeEvent arrow_body_count_change = 198;
|
||||||
|
BatToggleSleepEvent bat_toggle_sleep = 199;
|
||||||
|
CreatureSpawnEvent creature_spawn = 200;
|
||||||
|
CreeperPowerEvent creeper_power = 201;
|
||||||
|
EnderDragonChangePhaseEvent ender_dragon_change_phase = 202;
|
||||||
|
EntityAirChangeEvent entity_air_change = 203;
|
||||||
|
EntityBreakDoorEvent entity_break_door = 204;
|
||||||
|
EntityBreedEvent entity_breed = 205;
|
||||||
|
EntityChangeBlockEvent entity_change_block = 206;
|
||||||
|
EntityCombustEvent entity_combust = 207;
|
||||||
|
EntityCombustByBlockEvent entity_combust_by_block = 208;
|
||||||
|
EntityCombustByEntityEvent entity_combust_by_entity = 209;
|
||||||
|
EntityDamageEvent entity_damage = 210;
|
||||||
|
EntityDamageByBlockEvent entity_damage_by_block = 211;
|
||||||
|
EntityDamageByEntityEvent entity_damage_by_entity = 212;
|
||||||
|
EntityDeathEvent entity_death = 213;
|
||||||
|
PlayerDeathEvent player_death = 214;
|
||||||
|
EntityDismountEvent entity_dismount = 215;
|
||||||
|
EntityDropItemEvent entity_drop_item = 216;
|
||||||
|
EntityDyeEvent entity_dye = 217;
|
||||||
|
EntityEnterBlockEvent entity_enter_block = 218;
|
||||||
|
EntityEnterLoveModeEvent entity_enter_love_mode = 219;
|
||||||
|
EntityExhaustionEvent entity_exhaustion = 220;
|
||||||
|
EntityExplodeEvent entity_explode = 221;
|
||||||
|
EntityInteractEvent entity_interact = 222;
|
||||||
|
EntityKnockbackEvent entity_knockback = 223;
|
||||||
|
EntityKnockbackByEntityEvent entity_knockback_by_entity = 224;
|
||||||
|
EntityMountEvent entity_mount = 225;
|
||||||
|
EntityPickupItemEvent entity_pickup_item = 226;
|
||||||
|
EntityPlaceEvent entity_place = 227;
|
||||||
|
EntityPortalEvent entity_portal = 228;
|
||||||
|
EntityPortalEnterEvent entity_portal_enter = 229;
|
||||||
|
EntityPortalExitEvent entity_portal_exit = 230;
|
||||||
|
EntityPoseChangeEvent entity_pose_change = 231;
|
||||||
|
EntityPotionEffectEvent entity_potion_effect = 232;
|
||||||
|
EntityRegainHealthEvent entity_regain_health = 233;
|
||||||
|
EntityRemoveEvent entity_remove = 234;
|
||||||
|
EntityResurrectEvent entity_resurrect = 235;
|
||||||
|
EntityShootBowEvent entity_shoot_bow = 236;
|
||||||
|
EntitySpawnEvent entity_spawn = 237;
|
||||||
|
EntitySpellCastEvent entity_spell_cast = 238;
|
||||||
|
EntityTameEvent entity_tame = 239;
|
||||||
|
EntityTargetEvent entity_target = 240;
|
||||||
|
EntityTargetBlockEvent entity_target_block = 241;
|
||||||
|
EntityTargetLivingEntityEvent entity_target_living_entity = 242;
|
||||||
|
EntityTeleportEvent entity_teleport = 243;
|
||||||
|
EntityToggleGlideEvent entity_toggle_glide = 244;
|
||||||
|
EntityToggleSwimEvent entity_toggle_swim = 245;
|
||||||
|
EntityTransformEvent entity_transform = 246;
|
||||||
|
EntityUnleashEvent entity_unleash = 247;
|
||||||
|
ExpBottleEvent exp_bottle = 248;
|
||||||
|
ExplosionPrimeEvent explosion_prime = 249;
|
||||||
|
FireworkExplodeEvent firework_explode = 250;
|
||||||
|
FoodLevelChangeEvent food_level_change = 251;
|
||||||
|
HorseJumpEvent horse_jump = 252;
|
||||||
|
ItemDespawnEvent item_despawn = 253;
|
||||||
|
ItemMergeEvent item_merge = 254;
|
||||||
|
ItemSpawnEvent item_spawn = 255;
|
||||||
|
LingeringPotionSplashEvent lingering_potion_splash = 256;
|
||||||
|
PigZapEvent pig_zap = 257;
|
||||||
|
PigZombieAngerEvent pig_zombie_anger = 258;
|
||||||
|
PiglinBarterEvent piglin_barter = 259;
|
||||||
|
PotionSplashEvent potion_splash = 260;
|
||||||
|
ProjectileHitEvent projectile_hit = 261;
|
||||||
|
ProjectileLaunchEvent projectile_launch = 262;
|
||||||
|
SheepDyeWoolEvent sheep_dye_wool = 263;
|
||||||
|
SheepRegrowWoolEvent sheep_regrow_wool = 264;
|
||||||
|
SlimeSplitEvent slime_split = 265;
|
||||||
|
SpawnerSpawnEvent spawner_spawn = 266;
|
||||||
|
StriderTemperatureChangeEvent strider_temperature_change = 267;
|
||||||
|
TrialSpawnerSpawnEvent trial_spawner_spawn = 268;
|
||||||
|
VillagerAcquireTradeEvent villager_acquire_trade = 269;
|
||||||
|
VillagerCareerChangeEvent villager_career_change = 270;
|
||||||
|
VillagerReplenishTradeEvent villager_replenish_trade = 271;
|
||||||
|
VillagerReputationChangeEvent villager_reputation_change = 272;
|
||||||
|
WardenAngerChangeEvent warden_anger_change = 273;
|
||||||
|
RaidFinishEvent raid_finish = 274;
|
||||||
|
RaidSpawnWaveEvent raid_spawn_wave = 275;
|
||||||
|
RaidStopEvent raid_stop = 276;
|
||||||
|
RaidTriggerEvent raid_trigger = 277;
|
||||||
|
EnchantItemEvent enchant_item = 278;
|
||||||
|
PrepareItemEnchantEvent prepare_item_enchant = 279;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message FireEventResponse {
|
||||||
|
bool cancelled = 1;
|
||||||
|
Event data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CallEventRequest {
|
||||||
|
Event event = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CallEventResponse {
|
||||||
|
FireEventResponse response = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message RegisterEventRequest {
|
message RegisterEventRequest {
|
||||||
string event_type = 1;
|
string event_type = 1;
|
||||||
string plugin_name = 2;
|
string plugin_name = 2;
|
||||||
int32 priority = 3;
|
int32 priority = 3;
|
||||||
bool blocking = 4;
|
bool blocking = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CallEventRequest {
|
|
||||||
Event event = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message CallEventResponse {
|
|
||||||
bool handled = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message FireEventResponse {
|
|
||||||
bool cancelled = 1;
|
|
||||||
Event data = 2;
|
|
||||||
}
|
|
||||||
|
|||||||
26
proto/patchbukkit/events/hanging_events.proto
Normal file
26
proto/patchbukkit/events/hanging_events.proto
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message HangingBreakEvent {
|
||||||
|
patchbukkit.common.UUID entity_uuid = 1;
|
||||||
|
patchbukkit.common.UUID remover_uuid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HangingBreakByEntityEvent {
|
||||||
|
patchbukkit.common.UUID entity_uuid = 1;
|
||||||
|
patchbukkit.common.UUID remover_uuid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HangingPlaceEvent {
|
||||||
|
patchbukkit.common.UUID entity_uuid = 1;
|
||||||
|
patchbukkit.common.UUID player_uuid = 2;
|
||||||
|
int32 block_x = 3;
|
||||||
|
int32 block_y = 4;
|
||||||
|
int32 block_z = 5;
|
||||||
|
string block_face = 6;
|
||||||
|
}
|
||||||
143
proto/patchbukkit/events/inventory_events.proto
Normal file
143
proto/patchbukkit/events/inventory_events.proto
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message BrewEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
uint32 fuel_level = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BrewingStandFuelEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
uint32 fuel_power = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CraftItemEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string recipe_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FurnaceBurnEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string fuel_item = 4;
|
||||||
|
uint32 burn_time = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FurnaceExtractEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
string item_id = 5;
|
||||||
|
uint32 item_amount = 6;
|
||||||
|
float exp_gained = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FurnaceSmeltEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string source_item = 4;
|
||||||
|
string result_item = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FurnaceStartSmeltEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string source_item = 4;
|
||||||
|
uint32 cooking_time = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HopperInventorySearchEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
int32 search_pos_x = 4;
|
||||||
|
int32 search_pos_y = 5;
|
||||||
|
int32 search_pos_z = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryCreativeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 slot = 2;
|
||||||
|
string item_id = 3;
|
||||||
|
uint32 item_count = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryDragEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryInteractEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryMoveItemEvent {
|
||||||
|
int32 source_pos_x = 1;
|
||||||
|
int32 source_pos_y = 2;
|
||||||
|
int32 source_pos_z = 3;
|
||||||
|
int32 target_pos_x = 4;
|
||||||
|
int32 target_pos_y = 5;
|
||||||
|
int32 target_pos_z = 6;
|
||||||
|
string item_id = 7;
|
||||||
|
uint32 item_amount = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryOpenEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryPickupItemEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
int32 item_entity_id = 4;
|
||||||
|
string item_id = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrepareAnvilEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string rename_text = 2;
|
||||||
|
uint32 repair_cost = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrepareGrindstoneEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string result_item = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrepareInventoryResultEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string result_item = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrepareItemCraftEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string recipe_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrepareSmithingEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string result_item = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SmithItemEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string recipe_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TradeSelectEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
uint32 slot_index = 2;
|
||||||
|
}
|
||||||
@ -6,29 +6,474 @@ import "patchbukkit/common/types.proto";
|
|||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "patchbukkit.events";
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
message PlayerJoinEvent {
|
message AsyncPlayerChatEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
string join_message = 2;
|
string message = 2;
|
||||||
|
string format = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerQuitEvent {
|
message AsyncPlayerPreLoginEvent {
|
||||||
|
string player_name = 1;
|
||||||
|
patchbukkit.common.UUID player_uuid = 2;
|
||||||
|
string ip_address = 3;
|
||||||
|
string kick_message = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BedrockFormResponseEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
string quit_message = 2;
|
uint32 form_id = 2;
|
||||||
|
string response_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerChangedMainHandEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string main_hand = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerEggThrowEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
patchbukkit.common.UUID egg_uuid = 2;
|
||||||
|
bool hatching = 3;
|
||||||
|
uint32 num_hatches = 4;
|
||||||
|
string hatching_type = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerExpChangeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 amount = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerFishEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
patchbukkit.common.UUID caught_uuid = 2;
|
||||||
|
string caught_type = 3;
|
||||||
|
patchbukkit.common.UUID hook_uuid = 4;
|
||||||
|
string state = 5;
|
||||||
|
string hand = 6;
|
||||||
|
int32 exp_to_drop = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryCloseEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventoryClickEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string click_type = 2;
|
||||||
|
int32 slot = 3;
|
||||||
|
int32 raw_slot = 4;
|
||||||
|
string clicked_item_name = 5;
|
||||||
|
int32 clicked_item_count = 6;
|
||||||
|
string cursor_name = 7;
|
||||||
|
int32 cursor_count = 8;
|
||||||
|
int32 hotbar_button = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerItemHeldEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
uint32 previous_slot = 2;
|
||||||
|
uint32 new_slot = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerAdvancementDoneEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string advancement_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerAnimationEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string animation_type = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerArmorStandManipulateEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 armor_stand_id = 2;
|
||||||
|
uint32 slot = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerBedEnterEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 bed_pos_x = 2;
|
||||||
|
int32 bed_pos_y = 3;
|
||||||
|
int32 bed_pos_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerBedLeaveEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 bed_pos_x = 2;
|
||||||
|
int32 bed_pos_y = 3;
|
||||||
|
int32 bed_pos_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerBucketEmptyEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
string bucket = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerBucketFillEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
string bucket = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerBucketEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 entity_id = 2;
|
||||||
|
string bucket_item = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerChangeWorldEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
patchbukkit.common.UUID previous_world_uuid = 2;
|
||||||
|
patchbukkit.common.UUID new_world_uuid = 3;
|
||||||
|
double pos_x = 4;
|
||||||
|
double pos_y = 5;
|
||||||
|
double pos_z = 6;
|
||||||
|
float yaw = 7;
|
||||||
|
float pitch = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerChangedWorldEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
patchbukkit.common.UUID from_world_uuid = 2;
|
||||||
|
patchbukkit.common.UUID to_world_uuid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerChannelEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string channel = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerChatEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string message = 2;
|
||||||
|
repeated patchbukkit.common.UUID recipients_uuids = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerCommandPreprocessEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string command = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerCommandSendEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string command = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerCustomPayloadEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string channel = 2;
|
||||||
|
bytes data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerDropItemEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
uint32 count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerEditBookEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
uint32 slot = 2;
|
||||||
|
repeated string pages = 3;
|
||||||
|
string title = 4;
|
||||||
|
bool signing = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerElytraBoostEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 firework_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerExpCooldownChangeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 new_cooldown = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerGamemodeChangeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string previous_gamemode = 2;
|
||||||
|
string new_gamemode = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerHarvestBlockEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
repeated string harvested_items_names = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerHideEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 entity_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerInputEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string input = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerInteractAtEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 entity_id = 2;
|
||||||
|
double clicked_x = 3;
|
||||||
|
double clicked_y = 4;
|
||||||
|
double clicked_z = 5;
|
||||||
|
uint32 hand = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerInteractEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
patchbukkit.common.UUID target_uuid = 2;
|
||||||
|
string action = 3;
|
||||||
|
double target_position_x = 4;
|
||||||
|
double target_position_y = 5;
|
||||||
|
double target_position_z = 6;
|
||||||
|
bool sneaking = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerInteractEvent {
|
message PlayerInteractEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
string action = 2;
|
string action = 2;
|
||||||
int32 clicked_x = 3;
|
int32 clicked_pos_x = 3;
|
||||||
int32 clicked_y = 4;
|
int32 clicked_pos_y = 4;
|
||||||
int32 clicked_z = 5;
|
int32 clicked_pos_z = 5;
|
||||||
string block_face = 6;
|
string block = 6;
|
||||||
string hand = 7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerGameModeChangeEvent {
|
message PlayerInteractUnknownEntityEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
string new_gamemode = 2;
|
int32 entity_id = 2;
|
||||||
|
string action = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerItemBreakEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerItemConsumeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerItemDamageEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
int32 damage = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerItemMendEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
int32 repair_amount = 3;
|
||||||
|
int32 exp_consumed = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerJoinEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string join_message = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerKickEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string reason = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerLeashEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 entity_id = 2;
|
||||||
|
int32 holder_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerLeaveEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string leave_message = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerLevelChangeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 old_level = 2;
|
||||||
|
int32 new_level = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerLinksSendEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
repeated string links = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerLocaleChangeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string new_locale = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerLoginEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string kick_message = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerMoveEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
double from_x = 2;
|
||||||
|
double from_y = 3;
|
||||||
|
double from_z = 4;
|
||||||
|
double to_x = 5;
|
||||||
|
double to_y = 6;
|
||||||
|
double to_z = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerNameEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 entity_id = 2;
|
||||||
|
string name = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerOpenSignEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
bool is_front = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerPermissionCheckEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string permission = 2;
|
||||||
|
bool result = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerPickupArrowEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 arrow_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerPortalEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 from_pos_x = 2;
|
||||||
|
int32 from_pos_y = 3;
|
||||||
|
int32 from_pos_z = 4;
|
||||||
|
int32 to_pos_x = 5;
|
||||||
|
int32 to_pos_y = 6;
|
||||||
|
int32 to_pos_z = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerPreLoginEvent {
|
||||||
|
string player_name = 1;
|
||||||
|
patchbukkit.common.UUID player_uuid = 2;
|
||||||
|
string ip_address = 3;
|
||||||
|
string kick_message = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerRecipeBookClickEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string recipe_id = 2;
|
||||||
|
bool make_all = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerRecipeBookSettingsChangeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string book_type = 2;
|
||||||
|
bool is_open = 3;
|
||||||
|
bool is_filtering = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerRecipeDiscoverEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string recipe_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerRegisterChannelEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string channel = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerResourcePackStatusEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string pack_id = 2;
|
||||||
|
string status = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerRespawnEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
patchbukkit.common.UUID previous_world_uuid = 2;
|
||||||
|
patchbukkit.common.UUID respawned_world_uuid = 3;
|
||||||
|
double pos_x = 4;
|
||||||
|
double pos_y = 5;
|
||||||
|
double pos_z = 6;
|
||||||
|
float yaw = 7;
|
||||||
|
float pitch = 8;
|
||||||
|
bool alive = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerRiptideEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string item_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerShearEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 entity_id = 2;
|
||||||
|
uint32 hand = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerShowEntityEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 entity_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerSpawnChangeEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 new_spawn_x = 2;
|
||||||
|
int32 new_spawn_y = 3;
|
||||||
|
int32 new_spawn_z = 4;
|
||||||
|
bool forced = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerSpawnLocationEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
double spawn_pos_x = 2;
|
||||||
|
double spawn_pos_y = 3;
|
||||||
|
double spawn_pos_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerStatisticIncrementEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
string statistic_id = 2;
|
||||||
|
int32 amount = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerSwapHandItemsEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerTakeLecternBookEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
string book_name = 5;
|
||||||
|
int32 book_count = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerTeleportEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
double from_x = 2;
|
||||||
|
double from_y = 3;
|
||||||
|
double from_z = 4;
|
||||||
|
double to_x = 5;
|
||||||
|
double to_y = 6;
|
||||||
|
double to_z = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerToggleFlightEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
bool is_flying = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerToggleSneakEvent {
|
message PlayerToggleSneakEvent {
|
||||||
@ -41,28 +486,19 @@ message PlayerToggleSprintEvent {
|
|||||||
bool is_sprinting = 2;
|
bool is_sprinting = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerToggleFlightEvent {
|
message PlayerUnleashEntityEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
bool is_flying = 2;
|
int32 entity_id = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerChatEvent {
|
message PlayerUnregisterChannelEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
string message = 2;
|
string channel = 2;
|
||||||
string format = 3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerMoveEvent {
|
message PlayerVelocityEvent {
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
patchbukkit.common.Location from = 2;
|
double velocity_x = 2;
|
||||||
patchbukkit.common.Location to = 3;
|
double velocity_y = 3;
|
||||||
|
double velocity_z = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlayerInteractEntityEvent {
|
|
||||||
patchbukkit.common.UUID player_uuid = 1;
|
|
||||||
patchbukkit.common.UUID target_uuid = 2;
|
|
||||||
string action = 3;
|
|
||||||
bool is_sneaking = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
28
proto/patchbukkit/events/raid_events.proto
Normal file
28
proto/patchbukkit/events/raid_events.proto
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message RaidFinishEvent {
|
||||||
|
bool victory = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RaidSpawnWaveEvent {
|
||||||
|
uint32 wave = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RaidStopEvent {
|
||||||
|
string reason = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RaidTriggerEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
}
|
||||||
@ -6,15 +6,72 @@ import "patchbukkit/common/types.proto";
|
|||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "patchbukkit.events";
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
message PluginEnableEvent {
|
message ServerListPingEvent {
|
||||||
string plugin_name = 1;
|
string motd = 1;
|
||||||
|
uint32 max_players = 2;
|
||||||
|
uint32 num_players = 3;
|
||||||
|
string favicon = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message MapInitializeEvent {
|
||||||
|
int32 map_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PacketReceivedEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 packet_id = 2;
|
||||||
|
bytes payload = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PacketSentEvent {
|
||||||
|
patchbukkit.common.UUID player_uuid = 1;
|
||||||
|
int32 packet_id = 2;
|
||||||
|
bytes payload = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PluginDisableEvent {
|
message PluginDisableEvent {
|
||||||
string plugin_name = 1;
|
string plugin_name = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ServerCommandEvent {
|
message PluginEnableEvent {
|
||||||
string sender_name = 1;
|
string plugin_name = 1;
|
||||||
string command = 2;
|
}
|
||||||
|
|
||||||
|
message RemoteServerCommandEvent {
|
||||||
|
string command = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ServerBroadcastEvent {
|
||||||
|
string message = 1;
|
||||||
|
string sender = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ServerCommandEvent {
|
||||||
|
string command = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ServerLoadEvent {
|
||||||
|
string load_type = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ServerTickEndEvent {
|
||||||
|
int32 tick = 1;
|
||||||
|
int64 duration_nanos = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ServerTickStartEvent {
|
||||||
|
int32 tick = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ServiceRegisterEvent {
|
||||||
|
string service_name = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ServiceUnregisterEvent {
|
||||||
|
string service_name = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TabCompleteEvent {
|
||||||
|
string buffer = 1;
|
||||||
|
repeated string completions = 2;
|
||||||
}
|
}
|
||||||
|
|||||||
60
proto/patchbukkit/events/vehicle_events.proto
Normal file
60
proto/patchbukkit/events/vehicle_events.proto
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message VehicleBlockCollisionEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
int32 block_x = 2;
|
||||||
|
int32 block_y = 3;
|
||||||
|
int32 block_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleCollisionEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleCreateEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleDamageEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
float damage = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleDestroyEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleEnterEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
int32 entered_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleEntityCollisionEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
int32 collided_entity_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleExitEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
int32 exited_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleMoveEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
double from_x = 2;
|
||||||
|
double from_y = 3;
|
||||||
|
double from_z = 4;
|
||||||
|
double to_x = 5;
|
||||||
|
double to_y = 6;
|
||||||
|
double to_z = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VehicleUpdateEvent {
|
||||||
|
int32 vehicle_id = 1;
|
||||||
|
}
|
||||||
134
proto/patchbukkit/events/world_events.proto
Normal file
134
proto/patchbukkit/events/world_events.proto
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package patchbukkit.events;
|
||||||
|
|
||||||
|
import "patchbukkit/common/types.proto";
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "patchbukkit.events";
|
||||||
|
|
||||||
|
message AsyncStructureGenerateEvent {
|
||||||
|
string world_name = 1;
|
||||||
|
string structure_name = 2;
|
||||||
|
int32 block_x = 3;
|
||||||
|
int32 block_y = 4;
|
||||||
|
int32 block_z = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message AsyncStructureSpawnEvent {
|
||||||
|
string world_name = 1;
|
||||||
|
string structure_name = 2;
|
||||||
|
int32 block_x = 3;
|
||||||
|
int32 block_y = 4;
|
||||||
|
int32 block_z = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ChunkLoad {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ChunkPopulateEvent {
|
||||||
|
int32 chunk_x = 1;
|
||||||
|
int32 chunk_z = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ChunkSave {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ChunkSend {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ChunkUnloadEvent {
|
||||||
|
int32 chunk_x = 1;
|
||||||
|
int32 chunk_z = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntitiesLoadEvent {
|
||||||
|
int32 chunk_x = 1;
|
||||||
|
int32 chunk_z = 2;
|
||||||
|
int64 entity_count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EntitiesUnloadEvent {
|
||||||
|
int32 chunk_x = 1;
|
||||||
|
int32 chunk_z = 2;
|
||||||
|
int64 entity_count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GenericGameEvent {
|
||||||
|
string event_key = 1;
|
||||||
|
double pos_x = 2;
|
||||||
|
double pos_y = 3;
|
||||||
|
double pos_z = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LightningStrikeEvent {
|
||||||
|
double pos_x = 1;
|
||||||
|
double pos_y = 2;
|
||||||
|
double pos_z = 3;
|
||||||
|
bool is_effect = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LootGenerateEvent {
|
||||||
|
string loot_table = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PortalCreateEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string portal_type = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SpawnChangeEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
int32 previous_position_x = 2;
|
||||||
|
int32 previous_position_y = 3;
|
||||||
|
int32 previous_position_z = 4;
|
||||||
|
float previous_yaw = 5;
|
||||||
|
float previous_pitch = 6;
|
||||||
|
int32 new_position_x = 7;
|
||||||
|
int32 new_position_y = 8;
|
||||||
|
int32 new_position_z = 9;
|
||||||
|
float new_yaw = 10;
|
||||||
|
float new_pitch = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message StructureGrowEvent {
|
||||||
|
int32 block_x = 1;
|
||||||
|
int32 block_y = 2;
|
||||||
|
int32 block_z = 3;
|
||||||
|
string species = 4;
|
||||||
|
bool bone_meal = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TimeSkipEvent {
|
||||||
|
int64 skip_amount = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message WeatherChangeEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
bool to_weather_state = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ThunderChangeEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
bool to_thunder_state = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message WorldInitEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message WorldLoadEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message WorldUnloadEvent {
|
||||||
|
patchbukkit.common.UUID world_uuid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message WorldSaveEvent {
|
||||||
|
string world_name = 1;
|
||||||
|
}
|
||||||
46
rust/Cargo.lock
generated
46
rust/Cargo.lock
generated
@ -2939,9 +2939,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ordered-float"
|
name = "ordered-float"
|
||||||
version = "5.3.0"
|
version = "5.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b7d950ca161dc355eaf28f82b11345ed76c6e1f6eb1f4f4479e0323b9e2fbd0e"
|
checksum = "8c7c9e0d9b23589f26070720bac724174bfec1083e82f7854cdd0267518343c0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"num-traits",
|
"num-traits",
|
||||||
]
|
]
|
||||||
@ -3510,7 +3510,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin"
|
name = "pumpkin"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes 0.9.2",
|
"aes 0.9.2",
|
||||||
"arc-swap",
|
"arc-swap",
|
||||||
@ -3565,8 +3565,8 @@ dependencies = [
|
|||||||
"tracing-subscriber",
|
"tracing-subscriber",
|
||||||
"ureq",
|
"ureq",
|
||||||
"uuid",
|
"uuid",
|
||||||
"wasm-encoder 0.256.0",
|
"wasm-encoder 0.257.1",
|
||||||
"wasmparser 0.256.0",
|
"wasmparser 0.257.1",
|
||||||
"wasmtime",
|
"wasmtime",
|
||||||
"wasmtime-wasi",
|
"wasmtime-wasi",
|
||||||
"wasmtime-wasi-http",
|
"wasmtime-wasi-http",
|
||||||
@ -3576,7 +3576,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-api-macros"
|
name = "pumpkin-api-macros"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro-error2",
|
"proc-macro-error2",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
@ -3587,7 +3587,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-codecs"
|
name = "pumpkin-codecs"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"tracing",
|
"tracing",
|
||||||
@ -3596,7 +3596,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-config"
|
name = "pumpkin-config"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pumpkin-util",
|
"pumpkin-util",
|
||||||
"serde",
|
"serde",
|
||||||
@ -3608,7 +3608,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-data"
|
name = "pumpkin-data"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crc-fast",
|
"crc-fast",
|
||||||
"phf",
|
"phf",
|
||||||
@ -3621,7 +3621,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-inventory"
|
name = "pumpkin-inventory"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pumpkin-data",
|
"pumpkin-data",
|
||||||
"pumpkin-protocol",
|
"pumpkin-protocol",
|
||||||
@ -3636,7 +3636,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-macros"
|
name = "pumpkin-macros"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"heck",
|
"heck",
|
||||||
"proc-macro-error2",
|
"proc-macro-error2",
|
||||||
@ -3649,7 +3649,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-nbt"
|
name = "pumpkin-nbt"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"cesu8",
|
"cesu8",
|
||||||
@ -3663,7 +3663,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-protocol"
|
name = "pumpkin-protocol"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes 0.9.2",
|
"aes 0.9.2",
|
||||||
"async-compression",
|
"async-compression",
|
||||||
@ -3688,7 +3688,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-util"
|
name = "pumpkin-util"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.23.1",
|
"base64 0.23.1",
|
||||||
"bytes",
|
"bytes",
|
||||||
@ -3714,7 +3714,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "pumpkin-world"
|
name = "pumpkin-world"
|
||||||
version = "0.1.0-dev+26.2-26.40"
|
version = "0.1.0-dev+26.2-26.40"
|
||||||
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#80e6fceb08cf29dfcab81c19912cec28937eef51"
|
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#0d55aa54118956e459702394f2cf4609ab71db75"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"arc-swap",
|
"arc-swap",
|
||||||
"bitflags 2.13.1",
|
"bitflags 2.13.1",
|
||||||
@ -5357,9 +5357,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uuid"
|
name = "uuid"
|
||||||
version = "1.24.1"
|
version = "1.25.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2cefc03fd367c0c6d4305de1b312cf00248c4114f4a0418ce6a6af769e3b0bd9"
|
checksum = "f053576934f05a761a402421fbbe3d425d9366f75f978806a037b3ca481abecc"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"getrandom 0.4.3",
|
"getrandom 0.4.3",
|
||||||
"js-sys",
|
"js-sys",
|
||||||
@ -5456,12 +5456,12 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasm-encoder"
|
name = "wasm-encoder"
|
||||||
version = "0.256.0"
|
version = "0.257.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ec1492381bfd5ea51c2a99a919b676662559925cb8d7490547ec2e14c1ad3eb1"
|
checksum = "7d8ad9f0a39050867bda22e6486c316e2e52d20a42154d5bc433934bf738d085"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"leb128fmt",
|
"leb128fmt",
|
||||||
"wasmparser 0.256.0",
|
"wasmparser 0.257.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -5479,15 +5479,13 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmparser"
|
name = "wasmparser"
|
||||||
version = "0.256.0"
|
version = "0.257.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "60bd825ffedc6cba8a642924ba7ae424afbc47811cffbcb7b92031ec24e59b4c"
|
checksum = "d92fc335fb6d48f46bda1d8b26b69e28320c15ac3272208333833d6e217e2b4a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.13.1",
|
"bitflags 2.13.1",
|
||||||
"hashbrown 0.17.1",
|
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"semver",
|
"semver",
|
||||||
"serde",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user