{"id":16009458,"url":"https://github.com/fwcd/swift-minecraft-pi","last_synced_at":"2026-03-03T09:08:35.232Z","repository":{"id":98826745,"uuid":"367770154","full_name":"fwcd/swift-minecraft-pi","owner":"fwcd","description":"Minecraft Pi Edition API Library for Swift","archived":false,"fork":false,"pushed_at":"2021-05-16T18:42:45.000Z","size":36,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T16:40:08.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/fwcd.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":"2021-05-16T02:37:48.000Z","updated_at":"2023-02-05T01:11:50.000Z","dependencies_parsed_at":"2023-05-25T16:30:20.062Z","dependency_job_id":null,"html_url":"https://github.com/fwcd/swift-minecraft-pi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fwcd/swift-minecraft-pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-minecraft-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-minecraft-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-minecraft-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-minecraft-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/swift-minecraft-pi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-minecraft-pi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30038671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T06:58:30.252Z","status":"ssl_error","status_checked_at":"2026-03-03T06:58:15.329Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-08T13:02:15.926Z","updated_at":"2026-03-03T09:08:35.227Z","avatar_url":"https://github.com/fwcd.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minecraft Pi API for Swift\n\n[![Build](https://github.com/fwcd/swift-minecraft-pi/actions/workflows/linux.yml/badge.svg)](https://github.com/fwcd/swift-minecraft-pi/actions/workflows/linux.yml)\n\nA small library that interfaces with the Minecraft Pi Edition API and lets you place blocks, query the player's position and more in the Minecraft world.\n\nIt also provides a great environment for learning how to program Swift on a Raspberry Pi.\n\n## Example\n\n```swift\nimport MinecraftPi\n\n// Connect to the running Minecraft Pi instance\nlet mc = try! Minecraft.connect()\n\n// Post a message to the in-game-chat\nmc.chat.post(\"Hello world!\")\n\n// Fetch the player's block position\nlet pos = mc.player.tile\n\n// Place a few blocks\nmc.world.setBlock(at: pos + Vec3(x: 10), to: .wood)\nmc.world.setBlocks(between: pos + Vec3(x: 11), and: pos + Vec3(x: 14, y: 1), to: .glass)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-minecraft-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Fswift-minecraft-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-minecraft-pi/lists"}