@mcbe-dns-peer/client
v0.2.0
Published
MCBE Digitally Networked Storage schema-1 peer client (MCBE-IPC). Install mcbe-ipc from OmniacDev; enable the DNS host pack.
Downloads
22
Readme
DNS peer client
The client talks to Digitally Networked Storage when that pack is on the world. It does not require DNS: waitReady() is false if DNS is missing, and you keep using your own storage. If this addon is a DNS extension, you can still require the DNS pack yourself.
DNS does not run your machines. It connects them to a Machine Interface so items can move, and so you can receive power and talk to storage and autocraft.
Wiki — start with Installation (files, waitReady, world-load recipe).
Copy mcbe-ipc into your pack next to the client.
Drop-in JS (no bundler)
- Download
dns-peer-client.jsfrom mcbe-dns-peer-client Releases. - Put Omniac’s
mcbe-ipcmodule in the same folder, namedmcbe-ipc.js. The client imports./mcbe-ipc.js. - Import the client from your pack’s entry script.
import { createBedrockClient } from "./dns-peer-client.js";npm (bundlers)
npm install @mcbe-dns-peer/client mcbe-ipcimport { createBedrockClient } from "@mcbe-dns-peer/client/bedrock";const dns = createBedrockClient();
if (!(await dns.waitReady())) {
// DNS is off this world, or the packs don't match — keep your own storage
}