Merge pull request #3 from stijnb1234/added-netherite-hoe

Added netherite hoe
This commit is contained in:
Stijn Bannink 2021-09-01 22:07:29 +02:00 committed by GitHub
commit 3810cca9b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -30,6 +30,7 @@
<select class="form-control" id="item" name="item" required>
<option value="" selected>Select an item...</option>
<option value="leather_boots">Leather Boots</option>
<option value="netherite_hoe">Netherite Hoe</option>
</select>
</div>
<div id="formItems" style="display: none;">