-
-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
Description
This is my code:
const mcData = require('minecraft-data')('1.16.4');
const Chunk = require('prismarine-chunk')('1.16.4');
const Block = require('prismarine-block')('1.16.4');
const Vec3 = require('vec3');
const chunk = new Chunk();
// Colocar un bloque de bedrock en (0,0,0)
chunk.setBlock(new Vec3(0, 0, 0), 1);
const block = chunk.getBlock(new Vec3(0, 0, 0));
console.log('Bloque en (0,0,0):', block.name, block.stateId);This is the error:
C:\Users\usuario\Pictures\server.mc.js>node server.js
Bloque en (0,0,0): air 0
C:\Users\usuario\Pictures\server.mc.js>
I expect get the number of the id which i placed it. Its possible? Thanks anyway!