Tacz Js Wiki › Guides › Change Crafting Recipes for Guns and Ammunition
Change Crafting Recipes for Guns and Ammunition
Modifying Existing Recipes
KubeJS lets you alter how guns and ammunition are crafted. Access the recipe system through your server scripts and locate the TaCZ recipe handlers.
Editing Gun Recipes
For each gun you want to modify:
- Remove the default recipe: Use the removal function with the gun's ID
- Define new ingredients: Specify what materials players need
- Set the output: Confirm the crafted gun and quantity
- Add shaped or shapeless recipes: Choose whether ingredient placement matters
Customizing Ammunition Recipes
Ammunition recipes work similarly:
- Specify the bullet or cartridge type
- List required materials (metals, gunpowder, casings)
- Set output quantity per craft
- Adjust recipe complexity to match your balance goals
Applying Your Changes
Save your script and reload. Test crafting at a crafting table or workbench to confirm recipes work. Verify that the correct items are consumed and the right gun or ammo appears in the output. If recipes don't appear, check that your ingredient IDs match actual items in your modpack.