aboutsummaryrefslogtreecommitdiff
path: root/azalea-core
AgeCommit message (Collapse)Author
2022-11-18Player List (#41)mat
* keep track of player list * send player update events
2022-11-15Rename "dimension" to "world" (#39)mat
* rename "dimension" to "world" * Update mod.rs
2022-11-12Pathfinder (#25)mat
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-10didn't cargo check lolUbuntu
2022-11-10fix another panic in bitsetUbuntu
2022-11-07fix edge case with clearing bitsetsmat
2022-11-06Entity metadata (#37)mat
* add example generated metadata.rs * metadata.rs codegen * add the files * add comment to top of metadata.rs * avoid clone * metadata * defaults * defaults * fix metadata readers and writers * fix bad bitmasks and ignore some clippy warnings in generated code * add set_index function to entity metadatas * applying metadata
2022-10-30chore: Releasemat
2022-10-30add "repository" field to all cratesmat
2022-10-27use variables directly in format stringsmat
thanks clippy we love you
2022-10-21work around rustc compilation errormat
2022-10-17(cargo-release) version 0.2.0Ubuntu
2022-10-17(cargo-release) version 0.2.0Ubuntu
2022-10-17(cargo-release) version 0.2.0Ubuntu
2022-10-17(cargo-release) version 0.2.0Ubuntu
2022-10-08handle SectionBlocksUpdate packetmat
2022-10-07Replace impl Read with Cursor<&[u8]> (#26)mat
* Start getting rid of Cursor * try to make the tests pass and fail * make the tests pass * remove unused uses * fix clippy warnings * fix potential OOM exploits * fix OOM in az-nbt * fix nbt benchmark * fix a test * start replacing it with Cursor<Vec<u8>> * wip * fix all the issues * fix all tests * fix nbt benchmark * fix warnings
2022-10-02All block shapes & collisions (#22)mat
* start adding shapes * add more collision stuff * DiscreteCubeMerger * more mergers * start adding BitSetDiscreteVoxelShape::join * i love rust :smiley: :smiley: :smiley: * r * IT COMPILES???? * fix warning * fix error * fix more clippy issues * add box_shape * more shape stuff * make DiscreteVoxelShape an enum * Update shape.rs * also make VoxelShape an enum * implement BitSet::clear * add more missing things * it compiles W * start block shape codegen * optimize shape codegen * make az-block/blocks.rs look better (broken) * almost new block macro * make the codegen not generate 'type' * try to fix * work more on the blocks macro * wait it compiles * fix clippy issues * shapes codegen works * well it's almost working * simplify some shape codegen * enum type names are correct * W it compiles * cargo check no longer warns * fix some clippy issues * start making it so the shape impl is on BlockStates * insane code * new impl compiles * fix wrong find_bits + TESTS PASS! * add a test for slab collision * fix clippy issues * ok rust * fix error that happens when on stairs * add test for top slabs * start adding join_is_not_empty * add more to join_is_not_empty * top slabs still don't work!! * x..=0 doesn't work in rust :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: * remove comment since i added more useful names * remove some printlns * fix walls in some configurations erroring * fix some warnings * change comment to \`\`\`ignore instead of \`\`\`no_run * players are .6 wide not .8 * fix clippy's complaints * i missed one clippy warning
2022-09-18start work on optimizing block macrosmat
2022-09-06remove debug printlnmat
2022-09-04remove some debug stuff and fix recipe packetmat
2022-09-02collision test passes???Ubuntu
2022-08-31test gravityUbuntu
2022-08-30make some stuff publishable on crates.iomat
2022-08-30clippyUbuntu
2022-08-29physics stuffmat
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-08-27Azalea registry (#20)mat
* make azalea-registry crate * add trait feature to az-block * registr * registry macro * impl Display for registry things * registries
2022-08-19shut up clippyUbuntu
2022-08-06Better errors (#14)mat
* make reading use thiserror * finish implementing all the error things * clippy warnings related to ok_or * fix some errors in other places * thiserror in more places * don't use closures in a couple places * errors in writing packet * rip backtraces * change some BufReadError::Custom to UnexpectedEnumVariant * Errors say what packet is bad * error on leftover data and fix it wasn't reading the properties for gameprofile
2022-07-31clippo the sequelmat
2022-06-25clippomat
2022-06-25Fix warningsmat
2022-06-25read_into -> read_frommat
yeah
2022-06-24start adding movingmat
2022-06-23move_entity_with_deltamat
2022-06-23Fix everything so azalea-buf worksmat
2022-06-23switch things to use azalea-bufmat
2022-06-23azalea-bufmat
2022-06-19Fix issues with entity pos conversion to block posmat
2022-06-19Improvements to azalea-world for entitiesmat
2022-06-18from<ClientboundAddEntityPacket> for Entitymat
2022-06-17EntityPosmat
2022-05-26Fixesmat
2022-05-14get_block_state worksmat
2022-05-14start adding get_block_statemat
2022-05-08add more stuffmat
2022-05-08Merge branch 'main' into chunk-decodingmat
2022-05-05random polishmat
2022-05-03more azalea-world stuffmat