aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/lib.rs
AgeCommit message (Collapse)Author
2025-08-09clippymat
2025-08-05use same pi value as javamat
2025-08-04fix wrong float rounding in get_friction_influenced_speedmat
2025-07-24update movement code for 1.21.5 changesmat
fixes grim flags
2025-06-25fix invalid look directions on teleportmat
2025-06-16implement EntityHitResultmat
2025-06-11use owned instead of borrowed Vec3 moremat
2025-06-11add Client::attack_cooldown_remaining_ticksmat
2025-06-11take BlockPos instead of &BlockPos in all function argumentsmat
2025-06-03fix collisions bugsmat
2025-06-03sort entities_by by distance and improve some docsmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-05-10add StartUseItemEvent and improve code related to interactionsmat
2025-03-20add Event::Spawnmat
2025-03-20document Position defaultmat
2025-03-16Fluid physics fixes (#210)mat
* start fixing code related to fluid physics * implement force_solid for blocks * afk pool test
2025-02-24fix send_receivepacketevent running outside of game statemat
2025-02-22Refactor azalea-client (#205)mat
* start organizing packet_handling more by moving packet handlers into their own functions * finish writing all the handler functions for packets * use macro for generating match statement for packet handler functions * fix set_entity_data * update config state to also use handler functions * organize az-client file structure by moving things into plugins directory * fix merge issues
2025-02-22update to rust edition 2024mat
2025-02-01set player metadata on init instead of loginmat
2025-02-01add failing test_set_health_before_login testmat
2025-01-11codegen entity dimensionsmat
2025-01-10Fluid physics (#199)mat
* 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
2024-12-11Implement EntityPositionSync (#196)mat
* implement EntityPositionSync * fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
2024-12-05fix container_set_content, player_position, and recipe_book_remove packetsmat
2024-10-26group imports with rustfmtmat
2024-04-231.20.5 (#127)mat
* 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-02-26optimize physics a bit moremat
2024-02-24add Display for Vec3, add SimulationSet, and add EntityChunkPos componentmat
2024-02-24add some more convenience functionsmat
2024-02-24track entity rotationsmat
2023-12-10Climbing (#121)mat
* start implementing climbing * fix tests * fix bots running at lower tick rate
2023-10-12KnockbackEvent and rename Physics::delta to velocitymat
2023-10-10start adding mining to pathfindermat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-211.20.2 (#99)mat
* add configuration state * start updating to 23w31a * implement a bit more of 23w31a * chunk batching * start adding configuration state * ioasfhjgsd * almost works * configuration state mostly implemented * handle other packets in configuration state and fix keepalive * cleanup, fix warnings * 23w32a * fix some doctests * 23w33a * 23w35a * 1.20.2-pre2 * fix system conflicts * 1.20.2-pre4 * make tests compile * tests pass * 1.20.2-rc2 * 1.20.2 * Revert "1.20.2" This reverts commit dd152fd265332ead333c919e585ded6d609d7468. * didn't mean to commit that code --------- Co-authored-by: mat <git@matdoes.dev>
2023-09-14rename Local to LocalEntitymat
2023-09-10fix physics bugsmat
2023-08-25add failing test for that weird diagonal edge casemat
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2023-08-25add basic pathfinding testmat
2023-08-19raycasting not raytracingmat
2023-07-23clean up azalea-entity a littlemat
2023-07-15Attacking (#96)mat
* add Client::attack * partially implement attack cooldowns * attack speed modifiers * don't care clippy --------- Co-authored-by: mat <git@matdoes.dev>
2023-07-14Mining (#95)mat
* 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>
2022-08-29Physics (#11)mat
* Put physics module in azalea-entity * port aabb * add more stuff to PositionXYZ * azalea-physics * important collision things * more physics stuff * backup because i'm about to delete shapes * more shape stuff * CubeVoxelShape * no compile errors??? insane * impl VoxelShape for ArrayVoxelShape * Shapes stuff * collide_x but it doesn't work yet * binary_search * it compiles * Entity has bounding box * Update discrete_voxel_shape.rs * Entity::make_bounding_box * ok i'm about to merge az-entity and az-world might be a terrible idea which is why i'm committing first * ok so i moved entity to world * on_pos and move_entity compiles * add send_position * move collision stuff to collision module in az-physics * dimension is no longer an Option * start trying to do collision for the client * collision works :tada: * start adding palette resizing * get_and_set (pain) * it compiles but probably won't work * add a test * remove printlns * add more tests for palette stuff * ClientboundMoveVec3Packet -> ClientboundMoveEntityPosPacket i think i changed this on accident once * palette resizing works todo: remove the printlns * Remove printlns in palette.rs * fix issues from merge * fixes + work a bit more on physics * Better entities (#19) * well it compiles * add tests to entity storage * add suggestions in azalea-brigadier * this probably causes ub * fix brigadiersuggestions * get rid of entityid * test From<EntityMut> for EntityRef * don't mention other libraries since there's too many * fix warnings * do todos in brigadier suggestions * work on physics * more physics stuff * remove trait feature on az-block i think rust gets confused and compiles the macro without the feature * bump ahash * aes tests in az-crypto * optimize aes's deps * fix crashes * fix section_index for negative numbers and test * fix BlockPos protocol implementation * remove some debug prints * prepare to add ai_step * make ai step work * clippy
2022-06-24i hate mutexesmat
2022-06-24start adding movingmat
2022-06-23move_entity_with_deltamat
2022-06-23Fix everything so azalea-buf worksmat
2022-06-23azalea-bufmat