Minecraft-Console-Client/MinecraftClient
Daenges aa1f54d0d8
Rework of MineCube.cs and further improvements to CalculatePath() (#2014)
* Add function to determine if the client is executing a walking process
* Add comments
* Remove test bot entry
* Add funtion to approach a block as close as possible
* Add funtion to approach a block as close as possible
* Add funtion to approach a block as close as possible
* Add comment to function in McClient.cs
* Improve concurrency and reduce potential calculation power
* Apply code suggestions
* Apply code suggestions
* Improve CalculatePath() function to allow approaching
* Fix typo in MinecraftClient/ChatBot.cs
* Add comments to Chatbot fucntion
* Add break to for loop to exit quicker
* Allow to give a maxOffset to the goal
* Comment the sample bot again.
* Add parameter for calculation timeout
* Remove TestBot again
* Implement timeout in Chatbot class
* Remove test commands
* Update comment in Chatbot.cs
* Set timeout to default 5 sec
* Change order of parameters back
* Add suggested improvements
* Move task and fix missing methods in .NET 4.0
* Create switch for tool handling
* Remove unused function
* Improve movement
* Improve performance of CalculatePath()

 - Replace Hashset OpenSet with a Binary Heap
  - Temporary remove maxOffset / minOffset features
 - Round start location for easier calculation
 - Add 0.5 to each location in reconstruct path to avoid getting stuck
    on edges

* Add diagonal movement
* Remove direct block movement
- causes kick for invalid packet movement if moving on the block you are
  currently standing on

* Floor start in A* and improve diagonal walking check
* Add helperfunctions to McClient.cs
* Prevent client from falling into danger
* Add comment to function and remove dependencies
* Add comments
* Remove debug settings

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-08-15 18:26:40 +02:00
..
ChatBots .NET 5+ Support (#1674) 2022-07-03 22:34:07 +08:00
Commands Add command to disable Gravity (#1955) 2022-03-06 19:37:27 +01:00
config Rework of MineCube.cs and further improvements to CalculatePath() (#2014) 2022-08-15 18:26:40 +02:00
Crypto Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
Inventory Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
Logger Add logging of color codes (#1811) 2021-10-30 11:40:58 +08:00
Mapping Rework of MineCube.cs and further improvements to CalculatePath() (#2014) 2022-08-15 18:26:40 +02:00
Properties Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
Protocol Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
Proxy Add support of language files (#1273) 2020-10-17 13:41:31 +02:00
Resources Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
Scripting Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
WinAPI .NET 5+ Support (#1674) 2022-07-03 22:34:07 +08:00
AutoTimeout.cs .NET 5+ Support (#1674) 2022-07-03 22:34:07 +08:00
Command.cs Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
ConsoleIO.cs ConsoleIO: fix timestamp & BasicIO-NoColor (#2076) 2022-08-15 18:17:30 +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 .NET 5+ Support (#1674) 2022-07-03 22:34:07 +08: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 Rework of MineCube.cs and further improvements to CalculatePath() (#2014) 2022-08-15 18:26:40 +02:00
MinecraftClient.csproj Fix automated build for .NET releases (#2059) 2022-08-15 18:20:25 +02:00
Program.cs Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
Settings.cs Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02: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 Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00