/
CrystalCoreRecipe.java
52 lines (40 loc) · 1.36 KB
/
CrystalCoreRecipe.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*******************************************************************************
* @author Reika Kalseki
*
* Copyright 2017
*
* All rights reserved.
* Distribution of the software in any form is only allowed with
* explicit, prior permission from the owner.
******************************************************************************/
package Reika.ChromatiCraft.Auxiliary.RecipeManagers.CastingRecipes.Items;
import net.minecraft.item.ItemStack;
import Reika.ChromatiCraft.Auxiliary.ChromaStacks;
import Reika.ChromatiCraft.Auxiliary.Interfaces.ShardGroupingRecipe;
import Reika.ChromatiCraft.Auxiliary.RecipeManagers.CastingRecipe.MultiBlockCastingRecipe;
public class CrystalCoreRecipe extends MultiBlockCastingRecipe implements ShardGroupingRecipe {
public CrystalCoreRecipe(ItemStack out, ItemStack main) {
super(out, main);
this.addAuxItem(ChromaStacks.primaryCluster, -2, 0);
this.addAuxItem(ChromaStacks.primaryCluster, 2, 0);
this.addAuxItem(ChromaStacks.secondaryCluster, 0, -2);
this.addAuxItem(ChromaStacks.secondaryCluster, 0, 2);
//this.addRune(color, rx, ry, rz);
}
@Override
public boolean canBeSimpleAutomated() {
return true;
}
@Override
public boolean canGiveDoubleOutput() {
return true;
}
@Override
public int getDuration() {
return 2*super.getDuration();
}
@Override
public int getNumberProduced() {
return 4;
}
}