Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1 Reed Rod to repair 5 Uses on Blowgun
- recipes.addShapeless
- (<weaponmod:blowgun>,
- [
- <weaponmod:blowgun:*>.marked("blowgun"), <customitems:reed_rod>
- ],
- function (output, ingredients, crafting)
- {
- #Get the damage value from the input pick and repair it somewhat, then set that damage to the given item
- return ingredients.blowgun.withDamage(max(0, ingredients.blowgun.damage - 5));
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment