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

145 commits

Author SHA1 Message Date
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
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
69f7eebcb3 fix for hypixel (wasn't sending ClientInformation on configuration) 2024-02-18 02:25:27 -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
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
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
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
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
9633508a3a replace log with tracing 2023-11-18 00:58:47 -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
30702d94f6 fix QueryDoesNotMatch and improve error 2023-10-06 15:23:36 -05:00
mat
befa33a879 organize azalea_core and re-export it from azalea 2023-10-01 15:19:13 -05:00
mat
0bf8291388 check for entity duplication before spawning
this fixes behavior where in swarms entities in the world might sometimes have a duplicate that gets spawned and despawned immediately
2023-09-28 21:57:36 -05:00
mat
7b3e2e4bf7
1.20.2 (#99)
* add configuration state

* start updating to 23w31a

* implement a bit more of 23w31a

* chunk batching

* start adding configuration state

* ioasfhjgsd

* almost works

* configuration state mostly implemented

* handle other packets in configuration state and fix keepalive

* cleanup, fix warnings

* 23w32a

* fix some doctests

* 23w33a

* 23w35a

* 1.20.2-pre2

* fix system conflicts

* 1.20.2-pre4

* make tests compile

* tests pass

* 1.20.2-rc2

* 1.20.2

* Revert "1.20.2"

This reverts commit dd152fd265.

* didn't mean to commit that code

---------

Co-authored-by: mat <git@matdoes.dev>
2023-09-21 11:16:29 -05:00
mat
83cce23614 add Loaded component and fix clamping look direction 2023-09-19 02:01:39 -05:00
mat
51963990bc fix entities not always being despawned after merge 2023-09-18 23:25:22 -05:00
mat
61e63c0896 don't apply metadata updates multiple times in swarms 2023-09-16 22:30:28 -05:00
mat
a920359c9a simplify some code related to Account being a component 2023-09-15 17:38:24 -05:00
mat
b6586d500c make Account a component 2023-09-15 17:09:04 -05:00
mat
659b6a1175 rename start_ecs to start_ecs_runner 2023-09-15 17:00:52 -05:00
mat
83784d5a35 rename Local to LocalEntity 2023-09-14 16:48:21 -05:00
mat
f8cca41361 fix falling through blocks on spawn (and triggering anticheats) 2023-09-11 22:59:05 -05:00
mat
472496b7b8 fix all bevy ambiguities 2023-08-25 23:28:19 -05:00
mat
d5465cd28e add basic pathfinding test 2023-08-25 02:34:31 -05:00
mat
11d14c74c5
Support properly switching instances (#106)
* start implementing switching dimensions

* fix removeentity in shared worlds

* also store entity ids per local player

* uncomment a trace in pathfinder

* cleanup

---------

Co-authored-by: mat <git@matdoes.dev>
2023-08-24 22:59:40 -05:00
Luuk van Oijen
a81c4c060b
Food/saturation component support (#97)
* modified for food stuff

* moved food/saturation to a separate file

* hunger component

* simplify some logic

---------

Co-authored-by: mat <git@matdoes.dev>
2023-08-21 22:50:21 -05:00
mat
a839c6a923 fix brigadier booleans 2023-07-15 16:35:23 -05:00
mat
cde7e35046
Attacking (#96)
* add Client::attack

* partially implement attack cooldowns

* attack speed modifiers

* don't care clippy

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-15 04:39:43 -05:00
mat
148f203817 fix auto respawn and fix entity metadata 2023-07-15 02:06:19 -05:00
mat
7405427199
Mining (#95)
* more mining stuff

* initialize azalea-tags crate

* more mining stuff 2

* mining in ecs

* well technically mining works but

no codegen for how long it takes to mine each block yet

* rename downloads to __cache__

it was bothering me since it's not *just* downloads

* codegen block behavior

* fix not sending packet to finish breaking block

* mining animation 🎉

* clippy

* cleanup, move Client::mine into a client extension

* add azalea/src/mining.rs

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-14 22:20:40 -05:00
mat
d1afd02aa8
Update to Bevy 0.11 (#94)
* update to bevy 0.11

* clippy

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-09 19:11:29 -05:00
xtex
ea8a8fccb6
Add ClientBuilder:new_without_log (#93)
* Add ClientBuilder:new_without_log

* 'log' feature

* fix warnings

---------

Co-authored-by: mat <git@matdoes.dev>
2023-06-24 17:43:38 -05:00
mat
8813330359 random fixes mostly related to auth and crypto 2023-05-27 01:57:31 -05:00
mat
2ba7b83490 ClientBuilder::new_without_plugins 2023-05-16 23:26:45 -05:00
mat
e977391b04 auto respawn 2023-05-12 23:20:23 -05:00
mat
634cb8d72c
Inventory (#48)
* start adding azalea-inventory

* design more of how inventories are defined

* start working on az-inv-macros

* inventory macro works

* start adding inventory codegen

* update some deps

* add inventory codegen

* manually write inventory menus

* put the inventories in Client

* start on containersetcontent

* inventory menu should hopefully work

* checks in containersetcontent

* format a comment

* move some variant matches

* inventory.rs

* inventory stuff

* more inventory stuff

* inventory/container tracking works

* start adding interact function

* sequence number

* start adding HitResultComponent

* implement traverse_blocks

* start adding clip

* add clip function

* update_hit_result_component

* start trying to fix

* fix

* make some stuff simpler

* clippy

* lever

* chest

* container handle

* fix ambiguity

* fix some doc tests

* move some container stuff from az-client to azalea

* clicking container

* start implementing simulate_click

* keep working on simulate click

* implement more of simulate_click

this is really boring

* inventory fixes

* start implementing shift clicking

* fix panic in azalea-chat i hope

* shift clicking implemented

* more inventory stuff

* fix items not showing in containers sometimes

* fix test

* fix all warnings

* remove a println

---------

Co-authored-by: mat <git@matdoes.dev>
2023-05-03 20:57:27 -05:00
mat
cd0a1ed8d4 fix doc errors 2023-03-11 17:02:57 -06:00
mat
f28efd5637 make ClientInformation and TabList their own components 2023-03-08 19:26:40 +00:00
mat
719379a8a7
Bevy 0.10 (#79)
* replace 0.9.1 with 0.10.0

* start migrating to bevy .10

* well it compiles

* doesn't immediately panic

* remove unused imports

* fmt

* delete azalea-ecs

* make RelativeEntityUpdate an EntityCommand

* fix a doc test

* explain what FixedUpdate does
2023-03-07 14:14:36 -06:00