feat(plugin-api): allow to set tab header/footer

This commit is contained in:
Alexander Medvedev committed 2026-04-20 14:06:37 +02:00
1 parent 53aa958d90
commit cddb7e3f6a
20 files changed
+468 -89

No files matched your search

@@ -1,3 +1,5 @@
use pumpkin_util::text::TextComponent;
use crate::{Property, VarInt};
pub enum PlayerAction<'a> {
@@ -8,9 +10,9 @@ pub enum PlayerAction<'a> {
InitializeChat(Option<InitChat>),
UpdateGameMode(VarInt),
UpdateListed(bool),
UpdateLatency(u8),
UpdateDisplayName(u8),
UpdateListOrder,
UpdateLatency(VarInt),
UpdateDisplayName(Option<&'a TextComponent>),
UpdateListOrder(VarInt),
}
pub struct InitChat {