Added the recipes for Anointed Charges

No, it's not a new type of charge. Just the existing charges infused with the Anointments!
This commit is contained in:
WayofTime 2021-01-26 08:59:00 -05:00
parent bc84ca95a7
commit 2ce874d83c
15 changed files with 310 additions and 5 deletions

View file

@ -685,11 +685,16 @@ d4ee90b52934c7c530fb031dcf81d4f1ccb27a9b data/bloodmagic/recipes/soul_forge.json
8b64af8453c60b6b1ae55bd0dd1a68fe95e8ba19 data/bloodmagic/recipes/soulforge/commontartaricgem.json
659db62f8fb71c792b00d6409b1c9a2f1ca96048 data/bloodmagic/recipes/soulforge/corrosive_crystal_block.json
5ad148899ed46134ae0572b220736b9d38004980 data/bloodmagic/recipes/soulforge/deforester_charge.json
9490cde280a6a0cb1bc3851df135e1c4c10da36b data/bloodmagic/recipes/soulforge/deforester_charge_smelting.json
26d7fb7f868bcc96ce268adccead7207d5559afb data/bloodmagic/recipes/soulforge/deforester_charge_fortune_1.json
40ae097cd8b3c0dcd38f7032d928acdb71da13da data/bloodmagic/recipes/soulforge/deforester_charge_silk_touch.json
bd63ccb772c829a4a50df17f06a641353dc3b98e data/bloodmagic/recipes/soulforge/deforester_charge_smelting.json
2c90f1da43a79e61d2b6b09c012d08f53b133264 data/bloodmagic/recipes/soulforge/demon_crucible.json
bc4ad3b44720a3f7363ef53027b4aae35622e7c1 data/bloodmagic/recipes/soulforge/demon_crystallizer.json
759279a190f3bc74e162dedf0f5d311267e06fbc data/bloodmagic/recipes/soulforge/destructive_crystal_block.json
78f0e3dc5fa61d8f9c182a3608184f21925f79db data/bloodmagic/recipes/soulforge/fungal_charge.json
61003f9b47ae96e5bccd518d514ef2532ce6e028 data/bloodmagic/recipes/soulforge/fungal_charge_fortune_1.json
9f7efc88c863110e6253b8877eee93c2e6533090 data/bloodmagic/recipes/soulforge/fungal_charge_silk_touch.json
a625c60e99970a93cb188e17579bcb958890d7a9 data/bloodmagic/recipes/soulforge/fungal_charge_smelting.json
0b82d2354aaa635b4fe5514e4815298ee0dedf80 data/bloodmagic/recipes/soulforge/greatertartaricgem.json
d46b61779b3c8382862d4e66c3909a1241ecca18 data/bloodmagic/recipes/soulforge/lessertartaricgem.json
d6e06747c75fc06e708a15358911f1c63eee86b1 data/bloodmagic/recipes/soulforge/pettytartaricgem.json
@ -702,10 +707,16 @@ d6e06747c75fc06e708a15358911f1c63eee86b1 data/bloodmagic/recipes/soulforge/petty
6dcced40126f950b85f868aa04c77e90b71b69f2 data/bloodmagic/recipes/soulforge/sentientshovel.json
7e281841a2953c1284d332c2bbf75097f8128241 data/bloodmagic/recipes/soulforge/sentientsword.json
dc977e9d98fcba66fbcce3f6c31a746db5ed60f5 data/bloodmagic/recipes/soulforge/shaped_charge.json
865cac49dd9604f35577aa6cfd2756946b49b8b1 data/bloodmagic/recipes/soulforge/shaped_charge_fortune_1.json
83b9b038785f449e4948cf17f8fa35457c24a3cb data/bloodmagic/recipes/soulforge/shaped_charge_silk_touch.json
7417c0ad20f4c23a7fed958f658e6dc96720ec60 data/bloodmagic/recipes/soulforge/shaped_charge_smelting.json
c4102a1573e632d0b9f894353b0d522a51a7c65e data/bloodmagic/recipes/soulforge/steadfast_crystal_block.json
ed0875aaba76e013684b8ea2f8275d5563e90e98 data/bloodmagic/recipes/soulforge/throwing_dagger.json
aeca6c087f7add7eec25b7a5df2589a90e1daca9 data/bloodmagic/recipes/soulforge/throwing_dagger_syringe.json
b081dbc0865421df6a591366393ffdbceb205907 data/bloodmagic/recipes/soulforge/throwing_dagger_syringe.json
978033adf58e34fa317bcea448ac1ddf3f0cd69e data/bloodmagic/recipes/soulforge/vein_charge.json
a06bb2d29cfa5d9c38092e93196bed7f331bcc97 data/bloodmagic/recipes/soulforge/vein_charge_fortune_1.json
29a712f5e12e1702f6221c4c8918ba37299edd7c data/bloodmagic/recipes/soulforge/vein_charge_silk_touch.json
911023ba84eed7836875793a21c32a83755760d3 data/bloodmagic/recipes/soulforge/vein_charge_smelting.json
3aa852edda803a2225ebe53d2daa55bd46b0a1b9 data/bloodmagic/recipes/soulforge/vengeful_crystal_block.json
d7d993bb729284a5201c164ea81fbe1d8e4e4750 data/bloodmagic/recipes/weak_activation_crystal.json
cf63fdccec992f2cb36c72843791623463cecc44 data/bloodmagic/tags/items/arc/cuttingfluid.json

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:deforester_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"tag": "forge:dusts/redstone"
},
"input3": {
"tag": "forge:dusts/coal"
},
"output": {
"item": "bloodmagic:deforester_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:fortune\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:deforester_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:cobweb"
},
"input3": {
"tag": "forge:nuggets/gold"
},
"output": {
"item": "bloodmagic:deforester_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:silk_touch\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -3,6 +3,20 @@
"input0": {
"item": "bloodmagic:deforester_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:furnace"
},
"input3": [
{
"item": "minecraft:charcoal"
},
{
"item": "minecraft:coal"
}
],
"output": {
"item": "bloodmagic:deforester_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:smelting\"}]}}"

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:fungal_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"tag": "forge:dusts/redstone"
},
"input3": {
"tag": "forge:dusts/coal"
},
"output": {
"item": "bloodmagic:fungal_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:fortune\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:fungal_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:cobweb"
},
"input3": {
"tag": "forge:nuggets/gold"
},
"output": {
"item": "bloodmagic:fungal_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:silk_touch\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,26 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:fungal_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:furnace"
},
"input3": [
{
"item": "minecraft:charcoal"
},
{
"item": "minecraft:coal"
}
],
"output": {
"item": "bloodmagic:fungal_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:smelting\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:shaped_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"tag": "forge:dusts/redstone"
},
"input3": {
"tag": "forge:dusts/coal"
},
"output": {
"item": "bloodmagic:shaped_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:fortune\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:shaped_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:cobweb"
},
"input3": {
"tag": "forge:nuggets/gold"
},
"output": {
"item": "bloodmagic:shaped_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:silk_touch\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,26 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:shaped_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:furnace"
},
"input3": [
{
"item": "minecraft:charcoal"
},
{
"item": "minecraft:coal"
}
],
"output": {
"item": "bloodmagic:shaped_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:smelting\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -8,7 +8,7 @@
},
"output": {
"item": "bloodmagic:throwing_dagger_syringe",
"count": 16
"count": 8
},
"minimumDrain": 10.0,
"drain": 2.0

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:veinmine_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"tag": "forge:dusts/redstone"
},
"input3": {
"tag": "forge:dusts/coal"
},
"output": {
"item": "bloodmagic:veinmine_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:fortune\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,21 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:veinmine_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:cobweb"
},
"input3": {
"tag": "forge:nuggets/gold"
},
"output": {
"item": "bloodmagic:veinmine_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:silk_touch\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -0,0 +1,26 @@
{
"type": "bloodmagic:soulforge",
"input0": {
"item": "bloodmagic:veinmine_charge"
},
"input1": {
"tag": "forge:crops/nether_wart"
},
"input2": {
"item": "minecraft:furnace"
},
"input3": [
{
"item": "minecraft:charcoal"
},
{
"item": "minecraft:coal"
}
],
"output": {
"item": "bloodmagic:veinmine_charge",
"nbt": "{anointment_holder:{anointments:[{damage:1,max_damage:1,level:1,key:\"bloodmagic:smelting\"}]}}"
},
"minimumDrain": 60.0,
"drain": 1.0
}

View file

@ -55,9 +55,43 @@ public class TartaricForgeRecipeProvider implements ISubRecipeProvider
ItemStack stack = new ItemStack(BloodMagicBlocks.DEFORESTER_CHARGE.get());
AnointmentHolder smeltingHolder = new AnointmentHolder();
smeltingHolder.applyAnointment(stack, AnointmentRegistrar.ANOINTMENT_SMELTING.get(), new AnointmentData(1, 1, 1));
smeltingHolder.toItemStack(stack);
TartaricForgeRecipeBuilder.tartaricForge(stack, 60, 1, Ingredient.fromItems(BloodMagicItems.DEFORESTER_CHARGE_ITEM.get())).build(consumer, BloodMagic.rl(basePath + "deforester_charge_smelting"));
AnointmentHolder fortune1Holder = new AnointmentHolder();
fortune1Holder.applyAnointment(stack, AnointmentRegistrar.ANOINTMENT_FORTUNE.get(), new AnointmentData(1, 1, 1));
AnointmentHolder silkHolder = new AnointmentHolder();
silkHolder.applyAnointment(stack, AnointmentRegistrar.ANOINTMENT_SILK_TOUCH.get(), new AnointmentData(1, 1, 1));
// smeltingHolder.toItemStack(stack);
String[] suffixArray = new String[] { "_smelting", "_fortune_1", "_silk_touch" };
AnointmentHolder[] holderArray = new AnointmentHolder[] { smeltingHolder, fortune1Holder, silkHolder };
Ingredient[] firstIngredientArray = new Ingredient[] { Ingredient.fromTag(Tags.Items.CROPS_NETHER_WART),
Ingredient.fromTag(Tags.Items.CROPS_NETHER_WART), Ingredient.fromTag(Tags.Items.CROPS_NETHER_WART) };
Ingredient[] secondIngredientArray = new Ingredient[] { Ingredient.fromItems(Items.FURNACE),
Ingredient.fromTag(Tags.Items.DUSTS_REDSTONE), Ingredient.fromItems(Items.COBWEB) };
Ingredient[] thirdIngredientArray = new Ingredient[] { Ingredient.fromItems(Items.CHARCOAL, Items.COAL),
Ingredient.fromTag(BloodMagicTags.DUST_COAL), Ingredient.fromTag(Tags.Items.NUGGETS_GOLD) };
for (int i = 0; i < suffixArray.length; i++)
{
ItemStack deforesterStack = new ItemStack(BloodMagicBlocks.DEFORESTER_CHARGE.get());
ItemStack fungalStack = new ItemStack(BloodMagicBlocks.FUNGAL_CHARGE.get());
ItemStack shapedStack = new ItemStack(BloodMagicBlocks.SHAPED_CHARGE.get());
ItemStack veinStack = new ItemStack(BloodMagicBlocks.VEINMINE_CHARGE.get());
AnointmentHolder holder = holderArray[i];
holder.toItemStack(deforesterStack);
holder.toItemStack(fungalStack);
holder.toItemStack(shapedStack);
holder.toItemStack(veinStack);
TartaricForgeRecipeBuilder.tartaricForge(shapedStack, 60, 1, Ingredient.fromItems(BloodMagicItems.SHAPED_CHARGE_ITEM.get()), firstIngredientArray[i], secondIngredientArray[i], thirdIngredientArray[i]).build(consumer, BloodMagic.rl(basePath + "shaped_charge" + suffixArray[i]));
TartaricForgeRecipeBuilder.tartaricForge(deforesterStack, 60, 1, Ingredient.fromItems(BloodMagicItems.DEFORESTER_CHARGE_ITEM.get()), firstIngredientArray[i], secondIngredientArray[i], thirdIngredientArray[i]).build(consumer, BloodMagic.rl(basePath + "deforester_charge" + suffixArray[i]));
TartaricForgeRecipeBuilder.tartaricForge(veinStack, 60, 1, Ingredient.fromItems(BloodMagicItems.VEINMINE_CHARGE_ITEM.get()), firstIngredientArray[i], secondIngredientArray[i], thirdIngredientArray[i]).build(consumer, BloodMagic.rl(basePath + "vein_charge" + suffixArray[i]));
TartaricForgeRecipeBuilder.tartaricForge(fungalStack, 60, 1, Ingredient.fromItems(BloodMagicItems.FUNGAL_CHARGE_ITEM.get()), firstIngredientArray[i], secondIngredientArray[i], thirdIngredientArray[i]).build(consumer, BloodMagic.rl(basePath + "fungal_charge" + suffixArray[i]));
}
TartaricForgeRecipeBuilder.tartaricForge(new ItemStack(BloodMagicItems.THROWING_DAGGER.get(), 16), 32, 5, Ingredient.fromTag(Tags.Items.INGOTS_IRON), Ingredient.fromTag(Tags.Items.INGOTS_IRON), Ingredient.fromTag(Tags.Items.STRING)).build(consumer, BloodMagic.rl(basePath + "throwing_dagger"));
TartaricForgeRecipeBuilder.tartaricForge(new ItemStack(BloodMagicItems.THROWING_DAGGER_SYRINGE.get(), 8), 10, 2, Ingredient.fromTag(Tags.Items.STONE), Ingredient.fromTag(Tags.Items.GLASS)).build(consumer, BloodMagic.rl(basePath + "throwing_dagger_syringe"));