@ettoasa/minecraft-coord-converter
v1.0.1
Published
A simple program for Minecraft that convert the Overworld coords with the Nether one and viceversa.
Maintainers
Readme
Minecraft Coords Converter from Overworld to Nether and viceversa
How to Install it
npm install @ettoasa/minecraft-coord-converterPratical Example
Here's an example how the program works
const mcCoords = require('@ettoasa/minecraft-coord-converter');
// From Overworld to Nether
const overworldPos = { x: 1600, y: 64, z: -880 };
const netherPos = mcCoords.overworldToNether(overworldPos);
console.log(netherPos); // { x: 200, y: 64, z: -110 }
// from Nether to Overworld
const netherPortal = { x: 50, y: 70, z: 100 };
const overworldPortal = mcCoords.netherToOverworld(netherPortal);
console.log(overworldPortal); // { x: 400, y: 70, z: 800 }Licenza
MIT
