diff --git a/dist/js/calculator.js b/dist/js/calculator.js index 6c4e304..d38312a 100644 --- a/dist/js/calculator.js +++ b/dist/js/calculator.js @@ -1,6 +1,7 @@ //TODO Support more items const itemDamages = { - 'leather_boots': 64 + 'leather_boots': 64, + 'netherite_hoe': 2030 }; /** @@ -26,7 +27,7 @@ function toJSON(item, models) { //Default values json['parent'] = 'item/handheld'; json['textures'] = { - 'layer0': 'item/leather_boots' + 'layer0': 'item/' . item }; //Insert models @@ -55,4 +56,4 @@ function toJSON(item, models) { }; return JSON.stringify(json, null, 2); -} \ No newline at end of file +} diff --git a/index.html b/index.html index dbf1bc8..b2512d6 100644 --- a/index.html +++ b/index.html @@ -30,6 +30,7 @@