Commit graph

25 commits

Author SHA1 Message Date
blackfur aa35a0b617 Changed name to mcpi_api added some documentation 2021-03-28 19:52:48 +02:00
blackfur 05efd7143c Added .vscode to .gitignore, renamed Player function names, added setting function to Player 2021-03-26 17:46:02 +01:00
blackfur 2edfd26bb6 Changed import in base test 2021-03-25 18:53:01 +01:00
blackfur 9cdf2f6bf6 Added Player struct with implementation for get_player_pos() and set_player_pos(), added player() method on the Minecraft struct, added two tests base.rs for functions in the Minecraft struct and player.rs for functions in the Player struct 2021-03-21 16:56:19 +01:00
blackfur 2dad32ba4a Changed Vec3 to TileVec3 and added a Vec3 using f32 type, added ::from() and ::from_vector() to both of them, added get_player_pos() and set_player_pos() 2021-03-20 19:05:45 +01:00
blackfur d0f9743ad3 Added get_player_entity_ids() function 2021-03-18 12:00:11 +01:00
blackfur b1b6f9ae0a Added get_blocks_with_data() function 2021-03-15 08:29:47 +01:00
blackfur 13977d9da0 Added get_blocks() function 2021-03-11 12:07:02 +01:00
BuildTools fb8e52ade1 Removed a lot of possible panics 2021-03-09 11:44:49 +01:00
BuildTools 17828b760a Fixed save_checkpoint() and restore_checkpoint() functions 2021-03-09 11:41:23 +01:00
blackfur 7bf7cb57d3 Update rust.yml 2021-03-04 13:05:21 +01:00
blackfur 872b4ab424 Create rust.yml 2021-03-04 13:03:29 +01:00
blackfur f9d426b201 Create README.md 2021-02-12 09:49:54 +01:00
blackfur c10153260a Added setting() function 2021-02-11 18:01:01 +01:00
blackfur 204ce8d58c Added checkpoint function but as they don't seem to work they're inaccessible 2021-02-11 17:52:13 +01:00
blackfur 1e169d457e Added get_height() function 2021-02-11 17:33:54 +01:00
blackfur d149fb63f8 Added set_blocks() function 2021-02-11 17:29:02 +01:00
blackfur 60ee2098b4 Changed return type of get_block() and get_block_with_data() functions to u8's 2021-02-11 17:21:28 +01:00
blackfur 609a5ecf6e Fixed Vec3 arguments being private 2021-02-10 19:32:28 +01:00
blackfur be693778e2 Added set_block() function 2021-02-10 17:55:23 +01:00
blackfur abe2635e39 Added get_block_with_data() function + changed some internal handeling 2021-02-10 17:20:21 +01:00
blackfur 4c82ec1950 Added receive() and send_receive functions for Connection struct + added get_block() function for Minecraft struct 2021-02-10 16:53:36 +01:00
blackfur 4637b9e524 Delete .gitignore 2021-02-09 12:30:59 +01:00
blackfur 97cec04999 Added basic structure and post_to_chat() function 2021-02-09 12:30:20 +01:00
blackfur 0299f3b711 Default Setup 2021-02-05 18:07:06 +01:00