Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small refactors for plugins #499

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pumpkin-data/build/biome.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub(crate) fn build() -> TokenStream {
let variants = array_to_tokenstream(biomes);

quote! {
#[derive(Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u8)]
pub enum Biome {
#variants
Expand Down
8 changes: 4 additions & 4 deletions pumpkin-data/build/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ mod entity_pose;
mod entity_type;
mod game_event;
mod message_type;
mod noise_parmeter;
mod packet;
mod noise_parameters;
mod packets;
mod particle;
mod scoreboard_slot;
mod screen;
Expand All @@ -21,7 +21,7 @@ mod sound_category;
mod world_event;

pub fn main() {
write_generated_file(packet::build(), "packet.rs");
write_generated_file(packets::build(), "packets.rs");
write_generated_file(screen::build(), "screen.rs");
write_generated_file(particle::build(), "particle.rs");
write_generated_file(sound::build(), "sound.rs");
Expand All @@ -32,7 +32,7 @@ pub fn main() {
write_generated_file(scoreboard_slot::build(), "scoreboard_slot.rs");
write_generated_file(world_event::build(), "world_event.rs");
write_generated_file(entity_type::build(), "entity_type.rs");
write_generated_file(noise_parmeter::build(), "noise_parmeter.rs");
write_generated_file(noise_parameters::build(), "noise_parameters.rs");
write_generated_file(biome::build(), "biome.rs");
write_generated_file(message_type::build(), "message_type.rs");
}
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-data/build/chunk_status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub(crate) fn build() -> TokenStream {
quote! {
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, PartialEq, Eq)]
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Hash)]
pub enum ChunkStatus {
#variants
}
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-data/build/entity_pose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub(crate) fn build() -> TokenStream {
let variants = array_to_tokenstream(poses);

quote! {
#[derive(Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u8)]
pub enum EntityPose {
#variants
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-data/build/entity_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub(crate) fn build() -> TokenStream {
.collect::<TokenStream>();

quote! {
#[derive(Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u8)]
pub enum EntityType {
#variants
Expand Down
1 change: 1 addition & 0 deletions pumpkin-data/build/game_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub(crate) fn build() -> TokenStream {
let variants = array_to_tokenstream(game_events);

quote! {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u8)]
pub enum GameEvent {
#variants
Expand Down
6 changes: 3 additions & 3 deletions pumpkin-data/build/message_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ use serde::{Deserialize, Serialize};

use crate::ident;

#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct RawChatType {
id: u32,
components: ChatType,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct ChatType {
chat: Decoration,
narration: Decoration,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct Decoration {
translation_key: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ use std::collections::HashMap;

use proc_macro2::TokenStream;
use quote::quote;
use serde::Deserialize;
use serde::{Deserialize, Serialize};

use crate::ident;

#[derive(Deserialize)]
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
pub struct DoublePerlinNoiseParameters {
#[serde(rename = "firstOctave")]
first_octave: i32,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ use std::collections::HashMap;

use proc_macro2::TokenStream;
use quote::quote;
use serde::Deserialize;
use serde::{Deserialize, Serialize};

use crate::ident;

#[derive(Deserialize)]
#[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)]
pub struct Packets {
serverbound: HashMap<String, Vec<String>>,
clientbound: HashMap<String, Vec<String>>,
Expand Down
1 change: 1 addition & 0 deletions pumpkin-data/build/scoreboard_slot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub(crate) fn build() -> TokenStream {
let variants = array_to_tokenstream(sound_categories);

quote! {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u8)]
pub enum ScoreboardDisplaySlot {
#variants
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-data/build/sound_category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub(crate) fn build() -> TokenStream {
let variants = array_to_tokenstream(sound_categories);

quote! {
#[derive(Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u8)]
pub enum SoundCategory {
#variants
Expand Down
1 change: 1 addition & 0 deletions pumpkin-data/build/world_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub(crate) fn build() -> TokenStream {
}]);
}
quote! {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u16)]
pub enum WorldEvent {
#variants
Expand Down
6 changes: 3 additions & 3 deletions pumpkin-data/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub mod packet {
include!(concat!(env!("OUT_DIR"), "/packet.rs"));
pub mod packets {
include!(concat!(env!("OUT_DIR"), "/packets.rs"));
}

pub mod screen {
Expand All @@ -17,7 +17,7 @@ pub mod sound {

pub mod chunk {
include!(concat!(env!("OUT_DIR"), "/biome.rs"));
include!(concat!(env!("OUT_DIR"), "/noise_parmeter.rs"));
include!(concat!(env!("OUT_DIR"), "/noise_parameters.rs"));
include!(concat!(env!("OUT_DIR"), "/chunk_status.rs"));
}

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_add_resource_pack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use pumpkin_util::text::TextComponent;
use pumpkin_macros::client_packet;
use serde::Serialize;

use pumpkin_data::packet::clientbound::CONFIG_RESOURCE_PACK_PUSH;
use pumpkin_data::packets::clientbound::CONFIG_RESOURCE_PACK_PUSH;

#[derive(Serialize)]
#[client_packet(CONFIG_RESOURCE_PACK_PUSH)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_config_disconnect.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use pumpkin_macros::client_packet;

use pumpkin_data::packet::clientbound::CONFIG_DISCONNECT;
use pumpkin_data::packets::clientbound::CONFIG_DISCONNECT;

#[derive(serde::Serialize)]
#[client_packet(CONFIG_DISCONNECT)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_cookie_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::CONFIG_COOKIE_REQUEST;
use pumpkin_data::packets::clientbound::CONFIG_COOKIE_REQUEST;
use pumpkin_macros::client_packet;

use crate::codec::identifier::Identifier;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_finish_config.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::CONFIG_FINISH_CONFIGURATION;
use pumpkin_data::packets::clientbound::CONFIG_FINISH_CONFIGURATION;
use pumpkin_macros::client_packet;

#[derive(serde::Serialize)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_known_packs.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use bytes::BufMut;
use pumpkin_data::packet::clientbound::CONFIG_SELECT_KNOWN_PACKS;
use pumpkin_data::packets::clientbound::CONFIG_SELECT_KNOWN_PACKS;
use pumpkin_macros::client_packet;

use crate::{bytebuf::ByteBufMut, ClientPacket, KnownPack};
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_plugin_message.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::CONFIG_CUSTOM_PAYLOAD;
use pumpkin_data::packets::clientbound::CONFIG_CUSTOM_PAYLOAD;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_registry_data.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use bytes::{BufMut, BytesMut};
use pumpkin_data::packet::clientbound::CONFIG_REGISTRY_DATA;
use pumpkin_data::packets::clientbound::CONFIG_REGISTRY_DATA;
use pumpkin_macros::client_packet;

use crate::{bytebuf::ByteBufMut, codec::identifier::Identifier, ClientPacket};
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_server_links.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{Link, VarInt};
use pumpkin_data::packet::clientbound::CONFIG_SERVER_LINKS;
use pumpkin_data::packets::clientbound::CONFIG_SERVER_LINKS;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_store_cookie.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{codec::identifier::Identifier, VarInt};
use pumpkin_data::packet::clientbound::CONFIG_STORE_COOKIE;
use pumpkin_data::packets::clientbound::CONFIG_STORE_COOKIE;
use pumpkin_macros::client_packet;

#[derive(serde::Serialize)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_transfer.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::VarInt;
use pumpkin_data::packet::clientbound::CONFIG_TRANSFER;
use pumpkin_data::packets::clientbound::CONFIG_TRANSFER;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/login/c_cookie_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::LOGIN_COOKIE_REQUEST;
use pumpkin_data::packets::clientbound::LOGIN_COOKIE_REQUEST;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/login/c_encryption_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::LOGIN_HELLO;
use pumpkin_data::packets::clientbound::LOGIN_HELLO;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/login/c_login_disconnect.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::LOGIN_LOGIN_DISCONNECT;
use pumpkin_data::packets::clientbound::LOGIN_LOGIN_DISCONNECT;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/login/c_login_success.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use bytes::BufMut;
use pumpkin_data::packet::clientbound::LOGIN_LOGIN_FINISHED;
use pumpkin_data::packets::clientbound::LOGIN_LOGIN_FINISHED;
use pumpkin_macros::client_packet;

use crate::{bytebuf::ByteBufMut, ClientPacket, Property};
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/login/c_plugin_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::LOGIN_CUSTOM_QUERY;
use pumpkin_data::packets::clientbound::LOGIN_CUSTOM_QUERY;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/login/c_set_compression.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::LOGIN_LOGIN_COMPRESSION;
use pumpkin_data::packets::clientbound::LOGIN_LOGIN_COMPRESSION;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_acknowledge_block.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_BLOCK_CHANGED_ACK;
use pumpkin_data::packets::clientbound::PLAY_BLOCK_CHANGED_ACK;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_actionbar.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_SET_ACTION_BAR_TEXT;
use pumpkin_data::packets::clientbound::PLAY_SET_ACTION_BAR_TEXT;
use pumpkin_util::text::TextComponent;

use pumpkin_macros::client_packet;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_block_destroy_stage.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_BLOCK_DESTRUCTION;
use pumpkin_data::packets::clientbound::PLAY_BLOCK_DESTRUCTION;
use pumpkin_util::math::position::BlockPos;

use pumpkin_macros::client_packet;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_block_event.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_BLOCK_EVENT;
use pumpkin_data::packets::clientbound::PLAY_BLOCK_EVENT;
use pumpkin_util::math::position::BlockPos;

use pumpkin_macros::client_packet;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_block_update.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_BLOCK_UPDATE;
use pumpkin_data::packets::clientbound::PLAY_BLOCK_UPDATE;
use pumpkin_util::math::position::BlockPos;

use pumpkin_macros::client_packet;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_boss_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::bytebuf::ByteBufMut;
use crate::client::play::bossevent_action::BosseventAction;
use crate::{ClientPacket, VarInt};
use bytes::BufMut;
use pumpkin_data::packet::clientbound::PLAY_BOSS_EVENT;
use pumpkin_data::packets::clientbound::PLAY_BOSS_EVENT;
use pumpkin_macros::client_packet;

#[client_packet(PLAY_BOSS_EVENT)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_center_chunk.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_SET_CHUNK_CACHE_CENTER;
use pumpkin_data::packets::clientbound::PLAY_SET_CHUNK_CACHE_CENTER;
use pumpkin_macros::client_packet;

use crate::VarInt;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_change_difficulty.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_CHANGE_DIFFICULTY;
use pumpkin_data::packets::clientbound::PLAY_CHANGE_DIFFICULTY;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_chunk_data.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{bytebuf::ByteBufMut, codec::bit_set::BitSet, ClientPacket, VarInt};

use bytes::{BufMut, BytesMut};
use pumpkin_data::packet::clientbound::PLAY_LEVEL_CHUNK_WITH_LIGHT;
use pumpkin_data::packets::clientbound::PLAY_LEVEL_CHUNK_WITH_LIGHT;
use pumpkin_macros::client_packet;
use pumpkin_world::{
chunk::{ChunkData, SUBCHUNKS_COUNT},
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_clear_title.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_CLEAR_TITLES;
use pumpkin_data::packets::clientbound::PLAY_CLEAR_TITLES;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_close_container.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_CONTAINER_CLOSE;
use pumpkin_data::packets::clientbound::PLAY_CONTAINER_CLOSE;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_combat_death.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_PLAYER_COMBAT_KILL;
use pumpkin_data::packets::clientbound::PLAY_PLAYER_COMBAT_KILL;
use pumpkin_macros::client_packet;
use pumpkin_util::text::TextComponent;
use serde::Serialize;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_command_suggestions.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use bytes::BufMut;
use pumpkin_data::packet::clientbound::PLAY_COMMAND_SUGGESTIONS;
use pumpkin_data::packets::clientbound::PLAY_COMMAND_SUGGESTIONS;
use pumpkin_macros::client_packet;
use pumpkin_util::text::TextComponent;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_commands.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use bytes::BufMut;
use pumpkin_data::packet::clientbound::PLAY_COMMANDS;
use pumpkin_data::packets::clientbound::PLAY_COMMANDS;
use pumpkin_macros::client_packet;

use crate::{bytebuf::ByteBufMut, ClientPacket, VarInt};
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_cookie_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_COOKIE_REQUEST;
use pumpkin_data::packets::clientbound::PLAY_COOKIE_REQUEST;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_damage_event.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_DAMAGE_EVENT;
use pumpkin_data::packets::clientbound::PLAY_DAMAGE_EVENT;
use pumpkin_macros::client_packet;
use pumpkin_util::math::vector3::Vector3;
use serde::Serialize;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_DISGUISED_CHAT;
use pumpkin_data::packets::clientbound::PLAY_DISGUISED_CHAT;
use pumpkin_util::text::TextComponent;

use pumpkin_macros::client_packet;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_display_objective.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use pumpkin_data::{
packet::clientbound::PLAY_SET_DISPLAY_OBJECTIVE, scoreboard::ScoreboardDisplaySlot,
packets::clientbound::PLAY_SET_DISPLAY_OBJECTIVE, scoreboard::ScoreboardDisplaySlot,
};
use pumpkin_macros::client_packet;
use serde::Serialize;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_entity_animation.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pumpkin_data::packet::clientbound::PLAY_ANIMATE;
use pumpkin_data::packets::clientbound::PLAY_ANIMATE;
use pumpkin_macros::client_packet;
use serde::Serialize;

Expand Down
Loading
Loading