BloodMagic/src/main/java/wayoftime/bloodmagic/common/data/recipe/RecipeCriterion.java
WayofTime d617911d7a Creation of 1.16.3 branch
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.
2020-10-24 08:59:04 -04:00

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);
}
}