mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
add entity -> add mob
This commit is contained in:
parent
51201ffe65
commit
3c3deb625d
2 changed files with 3 additions and 5 deletions
|
@ -1,10 +1,8 @@
|
|||
use crate::mc_buf::UnsizedByteArray;
|
||||
use azalea_core::resource_location::ResourceLocation;
|
||||
use packet_macros::GamePacket;
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Clone, Debug, GamePacket)]
|
||||
pub struct ClientboundAddEntityPacket {
|
||||
pub struct ClientboundAddMobPacket {
|
||||
#[varint]
|
||||
pub id: i32,
|
||||
pub uuid: Uuid,
|
|
@ -1,4 +1,4 @@
|
|||
pub mod clientbound_add_entity_packet;
|
||||
pub mod clientbound_add_mob_packet;
|
||||
pub mod clientbound_change_difficulty_packet;
|
||||
pub mod clientbound_custom_payload_packet;
|
||||
pub mod clientbound_declare_commands_packet;
|
||||
|
@ -23,7 +23,7 @@ declare_state_packets!(
|
|||
GamePacket,
|
||||
Serverbound => {},
|
||||
Clientbound => {
|
||||
0x02: clientbound_add_entity_packet::ClientboundAddEntityPacket,
|
||||
0x02: clientbound_add_mob_packet::ClientboundAddMobPacket,
|
||||
0x0e: clientbound_change_difficulty_packet::ClientboundChangeDifficultyPacket,
|
||||
0x12: clientbound_declare_commands_packet::ClientboundDeclareCommandsPacket,
|
||||
0x1a: clientbound_disconnect_packet::ClientboundDisconnectPacket,
|
||||
|
|
Loading…
Add table
Reference in a new issue