开源软件名称(OpenSource Name):PrismarineJS/node-minecraft-data开源软件地址(OpenSource Url):https://github.com/PrismarineJS/node-minecraft-data开源编程语言(OpenSource Language):JavaScript 95.4%开源软件介绍(OpenSource Introduction):node-minecraft-data
The objective of this module is to make easier to look for information in FeaturesThis package allows the lookup of blocks, items, entities, etc. by name, id, etc., and for the easy lookup of other data. Exampleconst minecraftData = require('minecraft-data')
// or for es6: import minecraftData from 'minecraft-data';
const mcData = minecraftData('1.19')
console.log(mcData.blocksByName['stone']) // Information for "Stone"
console.log(mcData.windows['minecraft:brewing_stand']) // Information for the "Brewing Stand" GUI
console.log(mcData.version) // Information about the current version
console.log(mcData.effectsByName['Haste']) // Information for the "Haste" effect Documentation
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论