Fixes #981
This commit is contained in:
parent
26c208e811
commit
d126edaa1b
2 changed files with 13 additions and 0 deletions
src/main/java/techreborn/api/recipe/machines
|
@ -25,9 +25,11 @@
|
|||
package techreborn.api.recipe.machines;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import techreborn.api.Reference;
|
||||
import techreborn.api.recipe.BaseRecipe;
|
||||
import techreborn.tiles.multiblock.TileIndustrialGrinder;
|
||||
|
||||
public class IndustrialGrinderRecipe extends BaseRecipe {
|
||||
|
||||
|
@ -65,4 +67,12 @@ public class IndustrialGrinderRecipe extends BaseRecipe {
|
|||
public boolean useOreDic() {
|
||||
return useOreDic;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canCraft(TileEntity tile) {
|
||||
if(tile instanceof TileIndustrialGrinder){
|
||||
return ((TileIndustrialGrinder) tile).getMutliBlock();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue