Commit graph

59 commits

Author SHA1 Message Date
mat
2f51a0a123 Release 0.10.0
azalea@0.10.0
azalea-auth@0.10.0
azalea-block@0.10.0
azalea-block-macros@0.10.0
azalea-brigadier@0.10.0
azalea-buf@0.10.0
azalea-buf-macros@0.10.0
azalea-chat@0.10.0
azalea-client@0.10.0
azalea-core@0.10.0
azalea-crypto@0.10.0
azalea-entity@0.10.0
azalea-inventory@0.10.0
azalea-inventory-macros@0.10.0
azalea-language@0.10.0
azalea-physics@0.10.0
azalea-protocol@0.10.0
azalea-protocol-macros@0.10.0
azalea-registry@0.10.0
azalea-registry-macros@0.10.0
azalea-world@0.10.0

Generated by cargo-workspaces
2024-04-23 23:56:30 -05:00
mat
df8068b79c upgrade deps 2024-04-24 04:20:39 +00:00
mat
7357455cad Revert "Release 0.10.0"
This reverts commit f26aa56f42.
2024-04-24 04:11:53 +00:00
mat
f26aa56f42 Release 0.10.0
azalea@0.10.0
azalea-auth@0.10.0
azalea-block@0.10.0
azalea-block-macros@0.10.0
azalea-brigadier@0.10.0
azalea-buf@0.10.0
azalea-buf-macros@0.10.0
azalea-chat@0.10.0
azalea-client@0.10.0
azalea-core@0.10.0
azalea-crypto@0.10.0
azalea-entity@0.10.0
azalea-inventory@0.10.0
azalea-inventory-macros@0.10.0
azalea-language@0.10.0
azalea-physics@0.10.0
azalea-protocol@0.10.0
azalea-protocol-macros@0.10.0
azalea-registry@0.10.0
azalea-registry-macros@0.10.0
azalea-world@0.10.0

Generated by cargo-workspaces
2024-04-23 23:11:11 -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
f919fb65d6 upgrade deps 2024-04-20 04:12:16 +00:00
mat
fa96af786b Release 0.9.1
azalea@0.9.1
azalea-auth@0.9.1
azalea-block@0.9.1
azalea-block-macros@0.9.1
azalea-brigadier@0.9.1
azalea-buf@0.9.1
azalea-buf-macros@0.9.1
azalea-chat@0.9.1
azalea-client@0.9.1
azalea-core@0.9.1
azalea-crypto@0.9.1
azalea-entity@0.9.1
azalea-inventory@0.9.1
azalea-inventory-macros@0.9.1
azalea-language@0.9.1
azalea-physics@0.9.1
azalea-protocol@0.9.1
azalea-protocol-macros@0.9.1
azalea-registry@0.9.1
azalea-registry-macros@0.9.1
azalea-world@0.9.1

Generated by cargo-workspaces
2024-04-18 20:22:26 -05:00
mat
be4f13c36c upgrade deps, bevy 0.13 2024-02-17 14:43:42 -06:00
mat
64d48897af update deps 2024-01-25 00:44:20 -06:00
mat
6567cf9e5c Release 0.9.0
azalea@0.9.0
azalea-auth@0.9.0
azalea-block@0.9.0
azalea-block-macros@0.9.0
azalea-brigadier@0.9.0
azalea-buf@0.9.0
azalea-buf-macros@0.9.0
azalea-chat@0.9.0
azalea-client@0.9.0
azalea-core@0.9.0
azalea-crypto@0.9.0
azalea-entity@0.9.0
azalea-inventory@0.9.0
azalea-inventory-macros@0.9.0
azalea-language@0.9.0
azalea-physics@0.9.0
azalea-protocol@0.9.0
azalea-protocol-macros@0.9.0
azalea-registry@0.9.0
azalea-registry-macros@0.9.0
azalea-world@0.9.0

Generated by cargo-workspaces
2023-12-05 11:06:51 -06:00
mat
ab5f6d598d upgrade deps 2023-12-05 11:06:24 -06:00
mat
ee55453fbf bevy 0.12 2023-11-06 18:04:57 -06:00
mat
5212ba4d5d update repo links 2023-10-08 03:58:57 -05:00
mat
0ef15254c4 also upgrade deps everywhere else lol 2023-10-03 01:37:00 -05:00
mat
c8aad8bdfe Release 0.8.0
azalea@0.8.0
azalea-auth@0.8.0
azalea-block@0.8.0
azalea-block-macros@0.8.0
azalea-brigadier@0.8.0
azalea-buf@0.8.0
azalea-buf-macros@0.8.0
azalea-chat@0.8.0
azalea-client@0.8.0
azalea-core@0.8.0
azalea-crypto@0.8.0
azalea-entity@0.8.0
azalea-inventory@0.8.0
azalea-inventory-macros@0.8.0
azalea-language@0.8.0
azalea-nbt@0.8.0
azalea-physics@0.8.0
azalea-protocol@0.8.0
azalea-protocol-macros@0.8.0
azalea-registry@0.8.0
azalea-registry-macros@0.8.0
azalea-world@0.8.0

Generated by cargo-workspaces
2023-09-14 19:01:20 -05:00
mat
35d6ac565d upgrade deps 2023-09-08 16:51:32 -05:00
mat
d5465cd28e add basic pathfinding test 2023-08-25 02:34:31 -05:00
mat
4ed4be529f upgrade thiserror and other deps 2023-08-15 22:21:04 -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
mat
8813330359 random fixes mostly related to auth and crypto 2023-05-27 01:57:31 -05:00
mat
9bdace4aab 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:17:25 -05:00
mat
8ef57aa698 chore: Release 2023-05-17 00:04:16 -05:00
mat
3f8177a302 chore: Release 2023-05-16 23:49:08 -05:00
mat
c26bb0733f format some Cargo.tomls 2023-05-16 23:47:54 -05:00
EightFactorial
c57c68ddf8
Add RegistryHolder struct and serde features (#81)
* Make RegistryHolder struct

* Update deps

* Move RegistryHolder to azalea-protocol

* Convert bytes to bools and back

* Rename and shuffle logic

* Move logic into trait, rename methods

* Final touchups

* Ah, merge mistakes

* Add serde support for ResourceLocation

* Reuse structs

* Error when serde skips values in debug mode
Add missing attributes

* Strict_registry feature, require packet feature

* Add test

* Move into packets

* Docs and touchups

* Reword docs

* Move into module inside ClientboundLoginPacket

* Add azalea-nbt serde feature

* remove duplicate comment and type_ -> kind

---------

Co-authored-by: mat <github@matdoes.dev>
2023-03-11 16:00:10 -06:00
mat
ba3d8c35af chore: Release 2023-02-09 21:03:16 -06:00
Ubuntu
2539f948c7 have docs for all crates 2023-01-30 22:05:18 +00:00
Ubuntu
6b3b691376 (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
Ubuntu
88fd99ca52 (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
mat
70e2dfed16 wrap_comments = true 2022-12-08 18:39:35 -06:00
mat
7d901e39bc
1.19.3 (#34)
* start updating to 22w42a

* work a bit more on 22w42a

* player chat packet

* serverbound hello packet

* Update mod.rs

* add more stuff to clientbound player chat packet

* ClientboundPlayerInfoUpdatePacket

* features enabled and container closed

* serverbound chat packets

* make it compile

* 22w43a

* ServerboundChatSessionUpdatePacket

* profile_public_key isn't Option anymore

* Update bitset.rs

* joining a server works

* fix entitydatavalue

* backtraces + fix clientbound chat message

* fix some warnings and add more ecomments

* 22w44a

* generate en_us.json

* add updating guide to codegen/readme

* fix some markdown

* update list of generated things

* metadata stuff

* Replace PJS generator mod with PixLyzer (#38)

* pixlizer extractor

* start working on shape extraction

* fix generating language

* fix pixlyzer shape generation

* use empty_shape

* generate blocks and shapes

* update pixlyzer dir

* Revert "update pixlyzer dir"

This reverts commit ee9a0e7a49.

* fix

* fix

* Revert "fix"

This reverts commit ad12ddcb00.

* fix

* detect pixlyzer fail

* fix pixlyzer

* 22w45a

* gen entities

* add async-trait dep

* update codegen/readme.md

* explain when rust_log should be used

* remove some unused code

* start fixing pixlyzer issues

* fix a thing in codegen

* almost fixed

* more progress towards 1.19.3

* 1.19.3-pre2

* fixes

* revert some hardcoded property names

* Delete clientbound_player_info_packet.rs

* handle 1.19.3 player info packets

* handle playerinforemove

* start updating to 1.19.3-rc1

* optional registries work

* fix some issues with 1.19.3

chat doesn't work yet

* aaaaaaaaaaaaaaaaa

* oh

* ignore unused shapes

* uncomment generate_blocks

* fix migrate

* 1.19.3-rc2

* fix clippy warnings

* 1.19.3-rc3

* split the azalea-buf macro into separate modules

* improve Recipe in protocol

* 1.19.3
2022-12-07 21:09:58 -06:00
mat
631ed63dbd
Swarm (#36)
* make azalea-pathfinder dir

* start writing d* lite impl

* more work on d* lite

* work more on implementing d* lite

* full d* lite impl

* updated edges

* add next() function

* add NoPathError

* why does dstar lite not work

* fix d* lite implementation

* make the test actually check the coords

* replace while loop with if statement

* fix clippy complaints

* make W only have to be PartialOrd

* fix PartialOrd issues

* implement mtd* lite

* add a test to mtd* lite

* remove normal d* lite

* make heuristic only take in one arg

* add `success` function

* Update README.md

* evil black magic to make .entity not need dimension

* start adding moves

* slightly improve the vec3/position situation

new macro that implements all the useful functions

* moves stuff

* make it compile

* update deps in az-pathfinder

* make it compile again

* more pathfinding stuff

* add Bot::look_at

* replace EntityMut and EntityRef with just Entity

* block pos pathfinding stuff

* rename movedirection to walkdirection

* execute path every tick

* advance path

* change az-pf version

* make azalea_client keep plugin state

* fix Plugins::get

* why does it think there is air

* start debugging incorrect air

* update some From methods to use rem_euclid

* start adding swarm

* fix deadlock

i still don't understand why it was happening but the solution was to keep the Client::player lock for shorter so it didn't overlap with the Client::dimension lock

* make lookat actually work probably

* fix going too fast

* Update main.rs

* make a thing immutable

* direction_looking_at

* fix rotations

* import swarm in an example

* fix stuff from merge

* remove azalea_pathfinder import

* delete azalea-pathfinder crate

already in azalea::pathfinder module

* swarms

* start working on shared dimensions

* Shared worlds work

* start adding Swarm::add_account

* add_account works

* change "client" to "bot" in some places

* Fix issues from merge

* Update world.rs

* add SwarmEvent::Disconnect(Account)

* almost add SwarmEvent::Chat and new plugin system

it panics rn

* make plugins have to provide the State associated type

* improve comments

* make fn build slightly cleaner

* fix SwarmEvent::Chat

* change a println in bot/main.rs

* Client::shutdown -> disconnect

* polish

fix clippy warnings + improve some docs a bit

* fix shared worlds*

*there's a bug that entities and bots will have their positions exaggerated because the relative movement packet is applied for every entity once per bot

* i am being trolled by rust

for some reason some stuff is really slow for literally no reason and it makes no sense i am going insane

* make world an RwLock again

* remove debug messages

* fix skipping event ticks

unfortunately now sending events is `.send().await?` instead of just `.send()`

* fix deadlock + warnings

* turns out my floor_mod impl was wrong

and i32::rem_euclid has the correct behavior LOL

* still errors with lots of bots

* make swarm iter & fix new chunks not loading

* improve docs

* start fixing tests

* fix all the tests

except the examples i don't know how to exclude them from the tests

* improve docs some more
2022-11-27 16:25:07 -06:00
mat
5a8f50950a chore: Release 2022-11-19 15:25:55 -06:00
mat
6eee543a33
Pathfinder (#25)
Pathfinding is very much not done, but it works enough and I want to get this merged.
TODO: fast replanning, goals that aren't a single node, falling moves (it should be able to play the dropper), parkour moves
2022-11-12 23:54:05 -06:00
mat
16d0cb734c change some dependencies 2022-11-11 23:10:38 -06:00
mat
44ab1ad6ef chore: Release 2022-10-30 14:04:11 -05:00
mat
889f742696 add "repository" field to all crates 2022-10-30 14:03:13 -05:00
Ubuntu
430501f6e1 (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
Ubuntu
46fbc4654c (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
mat
0f88e05a0c
Add chat function (#28)
* add Client::chat

* make the default bot do chat
2022-10-16 23:08:39 -05:00
mat
4cef62e8e4
Microsoft Authentication (#29)
* a

* try to do more work on auth signing (untested)

* well auth works when i remove the d= so

* auth stuff

* sessionserver stuff

* add auth in azalea-protocol/client

* caching*

refreshing microsoft auth tokens isn't implemented yet, also i haven't tested it

* how did i not notice that i had the code duplicated

* fix cache

* add refreshing msa token

* replace some printlns with log::trace

* auth works!

* Update main.rs

* fix clippy warnings
2022-10-16 22:54:54 -05:00
mat
e46577a214
Fix connection writer being locked (#23)
* Split connection struct in az-protocol

* az-client uses split conns

* fix errors

* add a convenience write_packet fn to az-client
2022-09-19 21:21:46 -05:00
mat
e9f88ce546 Publish everything* to crates.io
Except azalea-client since it's not ready yet
2022-09-05 10:36:48 -05:00
mat
2ea804401f Update my_benchmark.rs 2022-08-28 15:47:34 -05:00
mat
250432a3f4 decrypting benchmark 2022-08-28 15:10:50 -05:00
mat
b44f1c84de encryption benchmark & test 2022-08-28 15:08:43 -05:00
mat
aadf2de3cb
Merge pull request #8 from mat-1/1.19.1
Support 1.19.1. Signing stuff isn't implemented but auth isn't even in Azalea yet so that's fine.
2022-07-29 04:56:21 +00:00
mat
c0ca03204f 1.19.1-rc2 2022-07-21 20:04:33 -05:00
mat
ec0b6ec06c 1.19.1-pre4 2022-07-10 23:43:09 -05:00
mat
06e229a73e
typo fix 2022-07-07 14:25:34 -05:00