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

394 commits

Author SHA1 Message Date
mat
f8cca41361 fix falling through blocks on spawn (and triggering anticheats) 2023-09-11 22:59:05 -05:00
mat
5f8704ccc5 fix physics bugs 2023-09-10 18:18:49 -05:00
mat
4885f848a4 fix incorrect jumping 2023-09-10 17:33:10 -05:00
mat
35d6ac565d upgrade deps 2023-09-08 16:51:32 -05:00
mat
12118ebfa3 use better pathfinder costs and also fix relative entity updates breaking sometimes 2023-08-26 22:19:10 -05:00
mat
dea717b68e simplify pathfinder more 2023-08-26 18:08:13 -05:00
mat
5d7669f72b simplify pathfinder 2023-08-26 03:08:35 -05:00
mat
472496b7b8 fix all bevy ambiguities 2023-08-25 23:28:19 -05:00
mat
32eece4d37 implement stepping up stairs 2023-08-25 04:44:20 -05:00
mat
7df2256f35 add failing test for that weird diagonal edge case
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2023-08-25 03:19:11 -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
mat
07e3236f0b fix entities not being despawned
closes #103
2023-08-22 01:56:56 -05:00
TheDudeFromCI
47a280212a
Created nearest_entity system param (#102)
* Created nearest_entity system param

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* Added nearby item iterators.

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* Export bot.rs (#101)

* Removed .vscode settings (#104)

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* raycasting not raytracing

* don't panic if TranslatableComponent::to_string fails

* 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>

* Created nearest_entity system param

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* Added nearby item iterators.

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* Applied tweaks from PR review

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* Fixed doctests

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

---------

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>
Co-authored-by: mat <git@matdoes.dev>
Co-authored-by: Luuk van Oijen <lazyluuk.channel@gmail.com>
2023-08-22 01:46:54 -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
TheDudeFromCI
6a318ee6f9
Export bot.rs (#101) 2023-08-19 20:31:21 -05:00
TheDudeFromCI
f0ff8e7f29
no_handler() option for ClientBuilder (#100)
* Added no_handler client builder option

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* Made EmptyState public

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* Packaged no_handler placeholders in own module

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>

* imply no state and remove Fut generic from ClientBuilder and SwarmBuilder

* use destructuring in set_handler and fix a doc

---------

Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com>
Co-authored-by: mat <git@matdoes.dev>
2023-08-16 00:12:37 -05:00
mat
4ed4be529f upgrade thiserror and other deps 2023-08-15 22:21:04 -05:00
mat
776f714826 loosen Default requirement for State on SwarmBuilder 2023-08-03 01:29:50 -05:00
mat
68f01625cc improve Instance::find_block 2023-08-01 02:38:49 -05:00
mat
39943447f6 fix querying multiple components in entity_by 2023-07-26 00:45:06 -05:00
mat
22ea8c60fe fix sometimes not receiving chunks 2023-07-23 23:21:08 -05:00
mat
d99ba0da55 clean up azalea-entity a little 2023-07-23 22:17:17 -05:00
mat
509c154b4d descend up to 3 blocks in pathfinder 2023-07-15 17:14:10 -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
dbfbffac14 Vec3::distance_to and clippy 2023-06-14 23:43:54 -05:00
mat
2a2169226f revert echo example 2023-05-27 14:30:56 -05:00
mat
8813330359 random fixes mostly related to auth and crypto 2023-05-27 01:57:31 -05:00
mat
eb65b0ad6e fix respawn system ambiguity 2023-05-21 17:29:28 -05:00
mat
8ef57aa698 chore: Release 2023-05-17 00:04:16 -05:00
mat
cb20430481 chore: Release 2023-05-16 23:57:06 -05:00
mat
bb49c78ebc and also update the dependents lol 2023-05-16 23:53:13 -05:00
mat
e2f9d59c45 better variable naming in doc 2023-05-16 23:32:10 -05:00
mat
2ba7b83490 ClientBuilder::new_without_plugins 2023-05-16 23:26:45 -05:00
mat
0cc76dfb67 ChatPacket::is_whisper 2023-05-13 19:29:55 -05:00
mat
ca39b8b6af reexport azalea-chat and add goto docs 2023-05-13 19:08:08 -05:00
mat
2057877eba remove unused import 2023-05-12 23:22:45 -05:00
mat
e977391b04 auto respawn 2023-05-12 23:20:23 -05:00
mat
80172e4364 fix warnings 2023-05-12 18:53:08 +00:00
mat
e1e1063d15 astar 2023-05-09 22:05:46 -05:00
mat
df167a5a39 fix some warnings 2023-05-05 17:15:49 +00:00
mat
3702b2cb21 rename Client::inventory to open_inventory 2023-05-05 17:01:15 +00:00
mat
8b0b86bbcf add Client::inventory 2023-05-05 16:54:42 +00:00
mat
c690e72405 export brigadier from azalea 2023-05-04 20:11:49 -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