在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):PrismarineJS/node-minecraft-protocol-forge开源软件地址(OpenSource Url):https://github.com/PrismarineJS/node-minecraft-protocol-forge开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):minecraft-protocol-forgeAdds FML/Forge support to node-minecraft-protocol (requires 0.17+) Features
UsageInstallable as a plugin for use with node-minecraft-protocol: var mc = require('minecraft-protocol');
var forgeHandshake = require('minecraft-protocol-forge').forgeHandshake;
var client = mc.createClient({
host: host,
port: port,
username: username,
password: password
});
forgeHandshake(client, {forgeMods: [
{ modid: 'mcp', version: '9.18' },
{ modid: 'FML', version: '8.0.99.99' },
{ modid: 'Forge', version: '11.15.0.1715' },
{ modid: 'IronChest', version: '6.0.121.768' }
]}); The To automatically present the list of mods offered by the server, the var mc = require('minecraft-protocol');
var autoVersionForge = require('minecraft-protocol-forge').autoVersionForge;
var client = mc.createClient({
version: false,
host: host,
port: port,
username: username,
password: password
});
autoVersionForge(client); This will automatically install the Example
Installation
DebuggingYou can enable some protocol debugging output using NODE_DEBUG="minecraft-protocol-forge" node [...] HistorySee PrismarineJS/node-minecraft-protocol#326 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论