Skip to content

Commit

Permalink
improv: add recipeBookCategory override to BlockStateRecipe
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Dec 24, 2024
1 parent 1303bd6 commit 1bf7e9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ neogradle.subsystems.parchment.mappingsVersion=2024.07.28
mod_id=nitrogen_internals
mod_group=com.aetherteam.nitrogen
mod_name=Nitrogen
mod_version=1.2.1
mod_version=1.2.2
mod_license=Assets: All Rights Reserved; Code: LGPL-3.0
mod_url=https://github.com/The-Aether-Team/Nitrogen
mod_tracker=https://github.com/The-Aether-Team/Nitrogen/issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import com.aetherteam.nitrogen.recipe.input.BlockStateRecipeInput;
import net.minecraft.commands.CacheableFunction;
import net.minecraft.core.HolderLookup;
import net.minecraft.core.NonNullList;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.crafting.PlacementInfo;
import net.minecraft.world.item.crafting.Recipe;
import net.minecraft.world.item.crafting.RecipeBookCategory;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.state.BlockState;

Expand Down Expand Up @@ -48,4 +48,9 @@ default boolean isSpecial() {
default PlacementInfo placementInfo() {
return null;
}

@Override
default RecipeBookCategory recipeBookCategory() {
return null;
}
}

0 comments on commit 1bf7e9b

Please sign in to comment.