Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ModShapedRecipe extends ShapedRecipes
- {
- public ModShapedRecipe(int width, int height, ItemStack[] recipeItems, ItemStack output)
- {
- super(width, height, recipeItems, output);
- RecipeSorter.register("thedarkness:shaped", ModShapedRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
- }
- @Override
- public boolean matches(InventoryCrafting inv, World worldIn)
- {
- ReliquaryWorldData worldData = new ReliquaryWorldData();
- if(!worldData.isReliquaryCrafted() && super.matches(inv, worldIn))
- {
- return true;
- }
- else
- return super.matches(inv, worldIn);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement