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

116 commits

Author SHA1 Message Date
mat
415c0d873e fix CubeVoxelShape::find_index 2025-06-02 23:44:49 -09:00
mat
cc3e64a315 fix collisions bugs 2025-06-03 02:41:25 -06:00
mat
7517a207db rename the Block trait to BlockTrait to disambiguate with azalea_registry::Block 2025-06-03 06:11:26 +07:00
mat
d028d7c3e9 add basic support for getting biome ids in chunks 2025-06-02 07:45:26 +11:00
mat
0a7648ce48 add '@generated' to generated code 2025-05-30 18:09:44 -10:00
mat
ae4b1e85e6 fix clippy issues and improve formatting everywhere 2025-05-30 19:36:59 -08:00
mat
6a5a88700c fix offline-mode cert warnings and improve some docs 2025-05-09 15:00:12 -12:00
mat
e1d3b902ba add StartUseItemEvent and improve code related to interactions 2025-05-10 06:22:08 +03:30
mat
b3f65f9d4b drop dependency on pixlyzer and start using pumpkin extractor 2025-05-01 22:12:00 -08:45
mat
b3af8d73fa update to bevy 0.16 2025-04-25 01:10:03 -01:00
mat
2aa046c4b5 make BlockState::id private 2025-04-17 11:09:14 -09:30
mat
5272db8bb4 remove executable bit from files 2025-04-04 15:56:06 +00:00
mat
ef357fdf36
1.21.5 (#198)
* 25w02a

* move item_components codegen to a different module

* remove outdated test

* 25w03a

* start updating to 24w09b

* 1.21.5-pre2

* fix broken packets

* 1.21.5-rc2

* merge main

* delete unused acket_handling

* 1.21.5
2025-03-25 11:17:39 -05:00
mat
5c7332b469 add Event::Spawn 2025-03-20 03:30:57 +00:00
mat
ca2e0b3922 entity collisions 2025-03-16 19:01:31 +00:00
mat
b0bd992adc
Fluid physics fixes (#210)
* start fixing code related to fluid physics

* implement force_solid for blocks

* afk pool test
2025-03-16 13:41:17 -05:00
mat
f8130c3c92 minor memory usage optimizations 2025-02-23 03:10:21 +00:00
mat
34f53baf85 update to rust edition 2024 2025-02-22 23:01:54 +00:00
mat
53fca5faf4 fix errors when switching worlds 2025-01-21 23:53:11 +00:00
mat
aef29daad9 remove negative checks for box_shape 2025-01-20 05:49:13 +00:00
mat
608ccb8e54 fix panic on bot disconnect 2025-01-12 05:07:53 +00:00
mat
0d16f01571
Fluid physics (#199)
* start implementing fluid physics

* Initial implementation of fluid pushing

* different travel function in water

* bubble columns

* jumping in water

* cleanup

* change ultrawarm to be required

* fix for clippy
2025-01-10 16:45:27 -06:00
mat
ebaf5128fb better pathfinder debug messages 2024-12-28 01:48:25 +00:00
mat
5693191b57 implement fluid_shape 2024-12-27 12:35:25 +00:00
mat
04036b6e4a implement BlockState::outline_shape 2024-12-27 12:35:18 +00:00
mat
a477a84c6e exit get_block_state early if below the world 2024-12-23 01:31:17 +00:00
mat
e9136c9cbb
Implement EntityPositionSync (#196)
* implement EntityPositionSync

* fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
2024-12-11 19:51:12 -06:00
EightFactorial
6379035b85
Update Bevy and migrate to workspace dependencies and package attributes (#181)
* Use workspace `Cargo.toml` for dependencies and package atributes

* Fix a couple clippy warnings

* Update bevy, update build script, move deps to workspace, and fix clippy warnings

* Remove carrots from crate versions
The default behavior is the same

* Remove unused dependencies
Compiles and all tests pass, so it should be fine

* Update codegen to use `std::sync::LazyLock` instead of `once_cell::sync::Lazy`

* Update Bevy to `0.15.0-rc.3`
Surprisingly little needed to be changed

* Update to bevy 0.15.0

* Fix leftover merge issues

* Clarify the reason the swarm can't connect

* Fix duplicate lint, remove `log` dependency
2024-12-04 18:31:22 -06:00
mat
b71a7af53a
1.21.4 (#189)
* start updating to 1.21.4

* fix block codegen and stop using block data from burger

* 1.21.4-rc1

* 1.21.4
2024-12-03 14:42:23 -06:00
Shayne Hartford
ea5a1c1ec1
Add missing world border boolean to use item on packet in 1.21.2 (#192) 2024-11-30 18:05:35 -06:00
mat
08958c2278
Refactor azalea-protocol (#190)
* start updating to 1.21.4

* fix block codegen and stop using block data from burger

* rename packet related modules and structs to be simpler

* ItemSlot -> ItemStack for more consistency with mojmap

* .get() -> .into_packet()

* simplify declare_state_packets by removing packet ids

* rename read_from and write_into to azalea_read and azalea_write

* rename McBufReadable and McBufWritable to AzaleaRead and AzaleaWrite

* McBuf -> AzBuf

* remove most uses of into_variant

* update codegen and use resourcelocation names for packets

* implement #[limit(i)] attribute for AzBuf derive macro

* fixes for 1.21.4

* fix examples

* update some physics code and fix ChatType

* remove unused imports in codegen

* re-add some things to migrate.py and update +mc version numbers automatically

* downgrade to 1.21.3 lol
2024-11-27 19:31:40 -06:00
mat
0817382098 replace once_cell with std:;sync::LazyLock 2024-11-27 10:26:40 +00:00
mat
6b0fe5bf63 group imports with rustfmt 2024-10-26 05:29:26 +00:00
mat
40e4096d24
1.21.2 (#171)
* partially implement 24w35a

* start updating to 24w39a + itemcomponent codegen

* fix codegen and broken packets to finish updating to 24w39a :D

* update to 1.21.2 except for blocks

* update ServerboundPlayerInputPacket impl
2024-10-23 00:08:13 -05:00
mat
d5a281bf15 remove debug printlns 2024-08-19 19:44:15 +00:00
mat
73091d8f93 fix sometimes being able to mine blocks through walls 2024-08-15 01:25:11 +00:00
mat
ea64fba7f6
upgrade to simdnbt 0.6 (#160) 2024-07-05 00:45:45 -05:00
urisinger
f9c28ca5fa
make getting shapes faster (#149)
* supposed to make getting shapes faster

* why was this reversed

* forgot to run codegen

* don't panic when getting the shape for invalid block ids

---------

Co-authored-by: mat <git@matdoes.dev>
2024-05-22 21:08:15 -05:00
mat
8a1e1b7bb9 clippy 2024-04-20 04:03:03 +00:00
mat
8808ecef94 fix get_block_collisions panicking when starting in a non existent chunk 2024-04-18 19:52:13 -05:00
mat
4f288b1c03 optimize physics a bit more 2024-02-26 00:55:46 -06:00
mat
e47dee388e reduce allocations for collision detection 2024-02-25 22:31:56 -06:00
mat
018ab55bdb optimize physics 2024-02-25 16:53:08 -06:00
mat
038807e607 fix for hypixel limbo 2024-02-22 22:41:54 -06:00
mat
cfbfdd77b4 fix ping packet, explosion packet, and panic less 2024-01-08 00:12:54 -06:00
mat
a069ffe982 fix non-u8 gamemodes
love you wynncraft
2023-12-16 14:29:49 -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
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
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
4355e7f74b clippy 2023-12-03 20:31:36 -06:00