https://github.com/williambl/blockblockdevice Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By company size + Enterprises + Small and medium teams + Startups By use case + DevSecOps + DevOps + CI/CD + View all use cases By industry + Healthcare + Financial services + Manufacturing + Government + View all industries View all solutions * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} williambl / blockblockdevice Public * Notifications You must be signed in to change notification settings * Fork 0 * Star 51 Create block devices on your computer backed by Redstone Memory License MIT license 51 stars 0 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights williambl/blockblockdevice main BranchesTags [ ] Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 15 Commits craftnbd craftnbd gradle/wrapper gradle/wrapper src/main src/main .gitignore .gitignore LICENSE LICENSE README.md README.md build.gradle build.gradle gradle.properties gradle.properties settings.gradle settings.gradle View all files Repository files navigation * README * MIT license Block Block Device Block Block Device is a Minecraft mod and NBDKit plugin which work together to allow you to create block devices on your computer which are backed by redstone in a Minecraft world. See the video: Video link Usage Requirements: * NBDKit * Minecraft 1.19.3 * Some way of connecting to NBD servers (e.g. nbd-client) Firstly, build and install the mod into your Minecraft game. This is the same procedure as any other Fabric mod. The mod requires Minecraft version 1.19.3. If playing multiplayer, the mod must be installed serverside. Start up the game, and enter a world. Next, run NBDKit with the python plugin, like so: $ nbdkit -f -v python ./craftnbd/craftnbd.py You can then connect with your NBD client: # nbd-client -d /dev/nbd0 On some systems, you may have to run modprobe nbd as root first. You will now have the Block Block device at /dev/nbd0. Mod Contents The mod exposes an HTTP server on port 8394, and allows reading and placing blocks in the Minecraft world through requests to this server. The mod contains a command, /generate_memory, to fill a chunk with 'memory cells'. The mod contains /encode_chunk and /decode_chunk commands to read and write memory from memory cells in chunks. About Create block devices on your computer backed by Redstone Memory Topics minecraft nbd nbdkit Resources Readme License MIT license Activity Stars 51 stars Watchers 1 watching Forks 0 forks Report repository Releases No releases published Packages 0 No packages published Languages * Java 87.7% * Python 12.3% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.