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

360 commits

Author SHA1 Message Date
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
e6941b6a24 instanceloadedevent and a few fixes 2023-09-18 19:29:14 -05:00
mat
856a3252f6 heightmaps 2023-09-17 21:44:17 -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
90d6b0acea fix unknown entity warnings 2023-09-14 18:29:28 -05:00
mat
6a37971420 add ResourcePackEvent event 2023-09-14 18:17:32 -05:00
mat
3621acab75 AcceptResourcePacksPlugin 2023-09-14 17:00:27 -05:00
mat
83784d5a35 rename Local to LocalEntity 2023-09-14 16:48:21 -05:00
mat
9fa6957fa1 improve some logging 2023-09-13 18:20:34 -05:00
mat
225e94d732 fix onground 2023-09-11 23:04:37 -05:00
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
a91b62d4ca make PacketReceiver::packet_writer public 2023-09-08 20:01:46 -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
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
57e5a0f0b9 remove some debug printlns 2023-08-23 22:42:07 -05:00
mat
07e3236f0b fix entities not being despawned
closes #103
2023-08-22 01:56:56 -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
4ed4be529f upgrade thiserror and other deps 2023-08-15 22:21:04 -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
15acf13477 fix sending brand incorrectly 2023-07-23 22:24:08 -05:00
mat
d99ba0da55 clean up azalea-entity a little 2023-07-23 22:17:17 -05:00
mat
eb596d921b remove unnecessary clone 2023-07-20 05:05:14 -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
Adam Reisenauer
5e46996882
Add functions auth_with_link_code, get_ms_link_code, and get_ms_auth_token. (#88)
* Add option for grabbing authentication code for Microsoft seperately. Created two new functions, one that outputs the DeviceCodeResponse and one that uses this response to authenticate an actual account.

* Added documentation and cleaned up function names. Still wondering about code repeition

* reduce code duplication, more docs, cleanup

* clippy

---------

Co-authored-by: mat <git@matdoes.dev>
2023-06-24 17:09:43 -05:00
mat
dbfbffac14 Vec3::distance_to and clippy 2023-06-14 23:43:54 -05:00
mat
8813330359 random fixes mostly related to auth and crypto 2023-05-27 01:57:31 -05:00
mat
6188230009 add stuff related to chat signing
and also some stuff related to digging because i forgot to do a different branch lol
2023-05-26 15:18:04 -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
e977391b04 auto respawn 2023-05-12 23:20:23 -05:00
mat
741a1f65d6 handle ping packet and resource pack correctly 2023-05-12 22:30:13 -05:00
mat
84c0908f34 fix panic on disconnect 2023-05-06 01:02:21 -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
8215331381 rename and export AccountOpts 2023-04-19 20:10:40 +00:00
mat
b276978195 clear titles packet 2023-03-21 18:20:47 +00:00
mat
12a9c8ce65
1.19.4 (#57)
* 23w03a

* 23w04a

* 23w05a

* 23w06a

* fix

* 23w07a

mojang broke their json data generator so some stuff is missing

* didn't mean to commit that file here

* 1.19.4-pre2

* fix

* 1.19.4-pre3

* fix

* how did these packets get here

* 1.19.4-pre4

* 1.19.4-rc1

* 1.19.4-rc2

* 1.19.4-rc3

* merge main

* remove debugging code

* 1.19.4
2023-03-14 16:33:03 -05:00