Minecraft-Console-Client/MinecraftClient
Daenges b3b9a26288
Add script for excavating cubes (#1677)
* Add MineCube.cs

* Clear unused comments and using directives

* Move the command to a chatbot class

* Set a maximum sleep time for block mining

* Add tool selection function

* Improve the block - tool detection

* Improve naming and comments

* Add missing blocktypes

* Add block-tool assertion and tool switching in hotbar

* Remove unused using declaratives and improve coordinate handling

* Move Material2Tool in the Mapping folder

* Add function to let the bot mine up to 5 blocks above its head

* Remove obsolete function to detect breakability

* Implement mineup command
Users can dig out a 2 high square manually. The client will walk through it
mining everything that is reachable above, while avoiding falling blocks and liquids.

* Refactor big parts of the code
Move the function for obtaining cubes to a seperate file.
Sort Unbreakables alphabetically.
Change the distance to wait in the mine function back to 2.

* Fix suggestions from review
Change several parts of the code according to the review
Add credits

* Convert the bot into a script file and move it to config folder
Adjust the script to be loadable with /script
Remove unnecessary code
Add public modifier to material2tool

* Add checking for lava and water for normal mining

* Remove MineCube.cs from chatbots

* Code re-format

Rename variables
Fix indentation

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
2021-08-03 13:25:43 +08:00
..
ChatBots AutoRespond: Support for per-match cooldown (#593) 2021-05-22 15:27:28 +02:00
Commands Add support for inventory layout as ASCII art (#906) 2021-05-29 15:21:38 +02:00
config Add script for excavating cubes (#1677) 2021-08-03 13:25:43 +08:00
Crypto fix some doc strings 2019-10-03 09:48:40 +02:00
Inventory Add support for inventory layout as ASCII art (#906) 2021-05-29 15:21:38 +02:00
Logger Implement log to file logger (#1494) 2021-03-07 14:23:26 +08:00
Mapping Add script for excavating cubes (#1677) 2021-08-03 13:25:43 +08:00
Properties Fix dev build numbering, add update notes 2019-04-28 15:58:10 +02:00
Protocol ResourcePackSend: Add URL checking for invalid resource pack 2021-07-10 19:28:39 +08:00
Proxy Add support of language files (#1273) 2020-10-17 13:41:31 +02:00
Resources Add Chinese Localization (#1651) 2021-06-24 09:30:13 +08:00
WinAPI Add ability to perform clean-up code before quitting (#1561) 2021-05-01 16:56:31 +02:00
.gitignore BouncyCastle reference is still there 2013-11-04 18:48:48 +11:00
AutoTimeout.cs Fix BungeeCord 1.8 (2nd attempt) 2015-01-31 11:21:06 +01:00
ChatBot.cs More events (#1660) 2021-07-04 14:26:41 +08:00
Command.cs Add support of language files (#1273) 2020-10-17 13:41:31 +02:00
ConsoleIO.cs Strip Minecraft Color Codes (§) in BasicIO-NoColor mode (#995) 2020-05-14 19:36:56 +02:00
CSharpRunner.cs Implement thread-safe ChatBot API (#1510, #1579) 2021-05-15 17:36:16 +02:00
DefaultConfigResource.Designer.cs Add support for inventory layout as ASCII art (#906) 2021-05-29 15:21:38 +02:00
DefaultConfigResource.resx fix caps 2021-06-01 09:08:30 +02:00
FileMonitor.cs Add support of language files (#1273) 2020-10-17 13:41:31 +02:00
INIFile.cs Use FileMonitor to synchronize Mailer bot (#1108) (v2) 2020-08-07 11:58:44 +02:00
Json.cs Implement Realms support (#1533) 2021-04-12 19:46:33 +08:00
McClient.cs More events (#1660) 2021-07-04 14:26:41 +08:00
MinecraftClient.csproj Add script for excavating cubes (#1677) 2021-08-03 13:25:43 +08:00
MinecraftClient.csproj.user Specify the CSharp version to 4 in project file 2021-04-07 21:01:07 +02:00
Program.cs Update to 1.17.1 (#1672) 2021-07-08 14:10:54 +08:00
Settings.cs Update translation file indexes web URL to the latest (#1698) 2021-07-25 20:10:37 +08:00
TaskWithDelay.cs Implement thread-safe ChatBot API (#1510, #1579) 2021-05-15 17:36:16 +02:00
TaskWithResult.cs Improve InvokeOnMainThread mechanism 2021-05-15 16:31:02 +02:00
Translations.cs Add support of language files (#1273) 2020-10-17 13:41:31 +02:00