use of net.dries007.tfc.common.capabilities.forge.Forging in project TerraFirmaCraft by TerraFirmaCraft.
the class AnvilPlanButton method getRecipe.
@Nullable
private AnvilRecipe getRecipe() {
final Level level = anvil.getLevel();
final Forging forging = anvil.getMainInputForging();
if (level != null && forging != null) {
return forging.getRecipe(level);
}
return null;
}