From ea65542c1b63d7ee37025837bf205e55ace0c863 Mon Sep 17 00:00:00 2001 From: Kevin <115616336+lag@users.noreply.github.com> Date: Fri, 6 Mar 2026 09:52:28 -0600 Subject: Add Chat / Pastes / Formatting (#682) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Initial fixes for ContainerSetSlotPacket and CraftItemPacket * Chat: paste, history, ยง formatting, 1-9 block when open (Windows64) Made-with: Cursor * static_cast refactor --- Minecraft.Client/Screen.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Minecraft.Client/Screen.h') diff --git a/Minecraft.Client/Screen.h b/Minecraft.Client/Screen.h index 50deb1d0..6b2cb945 100644 --- a/Minecraft.Client/Screen.h +++ b/Minecraft.Client/Screen.h @@ -36,9 +36,12 @@ protected: virtual void mouseReleased(int x, int y, int buttonNum); virtual void buttonClicked(Button *button); public: - virtual void init(Minecraft *minecraft, int width, int height); + virtual void init(Minecraft *minecraft, int width, int height); virtual void setSize(int width, int height); virtual void init(); + virtual void handlePasteRequest() {} + virtual void handleHistoryUp() {} + virtual void handleHistoryDown() {} virtual void updateEvents(); virtual void mouseEvent(); virtual void keyboardEvent(); -- cgit v1.2.3