voxel / voxel-clientmc

Minecraft client using WebSockets and voxel-engine (voxel.js plugin)
57 stars 13 forks source link

Enable auto-version support including for Forge #24

Closed deathcap closed 8 years ago

deathcap commented 8 years ago

Rather than hardcoding a specific version, voxel-clientmc should try to support multiple (as feasible). Current status:

To enable most cross-version compatibility (barring implementation details), something like:

var autoVersionForge = require('minecraft-protocol-forge').autoVersionForge;
// create mineflayer bot with options:
    version: false,
});

autoVersionForge(client);

Forge support for game content (new blocks and items etc. from mods) could come later, but this would at least let the client connect to Forge supports instead of immediately getting kicked.