From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.World/RepairResultSlot.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Minecraft.World/RepairResultSlot.h (limited to 'Minecraft.World/RepairResultSlot.h') diff --git a/Minecraft.World/RepairResultSlot.h b/Minecraft.World/RepairResultSlot.h new file mode 100644 index 00000000..1895ca30 --- /dev/null +++ b/Minecraft.World/RepairResultSlot.h @@ -0,0 +1,20 @@ +#pragma once + +#include "Slot.h" + +class RepairMenu; + +class RepairResultSlot : public Slot +{ +private: + RepairMenu *m_menu; + int xt, yt, zt; + +public: + RepairResultSlot(RepairMenu *menu, int xt, int yt, int zt, shared_ptr container, int slot, int x, int y); + + bool mayPlace(shared_ptr item); + bool mayPickup(shared_ptr player); + void onTake(shared_ptr player, shared_ptr carried); + virtual bool mayCombine(shared_ptr item); // 4J Added +}; \ No newline at end of file -- cgit v1.2.3