Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
Make tools enchantable
Browse files Browse the repository at this point in the history
  • Loading branch information
SquidDev committed Jul 7, 2023
1 parent 1e5cc07 commit 399948e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,40 @@
"item": "minecraft:netherite_axe",
"adjective": "upgrade.minecraft.diamond_axe.adjective",
"damageMultiplier": 6,
"allowEnchantments": True,
"consumeDurability": "when_enchanted",
},
"minecraft:netherite_pickaxe": {
"type": "computercraft:tool",
"item": "minecraft:netherite_pickaxe",
"adjective": "upgrade.minecraft.diamond_pickaxe.adjective",
"allowEnchantments": True,
"consumeDurability": "when_enchanted",
},
"minecraft:netherite_hoe": {
"type": "computercraft:tool",
"item": "minecraft:netherite_hoe",
"adjective": "upgrade.minecraft.diamond_hoe.adjective",
"breakable": "computercraft:turtle_hoe_harvestable",
"allowEnchantments": True,
"consumeDurability": "when_enchanted",
},
"minecraft:netherite_shovel": {
"type": "computercraft:tool",
"item": "minecraft:netherite_shovel",
"adjective": "upgrade.minecraft.diamond_shovel.adjective",
"breakable": "computercraft:turtle_shovel_harvestable",
"allowEnchantments": True,
"consumeDurability": "when_enchanted",
},
"minecraft:netherite_sword": {
"type": "computercraft:tool",
"item": "minecraft:netherite_sword",
"adjective": "upgrade.minecraft.diamond_sword.adjective",
"breakable": "computercraft:turtle_sword_harvestable",
"damageMultiplier": 9,
"allowEnchantments": True,
"consumeDurability": "when_enchanted",
},
}

Expand Down
2 changes: 1 addition & 1 deletion pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 9,
"pack_format": 12,
"description": "Netherite tools for ComputerCraft"
}
}

0 comments on commit 399948e

Please sign in to comment.