/Minecraft_data

A Minecraft NPM module who integrates some objects from Minecraft

Primary LanguageJavaScriptApache License 2.0Apache-2.0

MINECRAFT DATA

An NPM module that includes a library on all possible aspects of Minecraft, for public use and constantly updated.Some of the options are: mods, enchantments, effects, structures, biomes...

Programmed by Vera and helped by the Discord server team "Minecraft Español" (Link to the server)

STARTING

1- First of all, you need to install the package, like this:

npm i @veraa/minecraft-data

2- Import in your code the object constructor:

const MinecraftData = require("@veraa/minecraft-data");

3- The use of the constructor is this one:

const variable = new MinecraftData("language").function(anotherVariable);
  • "language" goes for the language you want to use: available ones are en (english), es (spanish) and fr (french)
  • .function() is the function you are looking for (for different functions, look at the docs, links below)
  • anotherVariable goes (if needed) for another variable (for example, if you need to look up after a mob through a name)

Documentation: