From dab9c42951f538530c3188e2059f9680765e553b Mon Sep 17 00:00:00 2001 From: Stijn Bannink Date: Wed, 1 Sep 2021 22:07:16 +0200 Subject: [PATCH] Update calculator.js --- dist/js/calculator.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 +}