boolean function ( ItemStack arg0 ) { if ( arg0 == null || arg0 . getMaxStackSize ( ) != 1 || arg0 . stackSize != 1 ) return false ; for ( IBrewingRecipe loc0 : recipes ) { if ( loc0 . isInput ( arg0 ) ) { return true ; } } return false ; }
returns true if the passed itemstack is a valid input for any of the recipes in the registry . concode_field_sep List<IBrewingRecipe> recipes concode_field_sep boolean addRecipe concode_elem_sep boolean addRecipe concode_elem_sep boolean addRecipe concode_elem_sep void brewPotions concode_elem_sep boolean hasOutput concode_elem_sep boolean isValidIngredient concode_elem_sep boolean canBrew concode_elem_sep List<IBrewingRecipe> getRecipes concode_elem_sep ItemStack getOutput