{"id":24324589,"url":"https://github.com/ismaileke/bedrock-client","last_synced_at":"2025-10-28T22:32:23.137Z","repository":{"id":256718082,"uuid":"845976327","full_name":"ismaileke/bedrock-client","owner":"ismaileke","description":"Bedrock Client written in Rust.","archived":false,"fork":false,"pushed_at":"2025-07-03T20:53:22.000Z","size":386,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T21:25:01.019Z","etag":null,"topics":["bedrock","bedrock-client","bedrock-server","client","minecraft","minecraft-client","minecraft-server","protocol","raknet","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ismaileke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-22T09:47:45.000Z","updated_at":"2025-07-03T20:50:53.000Z","dependencies_parsed_at":"2024-09-12T17:47:43.780Z","dependency_job_id":"8e1ef787-3272-4669-ad40-9757edfb0d91","html_url":"https://github.com/ismaileke/bedrock-client","commit_stats":null,"previous_names":["ismaileke/raknet-client","ismaileke/bedrock-client"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ismaileke/bedrock-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fbedrock-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fbedrock-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fbedrock-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fbedrock-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ismaileke","download_url":"https://codeload.github.com/ismaileke/bedrock-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaileke%2Fbedrock-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269923015,"owners_count":24497027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bedrock","bedrock-client","bedrock-server","client","minecraft","minecraft-client","minecraft-server","protocol","raknet","rust"],"created_at":"2025-01-17T19:56:48.341Z","updated_at":"2025-10-28T22:32:23.127Z","avatar_url":"https://github.com/ismaileke.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🦀 Bedrock Client\n\n\u003cimg width=\"256\" height=\"256\" alt=\"logo\" src=\"https://github.com/user-attachments/assets/775e7f66-138c-4c0f-9565-d9b58a2f4afd\" /\u003e\n\n\n\n[![latest release](https://shields.io/github/v/release/ismaileke/bedrock-client)](https://github.com/ismaileke/bedrock-client/releases/latest)\n![GitHub License](https://img.shields.io/github/license/ismaileke/bedrock-client)\n![GitHub Downloads](https://img.shields.io/github/downloads/ismaileke/bedrock-client/total)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ismaileke/bedrock-client/rust.yml)\n\n\u003c/div\u003e\n\n## ⚙️ Demo\n\u003cdiv align=\"center\"\u003e\n\n![bedrock-client](https://github.com/user-attachments/assets/7de7d6ac-9235-45ad-a8ed-2a90514237d5)\n\n\u003c/div\u003e\n\n## 🧩 Usage\n\n📄Cargo.toml\n```css\n[dependencies]\nbedrock-client = { git = \"https://github.com/ismaileke/bedrock-client.git\", branch = \"master\" }\ntokio = \"1.47.1\"\n```\n\n\n📄main.rs\n```rust\nuse bedrock_client::client;\n\n#[tokio::main]\nasync fn main() {\n    let mut client = client::create(\n        \"127.0.0.1\".to_string(),    // target address\n        19132,                      // target port\n        \"1.21.100\".to_string(),     // client version\n        false,                      // debug mode\n        |code, url| {\n            // If you turn on debug, the login code and url will already appear in the console, but you can use this if you want to edit it yourself.\n            println!(\"You can log in with the code {} at {}\", code, url);\n        }\n    ).await.unwrap();\n\n    client.set_packet_callback(|packet_name, packet| {\n        println!(\"New packet received: {} Packet\", packet_name);\n        downcast_bedrock_packet!(packet, Text, |txt: \u0026Text| {\n                println!(\"Text Packet Message: {:?}\", txt.message);\n                println!(\"Text Parameters: {:?}\", txt.parameters);\n            })\n    });\n\n    client.set_block_callback(|block_coord, block_data| {\n        println!(\"-----------------------------\");\n        println!(\"Block coord: {:?}\", block_coord);\n        println!(\"Block name: {:?}\", block_data.get_string(\"name\"));\n    });\n\n    client.connect().expect(\"Target IP Connection Error\");\n}\n```\n\n\n\n\n\n\n\u003e [!NOTE]\n\u003e This project is mainly designed for [Abyssal Eclipse](https://github.com/ismaileke/abyssal-eclipse), but you can get ideas and develop something from the code I wrote.\n\u003e\n\u003e It is still in development. I can't develop the project because I don't have time. Access to the servers is generally successful. I need to create the Chunk system for [Abyssal Eclipse](https://github.com/ismaileke/abyssal-eclipse).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaileke%2Fbedrock-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismaileke%2Fbedrock-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaileke%2Fbedrock-client/lists"}