bedrock-viewer

1.0.4 • Public • Published

bedrock-viewer

[!IMPORTANT] This is a fork of https://github.com/PrismarineJS/prismarine-viewer

[!IMPORTANT] This was made to work with BedrockRat so you may need to add more stuff than just whats in the example.

Instal

  npm i bedrock-viewer

Example

const {createClient} = require('bedrock-protocol')
const bedrockViewer = require('bedrock-viewer').bedrock

const client = createClient({
  host: '0.0.0.0',
  port: 19132,
  offline: true,
  username: "Bedrock-Viewer",
  version: '1.20.61',
  skipPing: true
})

client.once("spawn", () => {
    bedrockViewer(client, {port: 3000});
})

Readme

Keywords

none

Package Sidebar

Install

npm i bedrock-viewer

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

64.9 MB

Total Files

5047

Last publish

Collaborators

  • bonanoo