mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-28 07:35:45 +00:00
Fix the bug that Forestry recipes cannot be processed correctly. (#13)
Co-authored-by: vfyjxf <[email protected]> Co-authored-by: vfyjxf <[email protected]>
This commit is contained in:
6 files changed
+16
-7
No files matched your search
@@ -4,15 +4,17 @@ import codechicken.nei.PositionedStack;
|
||||
import codechicken.nei.recipe.IRecipeHandler;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
public class ForestryRecipeProcessor implements IRecipeProcessor {
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public Set<String> getAllOverlayIdentifier() {
|
||||
return new HashSet<>(Arrays.asList(
|
||||
"forestry.bottler", "forestry.carpenter", "forestry.centrifuge", "forestry.fabricator", "forestry.fermenter", "forestry.moistener", "forestry.squeezer", "forestry.still"
|
||||
"forestry.bottler", "forestry.carpenter", "forestry.centrifuge", "forestry.fabricator", "forestry.fermenter", "forestry.moistener", "forestry.squeezer", "forestry.still",RecipeProcessor.NULL_IDENTIFIER
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class RecipeProcessor {
|
||||
|
||||
public static final String NULL_IDENTIFIER = "null";
|
||||
public static List<IRecipeProcessor> recipeProcessors = new ArrayList<>();
|
||||
|
||||
public static void init() {
|
||||
|
||||
Reference in new issue
Block a user