Tool for villager enchantment trading
This is a tool for villager enchantment trading which shows the best price and best enchants for gear.
It is a web app that runs in the browser. It is written in HTML, CSS, and JavaScript.
- Open the website.
- Search the enchantment / category (WIP).
- Or scroll the website and open any of the categories.
Larger changes(html, css, js)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
)
- Commit your changes (
git commit -am 'Add some feature'
)
- Push to the branch (
git push origin my-new-feature
)
- Create new Pull Request
- Edit the json file in the browser.
- Or fork the repo, edit the json file, and create a pull request.
{
"icon": "ICON_TYPE",
"title": "TITLE_FOR_DISPLAY",
"enchant":{
"name": "ENCHANTMENT_NAME",
"lvl": ENCHANTMENT_LEVEL,
"cost": ENCANTMENT_COST_IN_EMERALDS
}
}
{
"icon": "rod",
"title": "Best fishing rod",
"enchant": {
"name": "Lure",
"lvl": 3,
"cost": 12
}
}
You can add more enchant to the same category by using the same title.
{
"icon": "rod",
"title": "Best fishing rod",
"enchant": {
"name": "Lure",
"lvl": 3,
"cost": 12
}
},
{
"icon": "rod",
"title": "Best fishing rod",
"enchant": {
"name": "Mending",
"lvl": 0,
"cost": 14
}
}
ENCHANTMENT |
LEVEL |
RETURN VALUE |
Protection |
1 |
1 |
Protection |
0 |
Will display nothing e.g Mending doesnt have a level |
ENCHANTMENT |
COST |
RETURN VALUE |
Protection |
1 |
1 |
Protection |
>=0 |
Will display ' ? ' e.g the cost is not know yet |
ICON-TYPE |
ICON |
CSS CLASS |
helmet |
|
.helmet |
platebody |
|
.platebody |
leggings |
|
.leggings |
boots |
|
.boots |
bow |
|
.bow |
crossbow |
|
.crossbow |
trident |
|
.trident |
rod |
|
.rod |
misc |
|
.misc |
sword |
|
.sword |
tools |
|
.tools |
MIT