Esempio n. 1
0
 @Override
 public boolean matches(Object o) {
   IPlateRecipe r = (IPlateRecipe) o;
   return (r.useOvenRecipe() == isOvenRecipe)
       && (areEqualNull(r.getOutput(), output))
       && (areEqualNull(r.getInput(), input));
 }
Esempio n. 2
0
 private void logPlateRecipes() {
   for (IPlateRecipe recipe : RecipeRegisterManager.plateRecipe.getRecipeList()) {
     String o =
         "mods.amt.Plate.addRecipe("
             + getItemDeclaration(recipe.getOutput())
             + ", "
             + getItemDeclaration(recipe.getInput())
             + ", "
             + recipe.cookingTime()
             + ", ";
     if (recipe.useOvenRecipe()) {
       o += "true";
     } else {
       o += "false";
     }
     MineTweakerAPI.logCommand(o + ");");
   }
 }