Skip to content

Commit

Permalink
fix: allow using custom recipe categories
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepalesque committed Jun 20, 2024
1 parent efe35c5 commit 01c343c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
org.gradle.debug=false

mod_version=1.0.73
mod_version=1.0.74

# Mod
mod_id=zenith
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.zepalesque.zenith.api.blockset;

import com.mojang.datafixers.util.Pair;
import net.minecraft.data.recipes.RecipeCategory;
import net.minecraft.tags.TagKey;
import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.item.CreativeModeTab;
Expand All @@ -25,9 +26,9 @@ public abstract class AbstractFlowerSet implements BlockSet {
protected abstract DeferredBlock<?> pot(DeferredRegister.Blocks registry, String id);
public abstract DeferredBlock<?> pot();

public abstract AbstractFlowerSet craftsInto(Supplier<? extends ItemLike> block, CraftingMatrix shape);
public abstract AbstractFlowerSet craftsInto(Supplier<? extends ItemLike> block, CraftingMatrix shape, RecipeCategory category);

public abstract AbstractFlowerSet craftsIntoShapeless(int ingredientCount, Supplier<? extends ItemLike> result, int resultCount);
public abstract AbstractFlowerSet craftsIntoShapeless(int ingredientCount, Supplier<? extends ItemLike> result, int resultCount, RecipeCategory category);

public abstract AbstractFlowerSet withFlowerTag(TagKey<Block> tag);

Expand Down

0 comments on commit 01c343c

Please sign in to comment.