1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

374 commits

Author SHA1 Message Date
EnderKill98
350e32d0a9
Fix command packets (#155)
* Fix copy&paste mistake from chat command signed packet to chat command packet

* Bugfix

---------

Co-authored-by: EnderKill98 <no@mail.tld>
2024-06-16 16:03:34 -05:00
mat
f66d2d4767
1.21 (#145)
* 24w18a (data driven enchantments not implemented yet)

* 1.21
2024-06-13 19:52:05 -05:00
mat
729d211406 read Tool blocks as HolderSet
fixes an error with viaversion servers
2024-05-22 10:14:35 +00:00
mat
8e2e81651c fmt 2024-04-27 06:08:38 +00:00
Luis
6553d9510d
Use ClientIntention over ConnectionProtocol for ClientIntentionPacket (#143)
* fix!: use ClientIntention over ConnectionProtocol for ClientIntentionPacket

* chore: remove McBufRead/Writable from ConnectionProtocol

* chore: use From over Into for ClientIntention to ConnectionProtocol conversion

* chore: organise imports in existing style
2024-04-27 01:03:20 -05:00
mat
1d80f531b7
1.20.5 (#127)
* 23w51b

* make recalculate_near_end_of_path public

so other plugins can do .after(recalculate_near_end_of_path)

* update to 24w03a i think

* start implementing 24w13a

* registries work (but a lot of packets are still broken)

* fix recipes and commands packets

* i love codecs :D i am not going insane :D mojang's java is very readable :D

* item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow

* update to 1.20.5-pre3

* fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone)

* 1.20.5-rc1

* fix failing tests

* 1.20.5
2024-04-23 10:34:50 -05:00
mat
8a1e1b7bb9 clippy 2024-04-20 04:03:03 +00:00
mat
6d9d1a4569 add Client::join_with_proxy and fix tests 2024-04-20 03:59:50 +00:00
mat
353eda21ac socks5 support (#113) 2024-04-20 03:40:59 +00:00
mat
4eeda83ba4 add some more convenience functions 2024-02-24 06:02:11 -06:00
mat
64fceff1cc track entity rotations 2024-02-24 00:39:38 -06:00
mat
5c85158e7c fix 'CommandQueue has un-applied commands being dropped.' spam 2024-02-23 23:43:41 -06:00
mat
038807e607 fix for hypixel limbo 2024-02-22 22:41:54 -06:00
mat
69f7eebcb3 fix for hypixel (wasn't sending ClientInformation on configuration) 2024-02-18 02:25:27 -06:00
mat
be4f13c36c upgrade deps, bevy 0.13 2024-02-17 14:43:42 -06:00
mat
7feee2954d remove unnecessary map_err 2024-01-20 17:35:54 -06:00
1zuna
73be589e7f
fixes unwrap on write_raw_packet(...) (#128) 2024-01-20 17:34:54 -06:00
mat
1347f35492 rename open_container to open_container_at and add get_open_container 2024-01-04 01:55:00 -06:00
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
mat
348c71b97b
Climbing (#121)
* start implementing climbing

* fix tests

* fix bots running at lower tick rate
2023-12-10 00:08:08 -06:00
mat
10ee7e147d fix typos in code with crate-ci/typos 2023-12-09 18:36:16 -06:00
mat
c9a18bc6a1 apply command in StartConfiguration 2023-12-07 15:55:26 -06:00
mat
26bd9be55f implement StartConfiguration packet maybe 2023-12-07 15:54:37 -06:00
mat
98f2c54c26 use minecraft_folder_path 2023-12-06 23:23:18 -06:00
mat
7857a014b9
1.20.3 (#110)
* 23w40a

* 23w41a

* 23w42a

* 23w43a

* 23w44a

* serialize FormattedText as nbt in network

* use azalea-nbt/serde in azalea-chat

* 23w45a

* fix 23w45a to compile

* handle Object in codegen

* 1.20.3-pre2

* remove unused clientbound_resource_pack_packet.rs

* merge main and make azalea-chat use simdnbt

* 1.20.3-rc1

* fix tests

* use simdnbt 0.3

* fix ServerboundSetJigsawBlockPacket

* 1.20.3
2023-12-05 10:59:05 -06:00
mat
421d8ce2c8
Replace Bevy's FixedUpdate with Azalea's GameTick (#119)
* replace bevy FixedUpdate with azalea GameTick

* Update to Bevy 0.12.1
2023-12-04 23:42:49 -06:00
mat
797dd91710 revert packet name to Disguised and make it more like ChatPacket::Player 2023-12-04 14:27:13 -06:00
Shayne Hartford
888c276503
Add masked chat type/event (#118) 2023-12-04 14:26:53 -06:00
mat
4355e7f74b clippy 2023-12-03 20:31:36 -06:00
mat
d617c04581 remove debug print 2023-12-03 16:18:28 -06:00
mat
3e168a33c9 let plugins override query responses 2023-12-03 16:17:46 -06:00
mat
a42161a203 clippy 2023-12-03 02:42:45 -06:00
mat
1f46ef8c11 make it so plugins can send and receive packets during the login state 2023-12-03 02:41:09 -06:00
mat
f052882123 make sure Startup system runs before any bots join 2023-12-02 16:06:42 -06:00
mat
3eb9998c98 compression does not need to be async 2023-12-01 23:09:24 -06:00
mat
45f9d27601 disconnect fixes 2023-12-01 22:49:44 -06:00
1zuna
fbee81e609
addd disconnect reason (#114) 2023-12-01 22:45:12 -06:00
mat
0f9492ff38 slightly change Client::partial_world example 2023-11-28 19:27:49 -06:00
mat
135d25c753 add Client::partial_world() 2023-11-28 19:12:49 -06:00
mat
2c610826fc
Replace azalea-nbt with simdnbt (#111)
* delete azalea-nbt and replace with simdnbt

* use simdnbt from crates.io

* remove serde dependency on azalea-registry
2023-11-19 22:07:38 -06:00
mat
84e036ce37 clippy 2023-11-18 21:20:34 -06:00
mat
f0b58c7e74 share registries in swarms and fix some bugs 2023-11-18 20:44:49 -06:00
mat
000abfa136 make loading chunks its own bevy system 2023-11-18 14:54:01 -06:00
mat
89f5053b47 upgrade all dependencies 2023-11-18 01:02:52 -06:00
mat
9633508a3a replace log with tracing 2023-11-18 00:58:47 -06:00
mat
71cd3f021e make packet an Arc in PacketEvent 2023-11-18 00:49:44 -06:00
mat
e39de79a6b simplify some code 2023-11-18 00:07:25 -06:00
mat
03cc28d8e7 improve docs a bit 2023-11-12 17:13:43 -06:00
mat
ee55453fbf bevy 0.12 2023-11-06 18:04:57 -06:00
mat
48b5d12171 remove some unnecessary code and improve docs for Menu 2023-10-26 23:13:26 -05:00