Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Thepigcat76 committed Sep 8, 2024
1 parent 5a92027 commit 6e06dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public RecipesProvider(PackOutput pOutput, CompletableFuture<HolderLookup.Provid
@Override
protected void buildRecipes(@NotNull RecipeOutput pRecipeOutput) {
ItemTransformationRecipeBuilder.newRecipe(new ItemStack(MJItems.AQUARINE_STEEL.get(), 1))
.ingredients(new ItemStack(Items.IRON_INGOT, 1))
.ingredient(new ItemStack(Items.IRON_INGOT, 1))
.save(pRecipeOutput);

ItemTransformationRecipeBuilder.newRecipe(new ItemStack(Items.NETHERITE_INGOT, 1))
.ingredients(new ItemStack(Items.SNOWBALL, 1))
.ingredient(new ItemStack(Items.SNOWBALL, 1))
.save(pRecipeOutput);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.ArrayList;
import java.util.Arrays;

public class ItemTransformationRecipeBuilder implements RecipeBuilder {
@NotNull private IngredientWithCount ingredient;
@NotNull private final ItemStack result;
Expand Down Expand Up @@ -48,7 +45,7 @@ public ItemTransformationRecipeBuilder ingredient(ItemLike ingredient) {
return this;
}

public final ItemTransformationRecipeBuilder ingredients(TagKey<Item> item) {
public final ItemTransformationRecipeBuilder ingredient(TagKey<Item> item) {
this.ingredient = IngredientWithCount.fromItemTag(item);
return this;
}
Expand Down

0 comments on commit 6e06dc1

Please sign in to comment.