1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
azalea/azalea-client/src
mat a707e2eb82
Add mining to the pathfinder (#122)
* basic pathfinder mining poc

* mining descending and autotool

* pathfinder mining descending

* pathfinder fixes

* allow disabling pathfinder miner and other fixes

* small optimization to avoid chunk vec iter lookup sometimes

* seeded rng in pathfinder bench

* consistently use f32::INFINITY

this brings performance much closer to how it was before

* astar heuristic optimization from baritone

* add downward_move

* fix downward move execute

* avoid liquids and falling blocks when mining

* fix COST_HEURISTIC

* fix to not path through flowing liquids

* only reset pathfinder timeout while mining if the block is close enough

* cache mining costs of block positions

* fix mine_while_at_start and move PathfinderDebugParticles to its own module

* add ReachBlockPosGoal

in other news: azalea's sin/cos functions were broken this whole time and i never noticed

* clippy and add things that i accidentally didn't commit

* improve wording on doc for azalea::pathfinder
2023-12-15 11:26:40 -06:00
..
packet_handling fix typos in code with crate-ci/typos 2023-12-09 18:36:16 -06:00
account.rs use minecraft_folder_path 2023-12-06 23:23:18 -06:00
attack.rs Replace Bevy's FixedUpdate with Azalea's GameTick (#119) 2023-12-04 23:42:49 -06:00
chat.rs revert packet name to Disguised and make it more like ChatPacket::Player 2023-12-04 14:27:13 -06:00
chunks.rs make it so plugins can send and receive packets during the login state 2023-12-03 02:41:09 -06:00
client.rs Climbing (#121) 2023-12-10 00:08:08 -06:00
disconnect.rs compression does not need to be async 2023-12-01 23:09:24 -06:00
entity_query.rs improve docs a bit 2023-11-12 17:13:43 -06:00
events.rs Replace Bevy's FixedUpdate with Azalea's GameTick (#119) 2023-12-04 23:42:49 -06:00
interact.rs Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
inventory.rs Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
lib.rs use minecraft_folder_path 2023-12-06 23:23:18 -06:00
local_player.rs clippy 2023-12-03 02:42:45 -06:00
mining.rs Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
movement.rs fix typos in code with crate-ci/typos 2023-12-09 18:36:16 -06:00
ping.rs 1.20.2 (#99) 2023-09-21 11:16:29 -05:00
player.rs bevy 0.12 2023-11-06 18:04:57 -06:00
raw_connection.rs disconnect fixes 2023-12-01 22:49:44 -06:00
respawn.rs make it so plugins can send and receive packets during the login state 2023-12-03 02:41:09 -06:00
task_pool.rs bevy 0.12 2023-11-06 18:04:57 -06:00