Commit graph

1086 commits

Author SHA1 Message Date
mat
a069ffe982 fix non-u8 gamemodes
love you wynncraft
2023-12-16 14:29:49 -06:00
mat
92d33ad0a3 force user to reauth when refresh fails 2023-12-16 13:54:57 -06:00
mat
a960dba87d default to survival mode when GameMode is out of bounds 2023-12-16 13:39:45 -06:00
mat
9260892d44 fix bytes of packets not being logged in tracing 2023-12-16 13:28:22 -06:00
mat
dc26558415 clippy lint was renamed 2023-12-15 11:43:49 -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
59e140ddd6 seeded random in pathfinder bench 2023-12-13 23:25:46 -06:00
mat
cc0717f45e i didn't actually commit the code 2023-12-13 22:03:54 -06:00
mat
5b7ed4852c fix chunks incorrectly being forgotten sometimes
mojang WHY are chunk positions read z first and then x 😭
2023-12-13 22:02:53 -06:00
mat
da96a7663a mention join_delay in add_accounts docs 2023-12-11 23:31:57 -06:00
mat
929cb95db4 more reliable StopPathfindingEvent 2023-12-10 00:47:43 -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
f15f0325c0 add BlockState::property 2023-12-09 21:45:36 -06:00
mat
10ee7e147d fix typos in code with crate-ci/typos 2023-12-09 18:36:16 -06:00
mat
b9829149cb fix broken doc links 2023-12-09 18:34:00 -06:00
mat
31206701b9 add unit structs for every bool property 2023-12-09 18:32:13 -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
cbbb9b123e 1.20.4
lol
2023-12-07 11:34:18 -06:00
mat
98f2c54c26 use minecraft_folder_path 2023-12-06 23:23:18 -06:00
mat
3f341aa114 disable feaatures on azalea-chat by default and fix disabling simdnbt feature 2023-12-06 11:36:25 -06:00
mat
1369848c82 don't reference version number directly in docs 2023-12-05 11:24:01 -06:00
mat
c5b15c0293 put azalea_core::tick behind feature flag 2023-12-05 11:19:53 -06:00
mat
020dc434ff thanks cargo workspaces 2023-12-05 11:15:18 -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
53d7c1aa97 clippy 2023-12-05 11:04:36 -06:00
mat
f295a46b08 add 1.20.2 to readme 2023-12-05 11:01:28 -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
ea3e860012 make start return never 2023-12-05 10:55:20 -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
da4afa8ae3 simplify boilerplate in examples 2023-12-04 20:23:41 -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
cc976c6873 fix ClientBuilder erroring, maybe 2023-12-04 12:13:26 -06:00
mat
4355e7f74b clippy 2023-12-03 20:31:36 -06:00
mat
5910f9bdcf remove 'why' from readme and reword beginning of docs a little 2023-12-03 20:07:42 -06:00
mat
948c676271 make ClientBuilder use SwarmBuilder internally 2023-12-03 19:47:51 -06:00
mat
ac8bc3dad8 fix warning markdown in readme 2023-12-03 17:24:00 -06:00
mat
605bfcd6e8 link azalea-viaversion in readme 2023-12-03 16:59:07 -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
0713223e12 fix compile error when trace logs are enabled 2023-12-02 16:07:09 -06:00
mat
f052882123 make sure Startup system runs before any bots join 2023-12-02 16:06:42 -06:00
mat
34a4027010 change protocol_version to an i32 2023-12-02 15:49:54 -06:00
mat
1903dabe2c make address an Arc<RwLock> 2023-12-02 15:48:21 -06:00
mat
c898fa5921 fix writing nbt 2023-12-02 13:45:51 -06:00
mat
2b9b16d28f make address and resolved_address pub in Swarm 2023-12-01 23:18:25 -06:00