Skip to content

Commit

Permalink
✨ JEI woodworking integration
Browse files Browse the repository at this point in the history
Signed-off-by: LocusAzzurro <[email protected]>
  • Loading branch information
LocusAzzurro committed Oct 28, 2023
1 parent ef12f08 commit 71e20e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ public RecipeType<WoodworkingRecipe> getRecipeType() {
return WOODWORKING_RECIPE_TYPE;
}

@Override
public boolean isHandled(WoodworkingRecipe recipe) {
return !recipe.isSpecial();
}

@Override
public void setRecipe(IRecipeLayoutBuilder builder, WoodworkingRecipe recipe, IFocusGroup focuses) {
builder.addSlot(RecipeIngredientRole.INPUT, 1, 9)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.voxelutopia.ultramarine.Ultramarine;
import com.voxelutopia.ultramarine.data.registry.RecipeSerializerRegistry;
import com.voxelutopia.ultramarine.data.registry.RecipeTypeRegistry;
import net.minecraft.core.NonNullList;
import net.minecraft.network.FriendlyByteBuf;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.util.GsonHelper;
Expand All @@ -14,6 +15,7 @@
import net.minecraftforge.registries.ForgeRegistries;

import javax.annotation.Nullable;
import java.util.List;

public class WoodworkingRecipe extends SingleItemRecipe {

Expand Down Expand Up @@ -48,11 +50,6 @@ public ItemStack getResultItem() {
return result.copy();
}

@Override
public boolean isSpecial() {
return true;
}

@Override
public ResourceLocation getId() {
return id;
Expand Down

0 comments on commit 71e20e7

Please sign in to comment.