Minecraft-Console-Client/MinecraftClient/Mapping
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
..
BlockPalettes 1.16+ Terrain and Movement support (#1353) 2020-11-28 20:48:35 +01:00
EntityPalettes Replace ZombiePigman with ZombifiedPiglin 2020-08-23 23:48:22 +02:00
Block.cs Implement entity types (#1001) 2020-05-24 18:21:22 +02:00
Chunk.cs Add thead safety to terrain data (#1999) 2022-04-23 12:00:50 +02:00
ChunkColumn.cs Add thead safety to terrain data (#1999) 2022-04-23 12:00:50 +02:00
CommandBlockFlags.cs ChatBot API: OnScoreboardObjective, OnEntityEffect, OnUpdateScore, EntityInteract, Hand list (#1097) 2020-07-04 10:45:51 +02:00
CommandBlockMode.cs ChatBot API: OnScoreboardObjective, OnEntityEffect, OnUpdateScore, EntityInteract, Hand list (#1097) 2020-07-04 10:45:51 +02:00
Direction.cs Rework of MineCube.cs and further improvements to CalculatePath() (#2014) 2022-08-15 18:26:40 +02:00
Entity.cs Basic support for minecraft 1.19 (#2084) 2022-08-15 17:55:44 +02:00
EntityPose.cs Add Entity.Item, Entity.CustomName, OnEntityMetadata event (#1222) 2020-08-20 18:36:50 +02:00
EntityType.cs Replace ZombiePigman with ZombifiedPiglin 2020-08-23 23:48:22 +02:00
EntityTypeExtensions.cs Replace ZombiePigman with ZombifiedPiglin 2020-08-23 23:48:22 +02:00
Location.cs Fix potentual issue with location != operator 2022-04-23 11:50:43 +02:00
Material.cs 1.16+ Terrain and Movement support (#1353) 2020-11-28 20:48:35 +01:00
Material2Tool.cs Add script for excavating cubes (#1677) 2021-08-03 13:25:43 +08:00
MaterialExtensions.cs Add support for Minecraft 1.15 2019-12-14 14:22:24 +01:00
Movement.cs Rework of MineCube.cs and further improvements to CalculatePath() (#2014) 2022-08-15 18:26:40 +02:00
VillagerInfo.cs Adds support for villager trading (#1316) 2020-11-08 23:39:07 +01:00
World.cs Add thead safety to terrain data (#1999) 2022-04-23 12:00:50 +02:00