zly2006 / reden-is-what-we-made

Redstone EDEN: Undo & Redo | Ctrl+Z | Mineacrft Debugger | Redstone Version Control | Any amazing features you can image!
https://redenmc.com
GNU Lesser General Public License v3.0
186 stars 22 forks source link

[Feature Request]: Macros #47

Closed zly2006 closed 6 months ago

zly2006 commented 10 months ago

Please choose if applies:

Describe the solution you'd like

Note: This feature is still in discussion, feel free to share any ideas!

A macro is a series of player actions, such as breaking blocks, interacting blocks, and modifying containers.

By pressing a hotkey, you can efficiently repeat these actions if they were recorded in a macro.

These actions may have a different behavior if the player is facing a different direction, then we should ask the player to confirm whether to change the block direction.

If there is no enough space, also ask the player to overwrite/skip/cancel.

zly2006 commented 10 months ago

For users

you can press a hotkey to start and stop macro recording, then open a configuration dialog to set something like whether to replay moving, looking direction, whether to reset looking direction at the start, etc. Then you can have a much more relaxing AFK!

zly2006 commented 10 months ago

Voting

您更喜欢哪种宏实现?

1️⃣ 一个可能不是图灵完备GUI的易于使用的实现。首先你需要录制一段操作,然后进入gui配置,比如是否重复移动,遇到错误是否继续等等,然后你可以用快捷键重做这些操作。

2️⃣ 一个类似Minecraft指令的形式,将一些操作写成客户端指令的形式,然后你可以像datapack一样开发他。

3️⃣ 一个图灵完备但是可能需要编程基础的方式,使用javascript或者其他脚本语言处理游戏操作逻辑。(也许正是https://modrinth.com/mod/jsmacros 在做的)

Which macro implementation do you prefer?

:one: An easy-to-use implementation that may not be a Turing-complete. Firstly you need to record an operation, and then enter the GUI configuration, such as whether to repeat move, whether to continue when encountering an error, etc. Then you can use hotkeys to redo these operations.

:two: An implementation similar to Minecraft commands, you can write some client side commands and then develop them like datapacks.

:three: A Turing-complete implementation that may require programming skills, using JavaScript or other scripting languages to process game operation logic. (maybe https://modrinth.com/mod/jsmacros ?)

zly2006 commented 6 months ago

Not planned. We are working on RVC.