
Initial publishing of the 1.16.3 branch of the mod. A lot of systems are missing (such as Rituals and Living Armour), but enough is present for a decent Alpha release.
20 lines
No EOL
464 B
Java
20 lines
No EOL
464 B
Java
package wayoftime.bloodmagic.common.data.recipe;
|
|
|
|
import net.minecraft.advancements.ICriterionInstance;
|
|
|
|
public class RecipeCriterion
|
|
{
|
|
public final String name;
|
|
public final ICriterionInstance criterion;
|
|
|
|
private RecipeCriterion(String name, ICriterionInstance criterion)
|
|
{
|
|
this.name = name;
|
|
this.criterion = criterion;
|
|
}
|
|
|
|
public static RecipeCriterion of(String name, ICriterionInstance criterion)
|
|
{
|
|
return new RecipeCriterion(name, criterion);
|
|
}
|
|
} |