Quickly create custom Minecraft achievements for yourself. โจ
Choose the one you like among more than 100 icons. ๐ฏ
Usage โ
commonJS (const {} = require("module"))
const{ICONS, AchievementCreator }=require("mc-achievements");// this is not necessaryconst{ writeFileSync }=require("fs");AchievementCreator.create(ICONS.ironLeggings,"This is title!","This is content",).then((buffer)=>{/* Buffer of the achievement you created. Do whatever you want with buffer. In this example, we save buffer as a local file. */writeFileSync("./achievement.png",buffer);});
es6 (import {} from "module")
import{ICONS,AchievementCreator}from"mc-achievements";// this is not necessaryimport{writeFileSync}from"fs";AchievementCreator.create(ICONS.egg,"This is title!","This is content").then((buffer)=>{/* Buffer of the achievement you created. Do whatever you want with buffer. In this example, we save buffer as a local file. */writeFileSync("./achievement.png",buffer);},);
Contributing / Issues ๐
Feel free to open pull requests or issues ๐
Icons ๐ก
Use ICONS.icon_name to access icons (eg. ICONS.apple)