aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/IUIScene_CommandBlockMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Common/UI/IUIScene_CommandBlockMenu.h')
-rw-r--r--Minecraft.Client/Common/UI/IUIScene_CommandBlockMenu.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/UI/IUIScene_CommandBlockMenu.h b/Minecraft.Client/Common/UI/IUIScene_CommandBlockMenu.h
new file mode 100644
index 00000000..db0aff82
--- /dev/null
+++ b/Minecraft.Client/Common/UI/IUIScene_CommandBlockMenu.h
@@ -0,0 +1,18 @@
+#pragma once
+#include "../Minecraft.World/net.minecraft.world.level.tile.entity.h"
+
+class IUIScene_CommandBlockMenu
+{
+public:
+ void Initialise(CommandBlockEntity *commandBlock);
+
+protected:
+ void ConfirmButtonClicked();
+
+ virtual wstring GetCommand();
+ virtual void SetCommand(wstring command);
+ virtual int GetPad();
+
+private:
+ CommandBlockEntity *m_commandBlock;
+}; \ No newline at end of file