promotional bannermobile promotional banner

Sanctus

Church stuff, for Papists and such.
Back to Files
File namesanctus 0.2.jar
Uploader
arfinkarfink
Uploaded
Mar 30, 2018
Downloads
1.6K
Size
82.0 KB
File ID
2546599
Type
A
Alpha
Supported game versions
  • 1.12.2

What's new

Changes:

  • Aspergillum and Book of Blessing now have durability.

Note: since Curseforge will not allow me to upload a ZS file alongside the mod, please consider this as an example of a CraftTweaker script that will add recipes to these items. It will have to do until I can figure out how to make vanilla JSON recipes that support enchantments on output items.


//recipe file for Sanctus

import crafttweaker.enchantments.IEnchantment;
import crafttweaker.data.IData;
val book = <sanctus_mod:book_of_blessing>.anyDamage();

recipes.addShaped("water_stick", <sanctus_mod:aspergillum>.withTag({ench: [{lvl: 7, id: 17}], HideFlags: 2, AttributeModifiers: [{UUIDMost: 8055, UUIDLeast: 718025, Amount: 7, AttributeName: "generic.attackDamage", Operation: 0, Name: "generic.attackDamage"}]}), [[null, null, <sanctus_mod:holy_water>],[null, <minecraft:iron_ingot>, null], [<minecraft:iron_ingot>, null, null]]);
recipes.addShaped("sanctus_lamp", <sanctus_mod:sanctuary_lamp>, [[<minecraft:gold_nugget>, <minecraft:gold_ingot>, <minecraft:gold_nugget>],[<minecraft:stained_glass:14>, <minecraft:glowstone>, <minecraft:stained_glass:14>], [<minecraft:gold_nugget>, <minecraft:gold_ingot>, <minecraft:gold_nugget>]]);

recipes.addShapeless("holysalt", <sanctus_mod:salt>, [book.transformDamage(),<ore:dustSalt>]);

recipes.addShapeless("holywater", <sanctus_mod:holy_water>, [book.transformDamage(),<minecraft:potion>.withTag({Potion: "minecraft:water"})]);

recipes.addShapeless("host", <sanctus_mod:host>, [book.transformDamage(),<minecraft:bread>]);

recipes.addShaped("altar", <sanctus_mod:altar> * 4, [[<minecraft:wool>, <minecraft:wool>, <minecraft:wool>],[<minecraft:stonebrick>, <minecraft:wool:14>, <minecraft:stonebrick>], [<minecraft:stonebrick>, <minecraft:stonebrick>, <minecraft:stonebrick>]]);
recipes.addShaped("kneeler", <sanctus_mod:kneeler> * 4, [[null, null, <ore:plankWood>],[null, null, <ore:plankWood>], [<minecraft:wool:*>, <ore:slabWood>, <ore:plankWood>]]);
recipes.addShaped("tabernacle", <sanctus_mod:tabernacle>, [[<ore:nuggetGold>, <ore:ingotGold>, <ore:nuggetGold>],[<ore:ingotGold>, <ore:chest>, <ore:ingotGold>], [<ore:ingotGold>, <ore:plankWood>, <ore:ingotGold>]]);
recipes.addShapeless("bookofblessings", <sanctus_mod:book_of_blessing>, [<ore:dyeBlack>,<minecraft:book>,<ore:dyeRed>,<ore:ingotGold>,<minecraft:feather>]);

//File End

This mod has no additional files